io.github.A0Nexus-bit/a0nexus-bitcoin-mcp

Official registry Finance and payments

Crypto (BTC/ETH) + ERCOT electricity data & forecasts as MCP tools. Pay-per-call via x402.

What can you do with io.github.A0Nexus-bit/a0nexus-bitcoin-mcp?

  • BTCI_MCP_PAYMENT: set to real to pay actual USDC. (Leave it unset, or none, for
  • BTCI_MCP_PRIVATE_KEY: the private key of a Base wallet holding a little USDC.
  • BTCI_MCP_NETWORK (optional): base (default) or base-sepolia for testnet.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package a0nexus-bitcoin-mcp
Claude Code
claude mcp add a0nexus-bitcoin-mcp -e 'BTCI_API_URL=https://a0nexus.com' -e 'BTCI_MCP_PAYMENT=none' -e 'BTCI_MCP_PRIVATE_KEY=<your btci_mcp_private_key>' -- npx -y a0nexus-bitcoin-mcp@0.1.4
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "a0nexus-bitcoin-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "a0nexus-bitcoin-mcp@0.1.4"
            ],
            "env": {
                "BTCI_API_URL": "https://a0nexus.com",
                "BTCI_MCP_PAYMENT": "none",
                "BTCI_MCP_PRIVATE_KEY": "<your btci_mcp_private_key>"
            }
        }
    }
}

Environment variables

  • BTCI_API_URL Base URL of the a0nexus API.
  • BTCI_MCP_PAYMENT Set to 'real' to enable the paid tools (otherwise only the free tools work).
  • BTCI_MCP_PRIVATE_KEY secret Base wallet private key used to pay for paid tools when BTCI_MCP_PAYMENT=real.

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. a0nexus-bitcoin-mcp
  2. Tools
  3. Install
  4. Paid tools
  5. How it works
  6. License

a0nexus-bitcoin-mcp

Live crypto + energy predictive data + AI forecasts, right inside Claude (and any MCP-capable AI app).

This is a Model Context Protocol server that gives your AI assistant real-time predictive intelligence — Bitcoin network, mempool, and fees; Ethereum gas; best-time-to-transact timing on both chains; AI Bitcoin price forecasts; and Texas (ERCOT) electricity price forecasting including the cheapest upcoming window to run load — all as tools it can call mid-conversation. Data comes from the a0nexus.com Predictive Intelligence API.

Live Bitcoin fees/network/mempool, Ethereum gas, and current ERCOT power prices are free and need no wallet — install it and ask "what's the current Bitcoin fee?", "what's ETH gas right now?", or "what's Texas power costing?" right away. The differentiated tools (forecasts, fee forecast, confirmation ETA, mempool depth, intelligence brief) are pay-per-call: each request is settled with a few cents of USDC on Base via x402 (HTTP 402) — no account, no signup, no subscription. You only enable paid tools if you want them.

Install it with a single npx line (below). Node 18+ required.

Tools

Free (no wallet needed)
ToolWhat it returns
get_current_feesCurrent recommended Bitcoin fee rates (sat/vB) by confirmation target.
get_network_snapshotChain height, best block hash, peers, sync state, mempool summary.
get_mempool_snapshotCurrent mempool size, fee-rate histogram, and congestion.
get_eth_gas_currentEthereum gas now (gwei): base fee + slow/standard/fast tiers + congestion.
get_ercot_price_currentTexas power now ($/MWh) on the ERCOT grid + cheap/normal/expensive level. Arg: hub.
get_statusService status, active payment mode, and component health.
get_pricingPer-endpoint pricing and the payment network in use.
Paid (require a funded Base wallet — see Paid tools)
ToolWhat it returns
get_broadcast_timingBest time to broadcast (Bitcoin) — send now vs. wait, and the sat/vB you'd save. Args: target (blocks, default 6), vsize (vB, optional → total sats saved).
get_eth_gas_timingBest time to send (Ethereum) — send now vs. wait, and the gwei/ETH you'd save. Args: blocks (default 5), gas_limit (optional).
get_eth_gas_forecastEthereum base-fee forecast (gwei), N blocks ahead. Args: blocks (default 5).
get_ercot_cheapest_windowCheapest window to run load (Texas grid) — when to charge/compute in the next 24h + savings vs the daily average. Args: window_hours (default 2), horizon_hours (default 24), hub.
get_ercot_price_forecastERCOT electricity price forecast ($/MWh) for the next N hours. Args: hours (default 12), hub.
get_fee_forecastForecast of Bitcoin transaction fees by confirmation target.
get_tx_confirmationConfirmation status / ETA for a transaction. Args: txid.
get_latest_forecastLatest published AI price forecast. Args: symbol (e.g. BTCUSD), timeframe (e.g. 1h, 4h, 1d).
run_custom_forecastRun a bespoke Kronos forecast. Args: symbol, timeframe, horizon, sample_count, lookback.
get_intelligenceAggregated Bitcoin intelligence brief. Optional arg: timeframe.

Install

Add the server to your AI app's MCP config. All three use the same one-line npx command — no clone, no build, no global install.

Claude Desktop

Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "a0nexus-bitcoin": {
      "command": "npx",
      "args": ["-y", "a0nexus-bitcoin-mcp"],
      "env": {
        "BTCI_API_URL": "https://a0nexus.com"
      }
    }
  }
}
Claude Code

Add an .mcp.json at your project root:

{
  "mcpServers": {
    "a0nexus-bitcoin": {
      "command": "npx",
      "args": ["-y", "a0nexus-bitcoin-mcp"],
      "env": {
        "BTCI_API_URL": "https://a0nexus.com"
      }
    }
  }
}
Cursor

Edit ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):

{
  "mcpServers": {
    "a0nexus-bitcoin": {
      "command": "npx",
      "args": ["-y", "a0nexus-bitcoin-mcp"],
      "env": {
        "BTCI_API_URL": "https://a0nexus.com"
      }
    }
  }
}

Restart the app. Your assistant can now fetch live Bitcoin fees and network status for free immediately — try asking "what's the current Bitcoin fee?"

Paid tools

The free tools work with no wallet at all. To unlock the paid tools, add two environment variables to the env block above:

"env": {
  "BTCI_API_URL": "https://a0nexus.com",
  "BTCI_MCP_PAYMENT": "real",
  "BTCI_MCP_PRIVATE_KEY": "0x……"
}
  • BTCI_MCP_PAYMENT: set to real to pay actual USDC. (Leave it unset, or none, for free-only operation.)
  • BTCI_MCP_PRIVATE_KEY: the private key of a Base wallet holding a little USDC. Each paid call spends that endpoint's price (a few cents). Fund it with only what you're comfortable spending — call get_pricing to see exact per-endpoint costs.
  • BTCI_MCP_NETWORK (optional): base (default) or base-sepolia for testnet.

Treat the private key like any secret: use a dedicated low-balance wallet, and never commit it to source control.

How it works

Paid endpoints use the x402 standard: the server requests a resource, the API replies HTTP 402 Payment Required with a price, the client signs a USDC transfer on Base and retries, and the API returns live data. It's true pay-per-call metering — no account, no signup, no monthly bill. You pay only for the calls your assistant actually makes.

Learn more and see live pricing at a0nexus.com.

License

MIT

Frequently asked questions

What is io.github.A0Nexus-bit/a0nexus-bitcoin-mcp?

Crypto (BTC/ETH) + ERCOT electricity data & forecasts as MCP tools. Pay-per-call via x402.

How do I install io.github.A0Nexus-bit/a0nexus-bitcoin-mcp?

It runs on your machine. In Claude Code: claude mcp add a0nexus-bitcoin-mcp -e 'BTCI_API_URL=https://a0nexus.com' -e 'BTCI_MCP_PAYMENT=none' -e 'BTCI_MCP_PRIVATE_KEY=<your btci_mcp_private_key>' -- npx -y a0nexus-bitcoin-mcp@0.1.4. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.A0Nexus-bit/a0nexus-bitcoin-mcp need an API key?

Yes. It expects BTCI_MCP_PRIVATE_KEY, which you set in its configuration.

Is io.github.A0Nexus-bit/a0nexus-bitcoin-mcp open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.A0Nexus-bit/a0nexus-bitcoin-mcp?

It is published by A0Nexus-bit. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.