io.github.BSVKey/inference-mcp
Pay-per-token Claude & Grok inference, settled in Bitcoin BSV. npm package or hosted remote.
- Repository
- github.com/BSVKey/inference-mcp
- Server address
https://inference.bsvkey.com/mcp(streamable-http)- Version
- 1.3.6
- Author
- BSVKey (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 30, 2026)
How to install it
The server optionally accepts a header: Authorization. Replace YOUR_KEY with your key.
Variables to fill in: BSVKEY_API_KEY, BSVKEY_BASE_URL, BSVKEY_WIF, BSVKEY_FUNDED_SATS, BSVKEY_RECEIPT_STATE.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http inference-mcp https://inference.bsvkey.com/mcp \
--header "Authorization: Bearer YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://inference.bsvkey.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://inference.bsvkey.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"inference-mcp": {
"url": "https://inference.bsvkey.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"inference-mcp": {
"type": "http",
"url": "https://inference.bsvkey.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add inference-mcp -e BSVKEY_API_KEY=YOUR_BSVKEY_API_KEY -e BSVKEY_BASE_URL=YOUR_BSVKEY_BASE_URL -e BSVKEY_WIF=YOUR_BSVKEY_WIF -e BSVKEY_FUNDED_SATS=YOUR_BSVKEY_FUNDED_SATS -e BSVKEY_RECEIPT_STATE=YOUR_BSVKEY_RECEIPT_STATE -- npx -y @bsvkey/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"inference-mcp": {
"command": "npx",
"args": [
"-y",
"@bsvkey/[email protected]"
],
"env": {
"BSVKEY_API_KEY": "YOUR_BSVKEY_API_KEY",
"BSVKEY_BASE_URL": "YOUR_BSVKEY_BASE_URL",
"BSVKEY_WIF": "YOUR_BSVKEY_WIF",
"BSVKEY_FUNDED_SATS": "YOUR_BSVKEY_FUNDED_SATS",
"BSVKEY_RECEIPT_STATE": "YOUR_BSVKEY_RECEIPT_STATE"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"inference-mcp": {
"command": "npx",
"args": [
"-y",
"@bsvkey/[email protected]"
],
"env": {
"BSVKEY_API_KEY": "YOUR_BSVKEY_API_KEY",
"BSVKEY_BASE_URL": "YOUR_BSVKEY_BASE_URL",
"BSVKEY_WIF": "YOUR_BSVKEY_WIF",
"BSVKEY_FUNDED_SATS": "YOUR_BSVKEY_FUNDED_SATS",
"BSVKEY_RECEIPT_STATE": "YOUR_BSVKEY_RECEIPT_STATE"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"inference-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bsvkey/[email protected]"
],
"env": {
"BSVKEY_API_KEY": "YOUR_BSVKEY_API_KEY",
"BSVKEY_BASE_URL": "YOUR_BSVKEY_BASE_URL",
"BSVKEY_WIF": "YOUR_BSVKEY_WIF",
"BSVKEY_FUNDED_SATS": "YOUR_BSVKEY_FUNDED_SATS",
"BSVKEY_RECEIPT_STATE": "YOUR_BSVKEY_RECEIPT_STATE"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 10:46 (test run by L’Atlas)
- Response time
- 1,548 ms (whole test)
- Tools found
- 6
- Announced name
- bsvkey-inference 1.0.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (6)
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.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. Needschannel_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: <code> (<status>): <message>": no_channel_key, or invalid_channel (401/404: not fopen_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 ix402_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 foxrp_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 ow
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.bsvkey/inference-mcp)HTML
<a href="https://lagora.dev/en/entry/io.github.bsvkey/inference-mcp"><img src="https://lagora.dev/badge/io.github.bsvkey/inference-mcp.svg?lang=en" alt="io.github.BSVKey/inference-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.