Inference MCP server
Pay-per-token Claude & Grok inference, settled in BSV, via the inference.bsvkey.com gateway.
0 stars113 downloads/wk
Reviews
Write oneNobody has reviewed Inference yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Inference tools (5, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
channel_balanceCheck a prepaid channel’s remaining BSV balance, spend, and request count.
inferwrite actionRun one metered inference (OpenAI-compatible), paid per token in BSV from your prepaid channel. Returns the completion plus a receipt: satoshis charged, model routed to, and remaining balance. Requires a funded channel key (apiKey or BSVKEY_API_KEY).
list_modelsList the models this BSV inference gateway sells, with LIVE retail price (satoshis per 1,000 tokens) at the current BSV/USD rate. No key needed. Call first to choose a model.
open_channelExplains how to open + fund a prepaid channel. Funding is a real BSV payment signed by a wallet, so it is done once at the website; you then paste the returned channel key here (or set BSVKEY_API_KEY).
x402_inferwrite actionRun one inference paid PER CALL in BSV via x402 — no prepaid channel needed. You provide a funded BSV private key (wif or BSVKEY_WIF); the tool fetches the 402 quote, builds + signs a BSV payment, retries with X-PAYMENT, and returns the completion plus the on-chain settlement txid. Non-custodial: signing happens locally in this process, the key never leaves it. Needs @bsvkey/x402-bsv-client + @bsv
Public scan report
scanner v0.1.9 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 11 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
Install directly
Runs npx -y @bsvkey/inference-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add inference-mcp -- npx -y @bsvkey/inference-mcp
Inference: common questions
- Is Inference MCP server safe?
- Mostly: it is graded B (82/100). Read the Inference safety report
- How do I install Inference?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Inference need an API key?
- Yes. The registry entry asks for
BSVKEY_API_KEY,BSVKEY_WIF. - Is Inference maintained?
- The last commit was 12 days ago (2026-09-09). The latest release is v1.2.2.