The Graph (Web3 Indexing) MCP Server for LlamaIndexGive LlamaIndex instant access to 8 tools to Get Evm Historical Balances, Get Evm Holders, Get Evm Swaps, and more
LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add The Graph (Web3 Indexing) as an MCP tool provider through Vinkius and your agents can query, analyze, and act on live data alongside your existing indexes.
Ask AI about this MCP Server for LlamaIndex
The The Graph (Web3 Indexing) MCP Server for LlamaIndex is a standout in the Developer Tools category — giving your AI agent 8 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
mcp_client = BasicMCPClient("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
mcp_tool_spec = McpToolSpec(client=mcp_client)
tools = await mcp_tool_spec.to_tool_list_async()
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt=(
"You are an assistant with access to The Graph (Web3 Indexing). "
"You have 8 tools available."
),
)
response = await agent.run(
"What tools are available in The Graph (Web3 Indexing)?"
)
print(response)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About The Graph (Web3 Indexing) MCP Server
Connect to The Graph to index and retrieve real-time blockchain data across multiple ecosystems. This MCP server allows your AI agent to query decentralized data from Ethereum, Polygon, Solana, and more through standardized tools and custom GraphQL subgraphs.
LlamaIndex agents combine The Graph (Web3 Indexing) tool responses with indexed documents for comprehensive, grounded answers. Connect 8 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
What you can do
- EVM Data Access — Retrieve token transfers, top holders, and DEX swap events (Uniswap, Curve) for any EVM-compatible chain.
- Solana (SVM) Integration — Fetch SPL token transfers, holders, and AMM swaps (Jupiter, Raydium) directly from the Solana network.
- Historical Analysis — Access wallet balance changes in OHLCV format to track portfolio performance over time.
- Custom Subgraph Queries — Execute raw GraphQL queries against any specific subgraph ID for deep, specialized data extraction.
- Market Intelligence — Monitor liquidity pool activities and token distribution metrics without manual block explorer searching.
The The Graph (Web3 Indexing) MCP Server exposes 8 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 8 The Graph (Web3 Indexing) tools available for LlamaIndex
When LlamaIndex connects to The Graph (Web3 Indexing) through Vinkius, your AI agent gets direct access to every tool listed below — spanning web3, ethereum, solana, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get evm historical balances on The Graph (Web3 Indexing)
Get EVM historical balances
Get evm holders on The Graph (Web3 Indexing)
Get EVM token holders
Get evm swaps on The Graph (Web3 Indexing)
) for EVM chains. Get EVM DEX swaps
Get evm transfers on The Graph (Web3 Indexing)
Get EVM token transfers
Get svm holders on The Graph (Web3 Indexing)
Get SVM (Solana) token holders
Get svm swaps on The Graph (Web3 Indexing)
) for Solana. Get SVM (Solana) DEX swaps
Get svm transfers on The Graph (Web3 Indexing)
Get SVM (Solana) token transfers
Query subgraph on The Graph (Web3 Indexing)
Requires THE_GRAPH_API_KEY. Query a subgraph using GraphQL
Connect The Graph (Web3 Indexing) to LlamaIndex via MCP
Follow these steps to wire The Graph (Web3 Indexing) into LlamaIndex. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
pip install llama-index-tools-mcp llama-index-llms-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use LlamaIndex with the The Graph (Web3 Indexing) MCP Server
LlamaIndex provides unique advantages when paired with The Graph (Web3 Indexing) through the Model Context Protocol.
Data-first architecture: LlamaIndex agents combine The Graph (Web3 Indexing) tool responses with indexed documents for comprehensive, grounded answers
Query pipeline framework lets you chain The Graph (Web3 Indexing) tool calls with transformations, filters, and re-rankers in a typed pipeline
Multi-source reasoning: agents can query The Graph (Web3 Indexing), a vector store, and a SQL database in a single turn and synthesize results
Observability integrations show exactly what The Graph (Web3 Indexing) tools were called, what data was returned, and how it influenced the final answer
The Graph (Web3 Indexing) + LlamaIndex Use Cases
Practical scenarios where LlamaIndex combined with the The Graph (Web3 Indexing) MCP Server delivers measurable value.
Hybrid search: combine The Graph (Web3 Indexing) real-time data with embedded document indexes for answers that are both current and comprehensive
Data enrichment: query The Graph (Web3 Indexing) to augment indexed data with live information before generating user-facing responses
Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying The Graph (Web3 Indexing) for fresh data
Analytical workflows: chain The Graph (Web3 Indexing) queries with LlamaIndex's data connectors to build multi-source analytical reports
Example Prompts for The Graph (Web3 Indexing) in LlamaIndex
Ready-to-use prompts you can give your LlamaIndex agent to start working with The Graph (Web3 Indexing) immediately.
"Get the top 10 holders for the EVM token at 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9."
"Show me recent swaps for the Solana token DezXAZ8z7PnrnMcFWRSTQC8PGL9P8be3EFr9SptT5v7."
"Query the Uniswap V3 subgraph with ID 'ELUvFp... ' to get the latest pool prices."
Troubleshooting The Graph (Web3 Indexing) MCP Server with LlamaIndex
Common issues when connecting The Graph (Web3 Indexing) to LlamaIndex through Vinkius, and how to resolve them.
BasicMCPClient not found
pip install llama-index-tools-mcpThe Graph (Web3 Indexing) + LlamaIndex FAQ
Common questions about integrating The Graph (Web3 Indexing) MCP Server with LlamaIndex.
How does LlamaIndex connect to MCP servers?
Can I combine MCP tools with vector stores?
Does LlamaIndex support async MCP calls?
Explore More MCP Servers
View all →
Novu
39 toolsAutomate multi-channel notifications via Novu — trigger workflows, manage subscribers, and handle preferences directly from any AI agent.

Gatling
10 toolsManage load testing via Gatling Enterprise — list and start simulations, monitor test runs and request stats, and handle generator pools directly from any AI agent.

Gatus (Health Dashboard)
4 toolsMonitor infrastructure health via Gatus — list endpoints, check real-time status, and analyze performance metrics directly from any AI agent.

Snov.io
8 toolsEquip your AI agent with direct access to Snov.io — find emails, verify addresses, automate drip campaigns, and manage prospect lists without opening the Snov dashboard.
