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 Vercel AI SDK?
The Vercel AI SDK gives every The Graph (Web3 Indexing) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 8 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same The Graph (Web3 Indexing) integration everywhere
- —
Built-in streaming UI primitives let you display The Graph (Web3 Indexing) tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
The Graph (Web3 Indexing) in Vercel AI SDK
The Graph (Web3 Indexing) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect The Graph (Web3 Indexing) to Vercel AI SDK 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 Vercel AI SDK
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 Vercel AI SDK 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 Vercel AI SDK
Every tool call from Vercel AI SDK 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 the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
BookingLive
17 toolsAutomate booking and order management via BookingLive — create orders, track statuses, and manage customer reservations directly from your AI agent.

Presenton
12 toolsAutomate presentation generation via Presenton — create AI slide decks and manage exports directly from any AI agent.

Rocket.Chat
10 toolsConnect your AI assistant to Rocket.Chat to seamlessly send messages, explore channels, manage directories, and orchestrate chat operations directly.

BrightHR
12 toolsSimplify people management with holiday tracking, shift scheduling, and absence management built for UK and ANZ businesses.
