Bitquery logo

Bitquery

Query EVM token trades, transfers, and holder balances through Bitquery's GraphQL data via MCP.

Install Bitquery

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "bitquery": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-bitquery"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio bitquery -- npx -y @pipeworx/mcp-bitquery

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 3 tools correctly ().

Overview

Bitquery MCP server exposes Bitquery blockchain data through three MCP tools for DEX trades, ERC-20 transfers, and token holders. Requests are sent through the Pipeworx gateway to Bitquery's v2 GraphQL API and can target more than 40 chains. Use it to inspect recent market activity, trace token movements, or review holder balances for an EVM token. It is available as a hosted MCP endpoint or as an npm-based local stdio bridge.

Use cases

  • Inspect recent DEX swaps for an ERC-20 token
  • Trace recent token transfers between addresses
  • Rank the largest holders of a token
  • Compare token activity across EVM networks

Key features

  • Query recent DEX trades
  • Retrieve ERC-20 transfer events
  • List top token holders
  • Use Bitquery v2 GraphQL data
  • Connect through hosted MCP or local stdio

Tools3

What Bitquery lets your agent do. Expand a tool for its parameters.

Verified live~876 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 60d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Handles credentials · 3Makes network requests · 3Read-only tools · 3
Network at startup5 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age40 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @pipeworx/mcp-bitquery (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads855Package downloads in the last 30 days.
Last commit26d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How Bitquery works

What Bitquery MCP server does

Bitquery MCP server brings selected Bitquery blockchain queries into MCP clients. Its three main tools cover recent decentralized-exchange trades, recent ERC-20 transfer events, and the largest current holders of an ERC-20 token. Queries target a token contract and an EVM network, with an optional result limit; holder queries can also use a snapshot date.

The integration is an independent, unofficial connection to Bitquery. It focuses on structured token-level data rather than general-purpose blockchain operations. Supported results include trade timestamps, DEX or protocol names, currencies and amounts, prices, transaction hashes, makers, transfer participants, and holder balances.

How it works

The hosted connection is available at https://gateway.pipeworx.io/bitquery/mcp. An MCP client can connect directly to that URL, while the full Pipeworx gateway is available at https://gateway.pipeworx.io/mcp. The Bitquery endpoint lists the pack's tools along with shared Pipeworx gateway tools. Those shared tools include routing and discovery functions such as ask_pipeworx, which can send a broader question to another source in the catalog.

Each direct Bitquery request uses the relevant tool name and arguments such as token, network, and limit. The examples use a Bitquery API key through the _apiKey argument. The hosted endpoint does not provide a Bitquery key on the caller's behalf.

Setup and configuration

For a remote connection, add the hosted endpoint to an MCP client configuration:

config.json
{
  "mcpServers": {
    "bitquery": {
      "url": "https://gateway.pipeworx.io/bitquery/mcp"
    }
  }
}

A local stdio option is available through @pipeworx/mcp-bitquery:

config.json
{
  "mcpServers": {
    "bitquery": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-bitquery"]
    }
  }
}

The npm bridge forwards calls to the hosted gateway and therefore requires network access. It can run anonymously with a limit of 50 calls per day. Setting PIPEWORX_API_KEY raises the allowance to 200 calls per day for a free account. Set PIPEWORX_META_TOOLS=1 if the local bridge should also list the shared gateway tools; otherwise it lists the Bitquery pack's tools.

For direct tool calls, supply a Bitquery key in _apiKey. The Pipeworx API key and Bitquery API key serve different purposes: the former authenticates the gateway bridge, while the latter is passed to the Bitquery tools.

Tools and capabilities

  • bitquery_dex_trades returns recent swaps involving an ERC-20 token across DEXs on an EVM chain, including trade time, protocol, currencies, amounts, price, transaction hash, and maker.
  • bitquery_token_transfers returns recent ERC-20 transfer events with the time, sender, receiver, amount, and transaction hash.
  • bitquery_token_holders returns leading holders and balances for an ERC-20 token, optionally at a specified snapshot date.

Limitations and notes

The direct tools are centered on ERC-20 contracts on EVM networks. The local package has no offline mode. Anonymous use of the npm bridge is capped at 50 calls per day, while a free Pipeworx account raises that limit to 200 calls per day. The pack endpoint also exposes shared gateway schemas, so its tool list is larger than the three Bitquery-specific tools. Bitquery MCP server is not affiliated with, endorsed by, or published by Bitquery.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Bitquery

Bitquery is an MCP server that connects AI clients to Bitquery's v2 GraphQL blockchain data through Pipeworx. Its main tools query recent EVM DEX trades, ERC-20 token transfers, and top token holders, with token contract and network parameters for targeted results.

Install it by adding the hosted MCP URL to your client, or run the npm stdio bridge with `npx -y @pipeworx/mcp-bitquery`. The hosted endpoint is `https://gateway.pipeworx.io/bitquery/mcp`; the local bridge forwards requests there and needs network access.

Yes, Bitquery works with Cursor through its hosted MCP endpoint. Add `https://gateway.pipeworx.io/bitquery/mcp` as the server URL in Cursor's MCP configuration, then provide a Bitquery key in tool calls when querying the direct Bitquery tools.

Direct Bitquery queries require a Bitquery API key passed through the `_apiKey` tool argument. The optional `PIPEWORX_API_KEY` authenticates the local Pipeworx bridge separately and raises its anonymous daily call allowance from 50 to 200.

Yes, run the local bridge with `npx -y @pipeworx/mcp-bitquery`. It communicates with the Pipeworx gateway over the network rather than querying data offline, and it can authenticate with the optional `PIPEWORX_API_KEY` environment variable.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBitquery AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/bitquery?style=directory)](https://allmcps.com/mcp/bitquery)
HTML Embed
<a href="https://allmcps.com/mcp/bitquery"><img src="https://allmcps.com/api/badge/bitquery?style=directory" alt="Bitquery on AllMCPs" /></a>