First Bitcoin MCP Server on the Anthropic Registry

Give your AI agents real-time Bitcoin data. Free. No signup.

Bitcoin data for AI agents.

The Bitcoin API built for the agent era. MCP-native tooling, fee intelligence that saves money on every transaction, and real-time mempool data — so your agents make smart Bitcoin decisions without human babysitting.

$ pip install bitcoin-mcp
You: "Should I send Bitcoin right now?"
Claude: "Fees are currently low at 4 sat/vB — a standard transaction would cost ~$0.56. This is the cheapest window in the last 12 hours. Send now to save ~60% vs. peak fees."
Live from bitcoinsapi.com
Loading live fee data...
MCP-native for AI agents Fee intelligence, not just fee rates Free & open source Monitored by UptimeRobot

Install the MCP. Ask Claude about Bitcoin. Get answers, not data.

Copy any prompt below into Claude Desktop with bitcoin-mcp installed. Each one works out of the box.

click to copy

Save Money

"Should I send Bitcoin right now?"

Get a send/wait recommendation with specific sat/vB rates and estimated savings if you wait.

click to copy

Save Time

"Track this payment"

Paste a txid. Get confirmation count, fee rate, RBF status, and whether it'll make the next block.

click to copy

Understand

"What's happening in the mempool?"

Congestion level, fee buckets, next-block minimum fee, and total pending transactions.

click to copy

Compare

"Compare urgency levels"

Side-by-side: next block vs. 3 blocks vs. 6 blocks vs. 1 day. Exact sats at each level.

click to copy

Learn

"Decode this transaction"

Full breakdown: inputs, outputs, fee rate, SegWit/Taproot flags, script types. Plain English.

click to copy

Predict

"What will the next block look like?"

Projected next block: tx count, total fees, fee percentiles, and top-paying transactions.

See all 16 recipes →

Every feature saves you money or time.

If it doesn't, we don't build it.

Saves Time: AI-Native

First Bitcoin API on the Anthropic MCP Registry. Your AI agents check fees, verify payments, and monitor addresses — no human babysitting a block explorer.

Saves Money: Fee Intelligence

"Fees are low. Good time to send." Combines multiple fee targets with mempool state so you never overpay. Every transaction where you wait instead of overpaying = sats saved.

Saves Money: Self-Hostable

$0/month vs $49-100/mo for competitors. Your node, your data, your API. Apache-2.0 licensed. Or use our hosted version free.

Bitcoin data, agent-ready.

Bitcoin Core's JSON-RPC was built for humans at a terminal. Satoshi API wraps it in a clean REST layer that AI agents and applications can consume directly — with MCP tooling, fee intelligence, typed responses, and smart caching. Instead of calling estimatesmartfee five times and doing math, your agent gets a single endpoint with human-readable recommendations in sat/vB.

bitcoin-mcp
AI agent interface (Claude, GPT)
Satoshi API
REST API (this project)
bitcoinlib-rpc
Typed Python RPC client
Bitcoin Core
Your full node

Everything Bitcoin Core is missing for agents and apps.

MCP tooling, fee intelligence, and production infrastructure.

MCP-Native for AI Agents

First Bitcoin API on the Anthropic MCP Registry. Pair with bitcoin-mcp to give Claude or GPT direct access to your node via MCP tool calls. Your agents check fees, verify payments, and broadcast transactions.

Fee Intelligence

"Send now or wait?" Not just a fee rate — actual recommendations with mempool context. Congestion scores. Block weight analysis. All in sat/vB.

Self-Hosted

Your node, your data, your API. No third party sees your queries. No vendor lock-in. No surprise pricing changes. Apache-2.0 licensed.

Agent-Ready Responses

Every response: { data, meta }. Every error: { error }. Request IDs on everything. Consistent and predictable — ideal for agent parsing.

L402 Lightning Payments

Optional L402 support via the bitcoin-api-l402 extension package. Pay-per-request via Lightning for Bitcoin-native API access.

Production Infrastructure

Reorg-aware caching, tiered rate limiting, input validation, API key auth, 421+ tests, Docker support, and Cloudflare Tunnel deployment. Battle-tested so you don't have to be.

Clean JSON. Real Bitcoin data. Instant answers.

Ask "should I send now?" and get a real answer, not a raw number.

Request

GET /api/v1/blocks/latest

Response

{
  "data": {
    "hash": "00000000000...",
    "height": 885421,
    "tx_count": 3847,
    "size": 1648231
  },
  "meta": {
    "cached": false,
    "node": "local"
  }
}

Explore all endpoints →

AI agents, developers, and node operators.

Anyone who needs programmatic Bitcoin data that saves money or time.

AI Agent Builders

Give your AI agents real-time Bitcoin data via MCP. Fee checks, payment verification, address monitoring — all through tool calls, no custom integration code.

# claude desktop config
"bitcoin": {
  "command": "bitcoin-mcp",
  "env": {"SATOSHI_API_URL":
    "http://localhost:9332"}
}

Wallet and App Developers

Building a wallet, payment processor, or Bitcoin app? Fee estimates, broadcast transactions, look up UTXOs. All validated and typed.

curl -X POST localhost:9332/api/v1/broadcast \
  -H "X-API-Key: sk_..." \
  -d '{"hex": "0200000001..."}'

Node Operators

You run a node already. Check fees, monitor the mempool, build a dashboard. Point at your node, done.

curl localhost:9332/api/v1/mempool
# Congestion level, fee buckets,
# next-block minimum fee

Data and Analytics

Pull block stats, mining data, and fee trends into your analytics pipeline. JSON responses, consistent format.

curl localhost:9332/api/v1/mining
# Difficulty, hashrate, next
# retarget height, blocks until

Privacy-Focused Users

Third-party APIs correlate your address lookups with your IP. Self-hosted means zero data leakage. Query your own node, keep your privacy.

Educators and Researchers

Teaching Bitcoin internals? The interactive docs at /docs let students explore blocks, transactions, and the mempool with live data.

Fee intelligence at the core. Everything else you need around it.

Fees, mempool, blocks, transactions, mining, network, prices, and real-time streams.

MethodEndpointDescription
GET/healthNode reachability check
GET/statusFull node status (sync, peers, disk)
GET/blocks/latestLatest block analysis
GET/blocks/tip/heightCurrent chain height
GET/blocks/tip/hashCurrent tip block hash
GET/blocks/{height_or_hash}Block by height or hash
GET/blocks/{height}/statsDetailed block statistics
GET/blocks/{hash}/txidsTransaction IDs in a block
GET/blocks/{hash}/txsFull transactions in a block
GET/blocks/{hash}/headerRaw block header
GET/tx/{txid}Transaction analysis (fees, SegWit, Taproot)
GET/tx/{txid}/rawRaw decoded transaction
GET/tx/{txid}/hexTransaction as hex string
GET/tx/{txid}/statusConfirmation status
GET/tx/{txid}/outspendsSpending status of each output
GET/utxo/{txid}/{vout}UTXO lookup (spent/unspent)
POST/decodeDecode raw transaction hex
POST/broadcastBroadcast signed transaction
GET/feesFee estimates (all targets)
GET/fees/recommendedHuman-readable fee recommendation
GET/fees/{target}Fee for specific confirmation target
GET/fees/landscapeShould I send now or wait? Decision engine
GET/fees/estimate-txTransaction size and fee cost estimator
GET/fees/historyHistorical fee rates and cheapest hour
GET/fees/mempool-blocksFee distribution by projected blocks
GET/mempoolMempool analysis (congestion, fee buckets)
GET/mempool/infoRaw mempool info
GET/mempool/tx/{txid}Single mempool entry
GET/mempool/txidsAll mempool transaction IDs
GET/mempool/recentRecently added mempool entries
GET/miningMining stats (difficulty, hashrate, retarget)
GET/mining/nextblockNext block template analysis
GET/networkNetwork info (connections, relay fee)
GET/network/forksChain tips and fork detection
GET/network/difficultyCurrent difficulty and retarget info
GET/network/validate-address/{addr}Validate a Bitcoin address
GET/pricesBTC price in 6 fiat currencies Extended
GET/stream/blocksReal-time new block events (SSE)
GET/stream/feesLive fee rate updates every 30s (SSE)
GET/address/{address}Address balance and UTXO summary Extended
GET/address/{address}/utxosList unspent outputs for an address Extended
POST/registerSelf-serve API key registration
GET/tools/exchange-compareCompare exchange prices and fees Extended

All endpoints prefixed with /api/v1. Interactive docs at /docs (Swagger UI) and /redoc.

Follow progress on GitHub.

From zero to Bitcoin data in 60 seconds.

Option 1: Use the hosted API (no setup)

No node, no install, no signup. Just start making requests:

# Get current fee recommendations
curl https://bitcoinsapi.com/api/v1/fees/recommended

# Latest block analysis
curl https://bitcoinsapi.com/api/v1/blocks/latest

# Mempool congestion
curl https://bitcoinsapi.com/api/v1/mempool

# Mining stats
curl https://bitcoinsapi.com/api/v1/mining

No API key needed for GET requests. Try the interactive API playground.

Option 2: Get a free API key (10x higher limits)

Unlock 10,000 requests/day and POST access. Takes 5 seconds:

Advanced: Self-host on your own node

Already running Bitcoin Core? Run the full API locally: pip install satoshi-api && satoshi-api. Unlimited requests, full privacy. Self-hosting guide →

Python SDK

Use the Python SDK for typed access to all endpoints:

pip install satoshi-api-sdk

Source: github.com/Bortlesboat/bitcoin-api/tree/main/sdk

Free to explore. Upgrade when you are ready.

Start free. No node required. Upgrade when you need more.

Self-Hosted

Free forever
  • Run on your own node
  • Full API access
  • Unlimited requests
  • Full source code (Apache-2.0)
  • Docker + pip install
View on GitHub

Enterprise — Need higher limits? Contact api@bitcoinsapi.com for enterprise pricing.

You have options. Here is why this one exists.

FeatureSatoshi APIRaw RPCHosted APIs
AI agent support (MCP)On Anthropic RegistryNoNo
Fee intelligenceSend now or wait? Congestion scoringRaw values onlyVaries
Setup time3 linesAlready thereSign up + API key
Self-hostedYesYesNo
PrivacyYour node, your dataYour nodeThey see your queries
CachingReorg-aware TTLNoneVaries
Rate limitingBuilt-in, tieredNoneYes (their limits)
Input validationBefore RPC callNoneYes
Cost to start$0 (hosted or self-host)$0$50-500+/mo
Vendor lock-inNone (Apache-2.0)NoneYes

Every next step saves more money or time.

Now — AI-Native Bitcoin Data

MCP server on the Anthropic Registry. Agents check fees, verify payments, and broadcast transactions.

Done — Fee Intelligence

Know when to send. Stop overpaying. Real-time fee streams and congestion scoring.

Next — Fee Alerts & Payment Monitoring

"Notify me when fees drop below 5 sat/vB." "Tell me when this payment confirms."

Vision — DCA Fee Optimizer

For recurring buys, find the cheapest fee windows automatically.

Follow the journey on GitHub →

Give your agents Bitcoin data in 60 seconds.

No signup, no install, no node. MCP-ready or plain REST.