MCP directory
IM

Inference Mcp

by github.com/BSVKey · v1.3.6 · updated Oct 30, 2026

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

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://inference.bsvkey.com/mcp

Claude Code

claude mcp add --transport http inference-mcp https://inference.bsvkey.com/mcp

Headers

  • Authorizationsecret

    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.

Run it locally

Install the package and point your AI client at it.

npm

npx -y @bsvkey/[email protected]

Environment variables

  • BSVKEY_API_KEYsecret

    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_BASE_URL

    Gateway base URL. Defaults to https://inference.bsvkey.com/v1; override to point at a self-hosted deployment.

  • BSVKEY_WIFsecret

    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_FUNDED_SATS

    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

    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.

More MCP servers