Connect Claude, GPT, or any MCP-compatible AI to 154+ Bitcoin on-chain and market metrics via the Model Context Protocol.
Seven tools that let AI agents discover, query, and compare any Bitcoin metric.
Browse all available metrics by category. 13 categories covering price, on-chain, mining, derivatives, and more.
Search metrics by keyword across names, descriptions, slugs, and field names.
Retrieve time-series data for any metric. Supports date ranges, pagination, and last-N queries.
Get the most recent value for up to 10 metrics at once. Perfect for quick lookups.
Compare up to 5 metrics side-by-side, aligned by date over a common range.
Instant Bitcoin market snapshot: price, market cap, MVRV, NUPL, hashrate, and technicals.
Self-subscribe for higher rate limits via Lightning Network payment.
154 metrics organized into 13 categories:
Use list_metrics with a category to explore, or search_metrics with any keyword.
Add the MCP server to your Claude Desktop configuration file:
// Claude Desktop → Settings → Developer → Edit Config
// File: %APPDATA%\Claude\claude_desktop_config.json (Windows)
// ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
{
"mcpServers": {
"bgapi": {
"type": "streamable-http",
"url": "https://bitcoin-data.com/mcp"
}
}
}
// Run the MCP server locally via npx
{
"mcpServers": {
"bgapi": {
"command": "npx",
"args": ["@bgeometrics/mcp-server"],
"env": {
"BGAPI_TOKEN": "your-token-here"
}
}
}
}
Restart Claude Desktop after saving. You should see the tools icon in the chat input area.
Add the server to your Claude Code settings:
// .claude/settings.json
{
"mcpServers": {
"bgapi": {
"type": "streamable-http",
"url": "https://bitcoin-data.com/mcp"
}
}
}
Restart Claude Code to load the MCP server.
The server supports the Streamable HTTP transport. Any MCP-compatible client can connect:
# Endpoint
POST https://bitcoin-data.com/mcp
# Initialize a session and call get latest
SESSION_ID=$(curl -s -i -X POST https://bitcoin-data.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}},"id":1}' \
| grep -i "mcp-session-id" | tr -d '\r' | awk '{print $2}')
echo "Session: $SESSION_ID"
curl -s -X POST https://bitcoin-data.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: $SESSION_ID" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"get_latest","arguments":{"metrics":["btc-price","mvrv","nupl"]}},"id":2}'
The API applies rate limits based on your authentication tier:
| Tier | Requests / hour | Requests / day | Cost |
|---|---|---|---|
| Free | 8 | 15 | Free |
| Advance | 200 | 5,000 | Lightning payment |
No subscription is required. The subscribe tool to upgrade your tier directly from the AI chat via Lightning Network.
Once connected, ask your AI assistant questions like: