Skip to main content
Glama
blockchain-btc-network-stats-mcp

blockchain-btc-network-stats-mcp

README.md
# blockchain-btc-network-stats-mcp

Live Bitcoin global network statistics, hashrate history, multi-currency fiat prices, on-chain metric charts, and mining pool shares over Model Context Protocol (MCP). Mining operators, macro analysts, risk desks, and blockchain researchers can query Blockchain.info public telemetry without an API key or account. It connects right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://blockchain-btc-network-stats-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `get_btc_network_stats` | Fetch live Bitcoin USD price, hashrate (EH/s), difficulty, 24h transactions, blocks mined, and miner revenue |
| `get_btc_fiat_prices` | Retrieve live Bitcoin exchange rates across major global fiat currencies with buy, sell, last, and 15m quotes |
| `get_btc_hashrate_history` | Pull historical Bitcoin network hashrate time series (TH/s) with min, max, latest, and percent change |
| `get_btc_network_chart` | Inspect historical on-chain charts including daily transactions, difficulty, mempool size, and transaction fees |
| `get_btc_mining_pools` | Check Bitcoin mining pool block counts and share percentages over a configurable lookback window |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "blockchain-btc-network-stats": {
      "url": "https://blockchain-btc-network-stats-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm start
```

## Compliance and reliability

Every upstream request queries `api.blockchain.info` and `blockchain.info/ticker` with a polite `User-Agent` header and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates newer MCP protocol versions down to the SDK version cleanly.

## More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.blockchain-btc-network-stats-mcp) with hosted commercial servers and priority endpoints.