MCP ServerSTDIOOfficialv1.0.2

SatoshiAPI — Bitcoin Data via Lightning MCP Server

Query Bitcoin price, fees, blocks, and sentiment data via L402 Lightning micropayments. For developers building Bitcoin apps who need real-time on-chain metrics without traditional API keys.

io.github.SatoshiAPI/satoshi-btc-api

SatoshiAPI — Bitcoin Data via Lightning runs locally over stdio. Test it on your machine with MCP Playground Desktop:

Hosted URL

Local install

Transport

STDIO

Auth

No auth required

What the SatoshiAPI — Bitcoin Data via Lightning MCP server does

How models use it and what it is built for.

Query Bitcoin price, fees, blocks, and sentiment data via L402 Lightning micropayments. For developers building Bitcoin apps who need real-time on-chain metrics without traditional API keys.

Connect to SatoshiAPI — Bitcoin Data via Lightning

Local install — runs as a subprocess.

uvx satoshiapi-mcp==1.0.2

Environment variables

Configuration this server reads at startup.

  • SATOSHIAPI_LND_REST

    LND REST endpoint for auto-payment

  • SATOSHIAPI_LND_MACAROON

    Path to LND invoice macaroon

  • SATOSHIAPI_LND_CERT

    Path to LND TLS certificate

Resources

Where to find authoritative docs and source for SatoshiAPI — Bitcoin Data via Lightning.

Example prompts for SatoshiAPI — Bitcoin Data via Lightning

Paste any of these into Agent Studio after connecting SatoshiAPI — Bitcoin Data via Lightning.

  • What's the current Bitcoin price and network fee estimate?
  • Show me the latest block data and mempool sentiment
  • Get DCA signal recommendations for Bitcoin purchases
  • Explain how to configure SATOSHIAPI_LND_REST for auto-payment

SatoshiAPI — Bitcoin Data via Lightning MCP server — FAQ

Common questions about connecting and running SatoshiAPI — Bitcoin Data via Lightning.

  • What is L402 and why does this API use it?

    L402 is a protocol for Lightning-based micropayments. This server uses it so you pay per query via Bitcoin Lightning instead of traditional subscriptions, enabling pay-as-you-go access to Bitcoin data.

  • How do I set up Lightning auto-payment for this MCP server?

    Configure three environment variables: SATOSHIAPI_LND_REST (your LND node REST endpoint), SATOSHIAPI_LND_MACAROON (path to invoice macaroon), and SATOSHIAPI_LND_CERT (path to TLS cert). The server will automatically route payments through your LND node.

  • What Bitcoin data does this server provide?

    Real-time price, network fees, block data, market sentiment, and DCA (dollar-cost averaging) signals. All queries are paid via Lightning micropayments to the Satoshi API backend.

  • Do I need my own Lightning node to use this?

    Yes, you need an LND (Lightning Network Daemon) node running and accessible via REST. The server uses your node's macaroon and certificate to authenticate and route payments.

  • What happens if a query fails or the payment doesn't go through?

    Check your LND node connectivity, macaroon permissions, and certificate paths. Ensure your Lightning channel has sufficient balance for the micropayment. Consult the Satoshi API docs for specific error codes.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

In your browser

MCP Agent Studio

Server has a public URL? Chat with 90+ models on it, watch every tool call, and compare models side by side.

Open MCP Agent Studio →

On your computer

MCP Playground Desktop

Server runs on localhost or over stdio? The browser can’t reach it. The desktop app can, with 90+ models in Agent Studio. Download free

Related servers

More on MCP Playground