inference-mcp
io.github.BSVKey/inference-mcp
MCP server OK 6 tools
Pay-per-token Claude & Grok inference, settled in Bitcoin BSV. npm package or hosted remote.
Technical sheet
- Author
- BSVKey (registry namespace)
- Repository
- github.com/BSVKey/inference-mcp
- Site
- —
- Version
- 1.3.6
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://inference.bsvkey.com/mcp Streamable HTTP
- Packages
- @bsvkey/inference-mcp 1.3.6 npm stdio
- Tools
- 6
- Categories
- AI, agents and memory, Finance and payments
- Last updated
- 30 Oct 2026
- Published
- 30 Oct 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.BSVKey/inference-mcp)<a href="https://latlas.dev/en/mcp/io.github.BSVKey/inference-mcp"><img src="https://latlas.dev/badge/fiche/io.github.BSVKey/inference-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://inference.bsvkey.com/mcp
- Last result
- OK 28 Nov 2026, 10:46
- Response time
- 1,548 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- bsvkey-inference 1.0.0
- Tools
- 6
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:46 | OK | 1,548 ms | 6 |
Exposed tools (6, from tools/list, 28 Nov 2026)
list_models
List 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.
No parameters.
infer
Run one metered inference (OpenAI-compatible), paid per token in Bitcoin BSV from your prepaid channel. Returns the completion plus a receipt: satoshis charged, model routed to, remaining balance, and the broker-signed usage receipt. Needs a funded channel key: send the HTTP header "Authorization: Bearer channelId:channelSecret" with the MCP request, or pass apiKey. Thinking models (claude-sonnet-5, claude-opus-5, claude-opus-5-5, claude-fable-5-1) bill their hidden reasoning as output, and maxTokens is raised to at least 1024 for them. On failure the tool returns isError with text "error: ( ): ". Codes: no_channel_key (no Authorization header and no apiKey); invalid_channel (401: channel not found, bad secret, or closed; open a new one); insufficient_balance (402: the channel cannot cover the worst case for this call; the text includes requiredSats and balanceSats; top up at the website, or lower maxTokens / turn off webSearch); invalid_request (400: unknown model or policy, a model whose provider is not enabled, or a malformed prompt; call list_models); upstream_failed (502: the model provider failed; nothing is charged, retry or pick another model). Nothing is charged on any error. This server does not verify its own receipt: check usageReceipt offline with @bsvkey/x402-bsv-client (verifyReceipt, verifyCharge, verifyMeter) against the key at /v1/receipt-key.
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | yes | The user prompt. |
| model | string | no | Model id or policy: auto|cheapest|best, claude-*, grok-*. |
| system | string | no | Optional system prompt. |
| maxTokens | integer | no | Max output tokens. |
| webSearch | boolean | no | Let the model search the live web (adds a per-search fee). |
| apiKey | string | no | channelId:channelSecret for a funded channel. Omit to use the Authorization header (preferred). |
channel_balance
Check a prepaid channel’s remaining Bitcoin BSV balance, spend, and request count. Uses the Authorization header or apiKey. On failure returns isError "error: ( ): ": no_channel_key, or invalid_channel (401/404: not found, bad secret, or closed).
| Parameter | Type | Required | Description |
|---|---|---|---|
| apiKey | string | no | channelId:channelSecret. Omit to use the Authorization header (preferred). |
open_channel
Explains how to open + fund a prepaid channel. Funding is a real Bitcoin BSV payment signed by a wallet, so it is done once at the website; you then send the returned channel key as "Authorization: Bearer channelId:channelSecret" (or pass it as apiKey).
No parameters.
x402_infer
Run one inference paid PER CALL in Bitcoin BSV via x402, no prepaid channel. Non-custodial, two steps: (1) call without payment to get the 402 quote (status payment_required, accepts[]); nothing is spent. (2) Build and sign a BSV payment for that quote in your own wallet (for example fetchWithX402 / buildPayment in @bsvkey/x402-bsv-client) and call again with the same prompt, model, maxTokens and webSearch plus payment = the base64 X-PAYMENT value. Returns the completion plus the on-chain settlement txid. This server never takes a private key: a wif argument is refused. On failure returns isError "error: ( ): ". Codes: key_refused (a private key was sent; it was not used or forwarded); payment_failed (402: the payment did not settle; nothing is spent); invalid_request (400: unknown model or bad input; nothing is spent); upstream_failed (502: the payment SETTLED but the model provider then failed; the text includes the settlement txid. There is no automatic refund: contact [email protected] with that txid).
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | yes | The user prompt. |
| model | string | no | Model id or policy: auto|cheapest|best, claude-*, grok-*. |
| system | string | no | Optional system prompt. |
| maxTokens | integer | no | Max output tokens. |
| webSearch | boolean | no | Let the model search the live web (adds a per-search fee to the quote). |
| payment | string | no | The base64 X-PAYMENT header value your wallet signed for the quote from step 1. Omit to get the quote. |
xrp_infer
Run one inference paid PER CALL in XRP on the XRP Ledger via x402, no channel. Non-custodial, two steps: (1) call without payment to get the 402 quote (exact drops, destination, destination tag, signed quote; priced from the XRP Ledger's own XRP/RLUSD market); nothing is spent. (2) Sign one XRP Payment for exactly that in your own wallet and call again with the same prompt, model and maxTokens plus payment = base64 of {"x402Version":1,"scheme":"exact","network": ,"payload":{"txBlob": ,"quote": }}. The broker checks the payment before broadcasting it, waits for validation (a few seconds), and returns the completion, the settlement tx hash, and a signed receipt. This server never takes a wallet seed: an xrpSeed argument is refused. On failure returns isError "error: ( ): ". Codes: key_refused; pending (202: submitted but not validated yet; call again with the same payment); payment_failed (402: the payment was refused before broadcast or did not settle; nothing is spent unless the text includes a settlement tx); invalid_request (400); upstream_failed (502: the payment SETTLED but the model provider then failed; the text includes the settlement tx. No automatic refund: contact [email protected] with it).
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | yes | The user prompt. |
| model | string | no | Model id or policy: auto|cheapest|best, claude-*, grok-*. |
| system | string | no | Optional system prompt. |
| maxTokens | integer | no | Max output tokens. |
| payment | string | no | The base64 X-PAYMENT value carrying your signed XRP Payment for the quote from step 1. Omit to get the quote. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://inference.bsvkey.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http inference-mcp https://inference.bsvkey.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : inference-mcp ; URL : https://inference.bsvkey.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : inference-mcp ; Server URL : https://inference.bsvkey.com/mcp ; Create as a plugin{
"mcpServers": {
"inference-mcp": {
"url": "https://inference.bsvkey.com/mcp"
}
}
}{
"mcpServers": {
"inference-mcp": {
"type": "http",
"url": "https://inference.bsvkey.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"inference-mcp": {
"url": "https://inference.bsvkey.com/mcp"
}
}
}{
"mcpServers": {
"inference-mcp": {
"httpUrl": "https://inference.bsvkey.com/mcp"
}
}
}[mcp_servers.inference-mcp]
url = "https://inference.bsvkey.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
inference-mcp · L’Atlas · Tested on
[inference-mcp — L’Atlas](https://latlas.dev/en/mcp/io.github.BSVKey/inference-mcp)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.