Home › Finance › inference-mcp

inference-mcp

Pay-per-token Claude & Grok inference, settled in BSV, via the inference.bsvkey.com gateway.

TypeScript Local
★ 0 stars Last pushed 2026-10-13 License: MIT

Topics: Finance & Fintech

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 1.3.4)

npx -y @bsvkey/[email protected]

Or add to your MCP client config:

{
  "mcpServers": {
    "inference-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@bsvkey/[email protected]"
      ],
      "env": {
        "BSVKEY_API_KEY": "<YOUR_VALUE>",
        "BSVKEY_BASE_URL": "<YOUR_VALUE>",
        "BSVKEY_WIF": "<YOUR_VALUE>",
        "BSVKEY_FUNDED_SATS": "<YOUR_VALUE>",
        "BSVKEY_RECEIPT_STATE": "<YOUR_VALUE>"
      }
    }
  }
}
  • BSVKEY_API_KEY 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_BASE_URL — Gateway base URL. Defaults to https://inference.bsvkey.com/v1; override to point at a self-hosted deployment.
  • BSVKEY_WIF 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_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.

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry