Skip to main content

Inference MCP

io.github.BSVKey/inference-mcp

v1.3.6Updated Oct 30, 2026stdio · npmremote · http

Pay-per-token Claude & Grok inference, settled in Bitcoin BSV. npm package or hosted remote.

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add --transport http --header 'Authorization: <your-authorization>' inference-mcp https://inference.bsvkey.com/mcp

Configuration

6 settings.

  • Authorization
    Header· optional· secret
    Optional. "Bearer channelId:channelSecret" for a prepaid channel funded at https://inference.bsvkey.com. Needed only for infer and channel_balance; x402_infer and xrp_infer take a wallet-signed payment instead. The hosted server never takes a private key.
  • BSVKEY_API_KEY
    Env var· optional· secret
    A funded channel key in the form channelId:channelSecret. Open + fund a channel once at https://inference.bsvkey.com. Optional (can be passed per call).
  • BSVKEY_WIF
    Env var· optional· secret
    A funded BSV private key (WIF) used by the x402_infer tool to pay per call in BSV (no channel). Signing is local; the key never leaves the process. Optional (can be passed per call).
  • BSVKEY_BASE_URL
    Env var· optional
    Gateway base URL. Defaults to https://inference.bsvkey.com/v1; override to point at a self-hosted deployment.
  • BSVKEY_FUNDED_SATS
    Env var· optional
    The amount you funded your channel with on-chain. When set, usage receipts are verified against this instead of the broker-signed fundedSats. Optional (can be passed per call as fundedSats).
  • BSVKEY_RECEIPT_STATE
    Env var· optional
    Path to a JSON file where per-channel receipt continuity (seq + running totals) is persisted, so replays are caught across restarts. Optional; in-memory only if unset.

Listed in the official MCP Registry since Oct 30, 2026. Mirrored daily; last checked Nov 26, 2026.