Inference MCP Server
by bsvkeyio.github.BSVKey/inference-mcpv1.3.3
Pay-per-token Claude & Grok inference, settled in BSV, via the inference.bsvkey.com gateway.
context tax
queued
security
queued
cold start
queued
freshness
Active9d ago
Install Inference MCP server
Install in Claude Code
claude mcp add inference -e BSVKEY_API_KEY='<bsvkey-api-key>' -e BSVKEY_WIF='<bsvkey-wif>' -- npx -y @bsvkey/inference-mcpInstall in Cursor
{
"mcpServers": {
"inference": {
"command": "npx",
"args": [
"-y",
"@bsvkey/inference-mcp"
],
"env": {
"BSVKEY_API_KEY": "<bsvkey-api-key>",
"BSVKEY_WIF": "<bsvkey-wif>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"inference": {
"command": "npx",
"args": [
"-y",
"@bsvkey/inference-mcp"
],
"env": {
"BSVKEY_API_KEY": "<bsvkey-api-key>",
"BSVKEY_WIF": "<bsvkey-wif>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"inference": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bsvkey/inference-mcp"
],
"env": {
"BSVKEY_API_KEY": "<bsvkey-api-key>",
"BSVKEY_WIF": "<bsvkey-wif>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"inference": {
"command": "npx",
"args": [
"-y",
"@bsvkey/inference-mcp"
],
"env": {
"BSVKEY_API_KEY": "<bsvkey-api-key>",
"BSVKEY_WIF": "<bsvkey-wif>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| BSVKEY_API_KEY | — | yes | 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 | — | yes | 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. |
Freshness
Active — last maintenance signal 9d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-30 · 9d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-30 · 9d ago · official registry · v1.3.3
FAQ
›How do I install the Inference MCP server in Claude Code?
Run: claude mcp add inference -e BSVKEY_API_KEY='<bsvkey-api-key>' -e BSVKEY_WIF='<bsvkey-wif>' -- npx -y @bsvkey/inference-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Inference require an API key?
Yes. It expects BSVKEY_API_KEY, BSVKEY_WIF, of which 2 are secrets.
›Can I use Inference as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Inference in the official MCP registry?
Yes, as io.github.BSVKey/inference-mcp.
Alternatives to Inference
Other ai & llm tools MCP servers.