Bitquery MCP server

Connect Bitquery to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Bitquery MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the get token transfers tool in Bitquery
  • Use the get dex trades tool in Bitquery
  • Use the get token holders tool in Bitquery
  • Use the get transactions tool in Bitquery
  • Use the get smart contract events tool in Bitquery
  • Use the get token balances tool in Bitquery

Supported Tools

get_token_transfers

Get Token Transfers

Retrieve token transfer data from EVM blockchains or Solana. Track ERC-20, ERC-721, ERC-1155, and SPL token movements with filters for token, sender, receiver, and time range. Use this to monitor wallet activity, track specific token movements, or analyze transfer patterns.

get_dex_trades

Get DEX Trades

Retrieve decentralized exchange (DEX) trade data from EVM blockchains or Solana. Query historical and recent trades filtered by token pair, DEX protocol, time range, and network. Supports major DEXs like Uniswap, PancakeSwap, Raydium, Jupiter, and more across Ethereum, BSC, Polygon, Arbitrum, Base, Solana, and other networks.

get_token_holders

Get Token Holders

Retrieve the top holders of a specific token on EVM blockchains or Solana. Returns current EVM holder rankings. Solana rankings cover net balance movements for tokens launched within the recent retention window. Use this for token distribution analysis, identifying whales, or tracking holder concentrations.

get_transactions

Get Transactions

Retrieve blockchain transactions from EVM chains or Solana. Filter by sender address, receiver address, or time range. Use this to audit wallet activity, monitor address transactions, or investigate specific blockchain activity.

get_smart_contract_events

Get Smart Contract Events

Retrieve decoded smart contract event logs from EVM blockchains. Bitquery automatically parses events using ABI data, returning structured event names and typed arguments. Use this to monitor contract activity, track specific events like Transfer, Swap, Approval, or any custom event emitted by a contract.

get_token_balance

Get Token Balances

Retrieve token balances for a wallet address on EVM blockchains or Solana. Returns current EVM token balances and the latest recently active Solana token-account balances. Use this to check portfolio holdings, verify wallet balances, or monitor address token positions.

get_token_price

Get Token Price

Retrieve token price and OHLC (Open, High, Low, Close) candle data from DEX trades. Returns aggregated price data for a token pair over specified time intervals. Useful for charting, price analysis, and building trading dashboards. Supports EVM chains and Solana.

execute_query

Execute GraphQL Query

Execute a custom GraphQL query against the Bitquery API. Supports the full Bitquery GraphQL schema for querying blockchain data across 40+ networks. Use this for advanced or custom queries not covered by the other tools. The query must be a valid Bitquery GraphQL query string.

Connect Bitquery to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Bitquery in Metorial. In your Metorial portal, enable the Bitquery MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Bitquery tools.

Run Bitquery through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Bitquery and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Bitquery tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Bitquery

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Technical notes for Bitquery

Query real-time and historical blockchain data across 40+ networks including Ethereum, Bitcoin, Solana, and Polygon using a unified GraphQL API. Retrieve DEX trades, token prices, OHLCV candle data, token transfers, wallet balances, NFT ownership and metadata, smart contract events and calls, mempool pending transactions, and liquidity pool data. Trace money flows across addresses and chains for compliance and forensic analysis using Coinpath®. Analyze token holder distributions, top holders, and distribution metrics.

Frequently asked questions

Common questions about connecting Bitquery to AI agents with Metorial.

  1. How many tools does the Bitquery MCP server have?
    The Bitquery MCP server exposes 8 tools, including Get Token Transfers, Get DEX Trades, Get Token Holders. Each one is governed and traced through Metorial.
  2. Bitquery exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Bitquery MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Bitquery and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Bitquery MCP server yourself or use the hosted gateway.

Connect Bitquery to production AI agents

See how Metorial gives your team governed access to Bitquery, with tracing and security controls built in.