Pay-per-token Claude & Grok inference, settled in BSV, via the inference.bsvkey.com gateway.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP server that lets any agent buy Claude & Grok inference metered per token,
settled in BSV, through the hosted gateway at inference.bsvkey.com. Zero
dependencies (Node β₯ 18, uses global fetch). It's a thin HTTP client β it never
holds your keys or runs models; every call is billed through the gateway.
Tools: list_models, infer, channel_balance, open_channel, x402_infer.
Two ways to pay: a prepaid channel (infer, fund once, draw down per token) or
per call via x402 (x402_infer β no channel; the agent pays each request in BSV
with its own key). x402_infer needs a funded WIF (wif arg or BSVKEY_WIF) and the
optional @bsvkey/x402-bsv-client + @bsv/sdk packages (installed with this one).
Verifiable metering. Each infer call returns a signed usage receipt, and the
tool auto-verifies it offline (with the optional packages installed): the result
includes receiptVerified (true, false + receiptCheck, or null if the
verifier isn't installed). It recovers the broker key (pinned from
GET /v1/receipt-key), and checks channel binding, a monotonic sequence (no
replay/gap), and running totals within the funded amount. So the channel payment
is on-chain and the meter is auditable, without trusting the broker's word. Spec:
https://inference.bsvkey.com/usage-receipts.md
channelId:channelSecret.BSVKEY_API_KEY.infer and pays per token.list_models and open_channel work with no key; infer and channel_balance
need a funded channel key.
Published on npm as @bsvkey/inference-mcp.
No npm? Grab the single-file server directly (https://inference.bsvkey.com/mcp/server.js) and use "command": "node", "args": ["server.js"].
| Var | Default | Meaning |
|---|---|---|
BSVKEY_BASE_URL | https://inference.bsvkey.com/v1 | Gateway base URL (set to a self-hosted deployment if you run your own). |
BSVKEY_API_KEY | β | channelId:channelSecret for a funded channel. Optional; can also be passed per call as apiKey. |
BSV Inference β Pay-per-token Claude & Grok, settled in BSV. Prepay a channel once, then meter every token with no subscription, account, or card. OpenAI- compatible, optional live web search, on-chain settlement. MCP + portable SKILL.md.
@bsvkey org (owner: interence). First publish: v1.0.0.version in package.json, then
npm publish --access public (2FA/security-key prompt applies).SKILL.md + this README.No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/inference-mcp)<a href="https://allmcps.com/mcp/inference-mcp"><img src="https://allmcps.com/api/badge/inference-mcp?style=directory" alt="Inference MCP on AllMCPs" /></a>