Connect any AI agent to Bitcoin blockchain data in under 60 seconds. Real-time fees, blocks, mempool, transactions, and mining stats — all through the Model Context Protocol.
The Model Context Protocol is an open standard that lets AI agents call external tools during a conversation. Instead of copying and pasting data into a chat window, MCP gives your agent direct access to live APIs — structured, typed, and on-demand.
You manually look up fees on a block explorer, copy the numbers, paste them into your AI chat, and ask for analysis. Every query is a round-trip through your clipboard.
You ask "Should I send Bitcoin now or wait?" and your agent automatically queries live fee data, analyzes mempool congestion, and gives you an answer with real numbers.
bitcoin-mcp auto-detects a local Satoshi API instance. If no local node is found, it falls back to the hosted endpoint at bitcoinsapi.com. No Bitcoin Core installation required to get started.
pip install bitcoin-mcp
Add this to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"bitcoin": {
"command": "bitcoin-mcp"
}
}
}
Config location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
You: What are current Bitcoin fees? Should I send now or wait?
Agent: Let me check the fee environment.
[Calling get_recommended_fees...]
[Calling get_fee_landscape...]
Current fees are 12 sat/vB for high priority. The mempool is
clearing steadily — good time to send at medium priority (8 sat/vB)
for confirmation within ~30 minutes.
bitcoin-mcp ships ready to use. It discovers tools automatically and falls back to the hosted Satoshi API when no local node is running. You can point it at your own node later for full sovereignty.
bitcoin-mcp works with any MCP-compatible AI client. Here are configs for the most popular ones.
{
"mcpServers": {
"bitcoin": {
"command": "bitcoin-mcp"
}
}
}
claude mcp add bitcoin -- bitcoin-mcp
{
"mcpServers": {
"bitcoin": {
"command": "bitcoin-mcp"
}
}
}
{
"mcpServers": {
"bitcoin": {
"command": "bitcoin-mcp"
}
}
}
43+ tools your AI agent can call. Each returns structured JSON with a consistent {data, meta} envelope.
Know when to send and how much to pay.
Inspect any block in the chain.
Real-time mempool state and transaction details.
Hashrate, difficulty, peers, and chain state.
Full tool reference: github.com/Bortlesboat/bitcoin-mcp
For full sovereignty and privacy, connect bitcoin-mcp to your own Bitcoin Core node through Satoshi API. No third party sees your queries.
pip install satoshi-api
export BITCOIN_RPC_USER=your_user
export BITCOIN_RPC_PASSWORD=your_password
satoshi-api
{
"mcpServers": {
"bitcoin": {
"command": "bitcoin-mcp",
"env": {
"SATOSHI_API_URL": "http://localhost:9332"
}
}
}
}
When you run your own node, all blockchain queries stay on your machine. Satoshi API provides a read-only REST layer over Bitcoin Core's RPC — the AI agent never touches your node directly. Rate limiting, input validation, and auth are built in.
Don't need MCP? All the same data is available as standard HTTP endpoints. The Satoshi API also exposes a JSON-RPC proxy at /api/v1/rpc for direct Bitcoin Core method calls.
curl https://bitcoinsapi.com/api/v1/fees/recommended
curl https://bitcoinsapi.com/api/v1/blocks/latest
curl -X POST https://bitcoinsapi.com/api/v1/rpc \
-H "Content-Type: application/json" \
-d '{"method": "getblockcount"}'
Full interactive API docs at /docs. No API key required for GET endpoints.
Explore Bitcoin data right in your browser, or install bitcoin-mcp and start asking questions.
bitcoin-mcp and Satoshi API are open source under the Apache-2.0 License. The hosted endpoint at bitcoinsapi.com is provided as-is for development and evaluation. For production use, self-hosting is recommended.
By using this service you agree to the Terms of Service and Privacy Policy.