# Bitquery [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/pipeworx-io/mcp-bitquery  
**GitHub Stars:** 0  
**npm Downloads (last month):** 855  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/bitquery

## Description
Bitquery MCP — trade-level blockchain data (DEX trades, transfers, holders)

## Tools
Capabilities this server exposes over MCP:

- **bitquery_dex_trades** — Recent DEX trades for a token — swaps involving an ERC-20 token across DEXs on an EVM chain (Bitquery). Returns trade time, DEX/protocol, buy & sell currency + amounts, price, tx hash, and maker. Example: bitquery_dex_trades({ token: "0xdAC17F958D2ee523a2206206994597C13D831ec7", network: "eth", limit: 20, _apiKey: "your-bitquery-token" })
- **bitquery_token_transfers** — Recent transfers of a token — ERC-20 transfer events for a token contract on an EVM chain (Bitquery). Returns transfer time, sender, receiver, amount, and tx hash. Example: bitquery_token_transfers({ token: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", network: "eth", limit: 20, _apiKey: "your-bitquery-token" })
- **bitquery_token_holders** — Top holders of a token — largest current balances for an ERC-20 token contract on an EVM chain (Bitquery Holders cube). Returns holder address and balance. Optionally scope to a snapshot date. Example: bitquery_token_holders({ token: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", network: "eth", limit: 20, _apiKey: "your-bitquery-token" })

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## 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:

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

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

```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.

_Full upstream README: https://allmcps.com/mcp/bitquery/readme_

