How to connect Bitquery to Claude

Connect Claude Web, Desktop and Cowork to Bitquery MCP. Show real-time ethereum mempool transactions, count unique wallet addresses for solana, and more using natural language, with authentication handled for you.

Bitquery logoBitquery
Api Key

Bitquery is a blockchain data platform offering indexed, real-time, and historical data from 40+ blockchains via GraphQL APIs. Get unified, reliable access to complex on-chain data for analytics, trading, and research.

10 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Bitquery account to Claude via Composio Connect, enabling it to show real-time Ethereum mempool transactions, count unique wallet addresses for Solana, query historical Bitcoin transactions from 2021, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

Also integrate Bitquery with

Connecting Bitquery to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Bitquery account

Back in Claude, ask it to connect to Bitquery or give it any Bitquery-related task.

For example, ask Claude to:

  • "Show real-time Ethereum mempool transactions"
  • "Count unique wallet addresses for Solana"
  • "Query historical Bitcoin transactions from 2021"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Bitquery account is ready to use.

What is the Bitquery Claude Connector, and what's possible with it?

The Bitquery MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Bitquery account. It provides structured and secure access to blockchain datasets and real-time analytics, so your agent can perform actions like querying historical transactions, streaming mempool activity, selecting blockchain networks, and aggregating metrics across 40+ supported chains.

  • Seamless blockchain data querying: Let your agent run powerful queries on historical or real-time blockchain data across multiple networks using Bitquery's combined or archive databases.
  • Live mempool monitoring: Subscribe and stream pending transactions from EVM-compatible chains in real time, enabling instant insights into network activity as it happens.
  • On-demand network and database selection: Have your agent dynamically select blockchain networks and datasets—like Ethereum, BNB Chain, or others—to tailor queries for your specific use case.
  • Metric aggregation and analysis: Automate the aggregation of transaction counts, unique values, or conditional metrics, empowering your agent to analyze blockchain trends without manual intervention.
  • Advanced GraphQL customization: Use aliases and conditional snippets to refine data responses, ensuring clarity and precise control in complex blockchain analytics workflows.

Troubleshooting

1. Why does Claude not use the Composio connector for Bitquery?

The connector can show as connected, but Claude must use it in each Bitquery conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Bitquery again.

2. Why does Claude show an MCP server error before Bitquery connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Bitquery.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Bitquery.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Bitquery authorization link not work?

The Composio connector is one server. Your Bitquery account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Bitquery connection.
  • Composio creates a fresh Bitquery authorization link.
  • Open that link in your browser and finish the Bitquery sign-in.

4. Why do Bitquery actions fail after they worked before?

The Bitquery connection can expire or lose permission.

  • Ask Claude to inspect the Bitquery connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Bitquery account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Bitquery.
  • If the action still fails with a permission error, check that the connected account has that permission in Bitquery itself.

5. How do I switch to a different Bitquery account?

Claude can manage the Bitquery connection for you.

  • Ask Claude to disconnect or delete the current Bitquery account.
  • Ask Claude to connect Bitquery again.
  • Open the new Composio authorization link for Bitquery.
  • Sign in with the other Bitquery account in the browser.
  • After the account connects, ask Claude to retry the Bitquery task.

6. Why is my Bitquery connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Bitquery connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click and click Clear cache.
  • If Bitquery tools still do not appear, click , disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Bitquery.
TOOLS

Supported Tools

Every Bitquery action and event your agent gets out of the box.

Archive Database Query

Query the Bitquery Archive Database (V1 API) for historical blockchain data.

Combined Database Query

Query Bitquery's Combined Database (v2 API) for blockchain data across 40+ networks.

Conditional Metrics Snippet

Generate a Bitquery GraphQL metric snippet with conditional logic using the 'if:' attribute.

Database Selection

Tool to select the database (archive, realtime, combined) to query at the top level of a GraphQL request.

Early Access Program Query

Execute GraphQL queries against the Bitquery Early Access Program (EAP) Streaming API.

Network Selection

Tool to select the blockchain network for GraphQL queries.

Options Query

Tool to fetch GraphQL dataset options via schema introspection.

Price Asymmetry Metric

Tool to generate GraphQL PriceAsymmetry filter snippet.

Realtime Database Query

Query the Bitquery Streaming (V2) API for realtime blockchain data.

Select By Metric

Tool to generate a GraphQL metric snippet filtering by its value using selectWhere.

FAQ

Frequently asked questions

With a standalone Bitquery MCP server, the agents and LLMs can only access a fixed set of Bitquery tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Bitquery and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Bitquery tools.

Yes, absolutely. You can configure which Bitquery scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Bitquery data and credentials are handled as safely as possible.

Start with Bitquery.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Bitquery tool your agent needs.Free to start.

Start building