Bitquery (Web3 Blockchain GraphQL APIs)

Bitquery (Web3 Blockchain GraphQL APIs) MCP Connector for Claude

A+

Query real-time and historical blockchain data across 40+ chains including Ethereum, Solana, and Bitcoin using GraphQL.

3 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect to Bitquery to access comprehensive Web3 data through a unified GraphQL interface. This server allows your AI agent to fetch deep analytical insights from dozens of blockchains without needing individual node infrastructure.

What you can do

  • Historical Analysis (V1) — Query historical data across 40+ chains including Bitcoin, Tron, Polygon, and BNB. Perfect for auditing and long-term trend analysis.
  • Real-time Streaming (V2) — Access live data for EVM-compatible chains and Solana. Monitor transfers, smart contract calls, and events as they happen.
  • DEX & DeFi Insights — Use specialized cubes like DexTrades and DexTradesByTokens to track liquidity, trades, and token performance.
  • Smart Contract Inspection — Analyze Calls, Events, and Instructions to understand protocol interactions and internal transactions.
  • Token Management — Programmatically generate OAuth2 access tokens using your Client ID and Secret to maintain secure, automated connectivity.

How it works

  1. Subscribe to this server
  2. Enter your Bitquery Access Token (or generate one using your credentials)
  3. Start querying blockchain data directly from Claude, Cursor, or any MCP client

Who is this for?

  • Web3 Developers — Debug smart contract calls and verify on-chain events directly from your IDE.
  • Data Analysts — Perform cross-chain analysis and extract DeFi market metrics using natural language.
  • Security Researchers — Audit historical transactions and track fund movements across multiple protocols.
graphqlweb3ethereumsolanabitcoindefi-analyticson-chain-data

3 tools expose this connector's capabilities to your AI agent.

generate_token

The returned token should be used as the BITQUERY_ACCESS_TOKEN credential. Generate an OAuth2 access token using Client ID and Secret

query_v1

Provide a valid GraphQL query string. Execute a GraphQL query against Bitquery V1 Historical API

query_v2

Supports joins (e.g., joinCalls) and advanced filtering. Cubes include Transfers, Calls, Events, DexTrades, DexTradesByTokens, Instructions, BalanceUpdates. Execute a GraphQL query against Bitquery V2 Streaming API

See how to talk to your AI agent using Bitquery (Web3 Blockchain GraphQL APIs).

Execute a V1 query to get the last 5 blocks from the Bitcoin network.

I've retrieved the latest 5 Bitcoin blocks using `query_v1`. The most recent block height is 834291 with 3,421 transactions. Would you like to see the details of a specific block?

Use query_v2 to find the latest 10 DEX trades on Ethereum Mainnet.

Fetching real-time DEX trades via `query_v2`... I found 10 recent trades on Uniswap V3 and Curve. The largest trade was 45.2 ETH for USDC. Should I analyze the price impact of these trades?

Generate a new access token using my client ID 'cid_123' and secret 'sec_456'.

I have successfully generated a new OAuth2 token using `generate_token`. You can now use this Bearer token for your subsequent GraphQL queries. Remember to keep this token secure.

Use `query_v1` for historical data across 40+ legacy and non-EVM chains (like Bitcoin). Use `query_v2` for real-time streaming and advanced filtering on EVM chains and Solana, supporting complex joins like 'joinCalls'.

Related Connectors