Bitcoin Node MCP Server
Read-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.
README
Bitcoin Node MCP Server
Read-only MCP server that monitors a Bitcoin Core full node (Umbrel on a Raspberry Pi 5) over its JSON-RPC interface. Part of a small series of personal MCP servers — see nerdaxe-mcp.
Built with the official MCP Python SDK (mcp), served over stdio.
Tools
Four read-only views on a single whitelisted RPC helper:
get_node_status— chain, block height, headers, sync progress, initial block download, human-readable uptimeget_network_info— Core version, connection counts (total/in/out), active networksget_mempool_info— transaction count, memory usage, minimum feeget_peer_info— peer counts in/out and a latency range; no full peer dump
Security model
The interesting part of this server is what it refuses to do:
- RPC whitelist. Exactly five read-only methods
(
getblockchaininfo,getnetworkinfo,getmempoolinfo,getpeerinfo,uptime), hardcoded as a constant. Any other method is rejected before a request leaves the machine — no wallet RPCs, no parameters. - Field allowlist per tool. Every tool returns explicitly chosen
fields, never "everything except X". Fields added by a future Core
version cannot leak through;
localaddresses(the node's own public address) is excluded by design. - No addresses in output. Logs and error messages never contain the node URL or IP. The RPC URL is validated at startup; on failure the server aborts without echoing it.
- Errors as messages, not tracebacks. A
safe_outputboundary catches failures at the tool edge and returns a plain explanation; details go to the server-side log only.
Setup
Windows:
py -m venv .venv
.venv\Scripts\pip install -r requirements.txt
Linux / macOS:
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
Then copy .env.example to .env and fill in NODE_RPC_URL,
NODE_RPC_USER, NODE_RPC_PASSWORD (Umbrel: Bitcoin app → "Connect").
Usage
Run directly for local testing:
.venv\Scripts\python main.py
Or wire it into claude_desktop_config.json as bitcoin-node, using
the absolute path to the venv's Python and to main.py.
Testing
Verified on three levels against a live node:
- Direct function calls, including forced error paths (node offline, wrong credentials, non-whitelisted method).
tests/test_protocol.py— a programmatic MCP client over stdio with asserts; the regression run after every change:.venv\Scripts\python tests\test_protocol.py- Live smoke test from Claude Desktop: all four tools, plus a whitelist-escape attempt that was correctly rejected.
Limits
- Read-only. No wallet operations, no configuration changes, no transaction broadcasting.
- Single node, no multi-node support.
- No caching — every call hits the node live.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.