@bitcoinbenji/mcp
v0.1.0
Published
MCP server for Bitcoin Benji API — Lightning-paid mempool intelligence + AI inference. Sovereign, on-prem, no third-party APIs.
Maintainers
Readme
@bitcoinbenji/mcp
MCP server for Bitcoin Benji API — 26 Lightning-paid tools for Bitcoin mempool intelligence + sovereign on-prem AI inference.
No third-party APIs. No data leakage. Pay-per-call in sats.
What you get
Mempool intelligence (from a real Bitcoin Core full node):
get_fees— fee estimates with trendget_whales— whale/consolidation alertsget_mempool_state— live mempool stateget_mempool_history— 24h rolling snapshotspredict_fees— EMA-based predictionget_recent_blocks— recent blockstx_status— lookup any txidfee_quote— exact fee for a planned tx
AI inference (Qwen3 on dedicated GPU, no third-party APIs):
ai_summarize,ai_sentiment,ai_translate,ai_grammarai_code_review,ai_code_generate,ai_extract,ai_classifyai_rewrite,ai_explain,ai_agent,ai_scrapeai_embed,ai_vision,ai_ocr,ai_transcribe_tableai_longform(~50K-word docs flat-fee),ai_research(multi-step + cited)
Pricing: 2–100 sats per call. See api.bitcoinbenji.com/pricing.
Install
npm install -g @bitcoinbenji/mcpUse in Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"bitcoinbenji": {
"command": "bitcoinbenji-mcp"
}
}
}Restart Claude. Ask: "What are current Bitcoin fees?" — Claude will call get_fees, hit a 402 challenge, return a Lightning invoice. Pay it with any wallet, paste the preimage back, and Claude completes the call.
Use in Cursor / Cline / Continue / Windsurf
Same idea — point your MCP-compatible client at the bitcoinbenji-mcp binary.
Skip the manual payment loop — use an API key
Pre-fund a key once, then every call auto-debits in the background:
# Get a key (one-time): visit https://api.bitcoinbenji.com or curl /api/key/create
# Then:
export BITCOIN_BENJI_API_KEY="bb_live_..."
bitcoinbenji-mcpOr in Claude Desktop config:
{
"mcpServers": {
"bitcoinbenji": {
"command": "bitcoinbenji-mcp",
"env": { "BITCOIN_BENJI_API_KEY": "bb_live_..." }
}
}
}Why this exists
Most AI inference APIs require a credit card, an account, and a SaaS subscription. This one runs on a sovereign solar-powered AMD Strix Halo box, accepts payment in sats over Lightning, and never leaks your prompts to OpenAI/Anthropic/Google.
Source
github.com/ocbenji/mempool-broker
License
MIT
