btc-explorer-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@btc-explorer-mcp what's the latest Bitcoin block?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
btc-explorer-mcp
An unofficial MCP server that wraps Bitcoin.com's free, keyless, read-only Explorer API — with local caching, rate-limit handling, and stdio transport.
Why
Bitcoin.com launched a free public Explorer API and remote MCP server in November 2026 — no API key, no signup, 60 uncached requests/min/IP. This project gives you a local stdio server over that data, so clients that only speak stdio (Claude Desktop, Cursor, Cline, older Codex setups) can use it too.
It is a derivative work built on the official Model Context Protocol TypeScript SDK. Attribution is in NOTICE. This project is not affiliated with Bitcoin.com.
Related MCP server: mcp-mempool-space
What it adds over calling the API directly
stdio transport — works with any MCP client that launches local processes.
TTL cache (60s) — repeated lookups of the same block/tx/address don't burn the 60 req/min quota.
Rate-limit handling — a clear 429 message with
Retry-Afterinstead of an opaque failure.Complete toolset — the three JSON endpoints plus
get_chain_tipandsearch, which only exist on the official remote MCP; this server forwards those transparently.Enriched output — every result carries the plain-English
explanation, the sourceurl, anasOftimestamp, and an attribution field.No credentials required — fully keyless by default. An optional env var exists for a future authenticated tier; nothing is hardcoded.
Tools
Tool | Input | Data source |
|
| Bitcoin.com JSON API |
|
| Bitcoin.com JSON API |
|
| Bitcoin.com JSON API |
| none | Bitcoin.com remote MCP |
|
| Bitcoin.com remote MCP |
All tools are read-only (readOnlyHint: true).
Install
npm install
npm run buildRequires Node.js 20+ (tested on v22).
Configure your MCP client
Claude Desktop / Cursor / Windsurf (claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": {
"btc-explorer": {
"command": "node",
"args": ["/absolute/path/to/btc-explorer-mcp/dist/index.js"]
}
}
}Claude Code / Codex:
claude mcp add btc-explorer -- node /absolute/path/to/btc-explorer-mcp/dist/index.js
# or: codex mcp add btc-explorer -- node /absolute/path/to/btc-explorer-mcp/dist/index.jsAuthentication
None required. Bitcoin.com's free tier is keyless (no key is needed, per their API docs).
If Bitcoin.com later exposes an authenticated tier, set:
export BITCOIN_COM_API_KEY="your-own-key-here"The key is read from the environment at runtime and sent as a Bearer token. It is never stored in this repository, config files, or logs. Never paste keys into agent chat.
Test
node scripts/smoke-test.mjsThis spawns the server over stdio, performs the MCP handshake, lists tools, and calls all five tools with real network requests. Verified output on 2026-11-29: all 5 tools pass against live Bitcoin mainnet data.
Rate limits
Bitcoin.com allows 60 uncached requests per minute per IP. Over the limit the API returns 429 with Retry-After. This server caches responses for 60s to reduce quota use; if you still hit the limit, wait for the Retry-After interval or supply your own key.
Scope and disclaimer
Read-only Bitcoin mainnet data. No wallet, no signing, no transactions, no keys.
Unofficial. Not affiliated with, endorsed by, or operated by Bitcoin.com. Trademarks belong to their owners.
Derivative work. Built on the Apache-2.0/MIT MCP TypeScript SDK (Copyright Anthropic) and Zod (MIT). See NOTICE.
Free tier terms are set by Bitcoin.com and may change. Check their API docs before relying on it.
License
Apache-2.0. See LICENSE and NOTICE for upstream attribution.
Available Tools
5 toolsget_addressARead-only
Get balance and lifetime totals for a Bitcoin mainnet address, with a plain-English explanation. Data: Bitcoin.com Explorer.
Inputs: address (required).
get_blockARead-only
Get a Bitcoin mainnet block by height or hash. Returns full block data plus a plain-English explanation and the explorer URL. Data: Bitcoin.com Explorer.
Inputs: id (required).
get_chain_tipARead-only
Get the latest Bitcoin block: height, hash and time mined. Forwarded from Bitcoin.com's official remote MCP.
Inputs: no named parameters.
get_transactionARead-only
Get a Bitcoin transaction by txid. Returns value, fee, confirmations, inputs/outputs and a plain-English explanation. Data: Bitcoin.com Explorer.
Inputs: txid (required).
searchARead-only
Resolve a block height/hash, txid, address or xpub to its explorer record and URL. Forwarded from Bitcoin.com's official remote MCP.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The four get_* tools each target a clearly distinct Bitcoin resource (block, transaction, address, chain tip), so misselection between them is unlikely. The only soft overlap is `search`, which can resolve block/txid/address/xpub and thus partially duplicates the getters; its description frames it as a lightweight resolver, which mitigates but does not eliminate the ambiguity.
Four of five tools follow a clean verb_noun pattern (get_block, get_transaction, get_address, get_chain_tip), which reads as a coherent explorer vocabulary. `search` breaks the pattern by being a bare verb with no noun, a minor deviation in an otherwise predictable set.
Five tools is a tight, focused surface for a Bitcoin explorer, and each tool clearly earns its place with no filler. It sits at the lean end for the domain—single-resource lookups only—but is not thin enough to be a problem.
Core lifecycle coverage for an explorer is present: block, transaction, address, chain tip, and a type-agnostic resolver for when the input type is unknown. Gaps exist around richer history (per-address transaction lists, xpub detail beyond resolution, mempool/fee data), but agents can route most queries through search plus the getters.
Maintenance
Related MCP Connectors
Bitcoin MCP: fees, tx proofs, address checks. Pay per call by x402, Lightning or a prepaid pass.
Read-only developer, date, finance, and text utilities. Authless remote MCP server by Clean.tools.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Remote MCP for JSON repair, hashing, formatting, IDs, dates, units, and other small tools.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides real-time Bitcoin blockchain data by querying the mempool.space API, offering tools to get address statistics, transaction history, UTXOs, transaction details, and block information.724 npm4MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Bitcoin block explorer and mempool/fee statistics, providing tools to query fees, mempool stats, blocks, transactions, addresses, hashrate, and mining pools.64 npmMIT
- AlicenseNot gradedqualityDmaintenanceRead-only MCP server that monitors a Bitcoin Core full node via JSON-RPC, providing tools to check node status, network info, mempool, and peer information.MIT
- AlicenseAqualityDmaintenanceMCP server for querying live Bitcoin data from mempool.space, including recommended fees, mempool stats, blocks, transactions, addresses, and price. No API key required.7MIT