Blockchain data for AI agents via the Model Context Protocol
This URL is an MCP (Model Context Protocol) server. It is not meant to be opened in a browser — it's a programmatic API used by AI agents like Claude, Cursor, and VS Code to query Bitquery's blockchain data.
📖 Full installation guide: https://docs.bitquery.io/docs/usecases/MCP/
Buttons require the client to be installed. For Claude and ChatGPT, follow the manual steps below — they don't yet support deep-link install for custom connectors.
Once connected, you talk to your AI client in plain English and it picks the right MCP tool behind the scenes. Concrete examples that work today:
trending_tokens.pair_ohlcv.profitable_traders_by_token and trader_positions.trader_profile and trader_activity.find_tokens.execute_sql (paid plans).The full tool list, parameter shapes, and supported networks are returned by the server itself when your client calls tools/list — so the AI always sees the up-to-date catalog without you reading docs.
The underlying dataset is the same Bitquery you already know. The difference is the interface:
Install Bitquery as a custom connector in your AI client. No config file editing required.
https://mcp.bitquery.iohttps://mcp.bitquery.iohttps://mcp.bitquery.ioAdd a new MCP server with URL: https://mcp.bitquery.io
The recommended method is OAuth 2.1 — no manual token handling needed. On first connection, your AI client opens a browser to log in with your Bitquery account. Tokens are cached for ~30 days and refresh automatically.
For clients that can't perform the OAuth flow, or when you need to control token lifetime yourself, append your access token as a query parameter:
https://mcp.bitquery.io/?token=ory_at_xxxxxxxx...
Generate a token at account.bitquery.io (see how to generate API credentials). The token is validated on every request, so revoking it from your account immediately disables access.
Note: URL-embedded tokens appear in proxy access logs and may leak via shell history or referrers. Prefer the Authorization: Bearer header where the client supports it.
It is a hosted Model Context Protocol (MCP) server at https://mcp.bitquery.io that exposes Bitquery's on-chain blockchain data as MCP tools. AI agents like Claude, ChatGPT, Cursor, and VS Code can call these tools directly during a conversation, without you having to write GraphQL queries by hand.
Any client that supports remote MCP servers over Streamable HTTP. This includes Claude Desktop and Claude.ai (web, with Plus/Pro/Max), ChatGPT (Plus/Pro/Business with custom connectors enabled), Cursor, VS Code with MCP enabled, and custom agents built with the Anthropic or OpenAI SDKs.
The MCP server exposes Bitquery's full multi-chain dataset: Ethereum, Solana, Tron, BNB Chain, Base, Polygon, Arbitrum, and others. Tools cover token prices, OHLCV candles, trending tokens, top and profitable traders, trader profiles and positions, DEX pairs, and raw SQL access where the user has a paid plan.
Two methods are supported. OAuth 2.1 is recommended: the AI client opens a browser to your Bitquery account, you approve access, and tokens refresh automatically for ~30 days. For clients that can't run the OAuth flow, you can append a personal access token as a URL query parameter (?token=…). The token is validated on every call, so revoking it from your account immediately disables access.
The MCP server is built for AI agents. Instead of writing a GraphQL query, the agent picks an MCP tool (for example token_ohlcv or top_traders_by_token) and the server runs the underlying query on Bitquery for you. The data source is the same; the interface is conversational. Quotas, plans, and billing are shared with your regular Bitquery account.
There is a free tier inherited from your Bitquery account. Heavier workloads — high request rates, large historical scans, or execute_sql — require a paid Bitquery plan. The MCP server itself does not add a separate charge.