Compatible with every major AI agent and IDE
What is the 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.
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.
How it works
- Subscribe to this server
- Enter your The Graph API Token, API URL, and optional API Key
- Start querying on-chain data from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Web3 Developers — debug smart contract events and verify on-chain state directly from your IDE
- Data Analysts — aggregate token holder distributions and DEX volume metrics for research
- DeFi Power Users — track wallet movements and liquidity pool swaps through natural language
Built-in capabilities (8)
Get EVM historical balances
Get EVM token holders
) for EVM chains. Get EVM DEX swaps
Get EVM token transfers
Get SVM (Solana) token holders
) for Solana. Get SVM (Solana) DEX swaps
Get SVM (Solana) token transfers
Requires THE_GRAPH_API_KEY. Query a subgraph using GraphQL
Why Pydantic AI?
Pydantic AI validates every The Graph (Web3 Indexing) tool response against typed schemas, catching data inconsistencies at build time. Connect 8 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your The Graph (Web3 Indexing) integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your The Graph (Web3 Indexing) connection logic from agent behavior for testable, maintainable code
The Graph (Web3 Indexing) in Pydantic AI
The Graph (Web3 Indexing) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect The Graph (Web3 Indexing) to Pydantic AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for The Graph (Web3 Indexing) in Pydantic AI
The The Graph (Web3 Indexing) 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. All 8 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Pydantic AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* 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
How Vinkius secures
The Graph (Web3 Indexing) for Pydantic AI
Every tool call from Pydantic AI to the The Graph (Web3 Indexing) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I query any specific subgraph if I have its ID?
Yes! Use the query_subgraph tool by providing the subgraph_id and your GraphQL query string. This allows for deep, custom data extraction beyond the standard tools.
Does this server support Solana token data?
Absolutely. You can use get_svm_transfers, get_svm_holders, and get_svm_swaps to interact with SPL tokens and decentralized exchanges on the Solana network.
Can I track historical balance changes for a specific wallet?
Yes, the get_evm_historical_balances tool provides historical balance data in OHLCV format for EVM chains, making it easy to analyze portfolio trends.
How does Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your The Graph (Web3 Indexing) MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
Ashby
10 toolsHire top talent faster with an all-in-one recruiting platform that combines ATS, scheduling, and hiring analytics.

Qichacha / 企查查
10 toolsLeading enterprise data platform in China — search companies, check industrial info, and monitor risks via AI.

GlobalGiving
12 toolsSearch nonprofit projects, track crowdfunding goals, and oversee global charities via AI agents with GlobalGiving.

CHATFLY
8 toolsManage AI chatbots and knowledge bases via CHATFLY — train bots on custom data and track conversations directly from any AI agent.
