4,000+ servers built on vurb.ts
Vinkius
Pydantic AISDK
Pydantic AI
The Graph (Web3 Indexing) MCP Server

Bring Web3
to Pydantic AI

Learn how to connect The Graph (Web3 Indexing) to Pydantic AI and start using 8 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Get Evm Historical BalancesGet Evm HoldersGet Evm SwapsGet Evm TransfersGet Svm HoldersGet Svm SwapsGet Svm TransfersQuery Subgraph

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
The Graph (Web3 Indexing)

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

  1. Subscribe to this server
  2. Enter your The Graph API Token, API URL, and optional API Key
  3. 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 historical balances

get_evm_holders

Get EVM token holders

get_evm_swaps

) for EVM chains. Get EVM DEX swaps

get_evm_transfers

Get EVM token transfers

get_svm_holders

Get SVM (Solana) token holders

get_svm_swaps

) for Solana. Get SVM (Solana) DEX swaps

get_svm_transfers

Get SVM (Solana) token transfers

query_subgraph

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

P
See it in action

The Graph (Web3 Indexing) in Pydantic AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

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.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

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.

The Graph (Web3 Indexing)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

The Vinkius Advantage

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.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

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.

02

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.

03

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.

04

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.

05

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.

06

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.

07

MCPServerHTTP not found

Update: pip install --upgrade pydantic-ai

Explore More MCP Servers

View all →