Inference MCP
Pay-per-token Claude and Grok inference for agents, settled in BSV or XRP
Inference MCP is a paid MCP server for ai models and llm tooling. It can run locally on your machine or as a hosted remote server.
- Pricing
- Paid
- Platforms
- API, CLI
- Runs
- Locally or Remotely
- Version
- 1.3.6
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http inference-mcp https://inference.bsvkey.com/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"inference-mcp": {
"type": "http",
"url": "https://inference.bsvkey.com/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://inference.bsvkey.com/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"inference-mcp": {
"url": "https://inference.bsvkey.com/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"inference-mcp": {
"type": "http",
"url": "https://inference.bsvkey.com/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://inference.bsvkey.com/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add inference-mcp --url https://inference.bsvkey.com/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.inference-mcp]
url = "https://inference.bsvkey.com/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://inference.bsvkey.com/mcpEnter a Name (for example "Inference MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"inference-mcp": {
"type": "http",
"url": "https://inference.bsvkey.com/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "inference-mcp": { "httpUrl": "https://inference.bsvkey.com/mcp" } } }Or run: gemini mcp add -s user --transport http inference-mcp https://inference.bsvkey.com/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "inference-mcp": { "serverUrl": "https://inference.bsvkey.com/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "inference-mcp": { "url": "https://inference.bsvkey.com/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "inference-mcp": { "type": "streamableHttp", "url": "https://inference.bsvkey.com/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "inference-mcp": { "url": "https://inference.bsvkey.com/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "inference-mcp": { "url": "https://inference.bsvkey.com/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "inference-mcp": { "url": "https://inference.bsvkey.com/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "inference-mcp": { "url": "https://inference.bsvkey.com/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
BSVKEY_API_KEYA 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_URLGateway base URL. Defaults to https://inference.bsvkey.com/v1; override to point at a self-hosted deployment.BSVKEY_WIFA 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_SATSThe 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_STATEPath 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.
About Inference MCP
Payment is the point of this server. An agent can draw down a prepaid channel funded once on-chain in BSV, pay each request on its own through x402 with a BSV key, or pay per call in XRP after getting a quote. Nothing runs locally: the npm package is a thin HTTP client for the gateway at inference.bsvkey.com, and the same six tools are available as a hosted remote endpoint.
Each channel call returns a signed usage receipt, and the npm package checks it offline. It confirms the receipt belongs to your channel, that the sequence has no replay or gap, that totals stay within the funded amount, and that the charge matches the published rate and a token count recomputed from the exact bytes. If the key-pinning endpoint is unreachable the result is unknown, not trusted. Setting BSVKEY_FUNDED_SATS and BSVKEY_RECEIPT_STATE strengthens the check across restarts.
The hosted server never accepts a private key. Payments there take two steps: get the quote, sign it in your own wallet, then call again with the payment. Errors come back in one fixed shape so an agent can branch on the code.
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 6 tools reads data; 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_modelsName suggests: reads
- Lists available models; needs no key.
- infer
- Runs inference billed per token against a prepaid channel.
- channel_balance
- Shows the balance of a funded channel.
- open_channel
- Explains how to open and fund a channel; needs no key.
- x402_infer
- Pays per call in BSV through x402 with a funded key.
- xrp_infer
- Pays per call in XRP with a locally signed payment.
What it does
- Prepaid channel
- Fund once on-chain, then draw down per token with the infer tool.
- Per-call BSV payment
- x402_infer pays each request with a funded BSV key and no channel.
- XRP payment
- xrp_infer quotes in XRP and signs one payment locally.
- Verifiable metering
- Signed receipts are checked offline against the published rate.
- Model listing
- list_models works with no key.
- Hosted or local
- Run via npm with npx or connect to the hosted endpoint.
Good for
- Let an unattended agent buy model calls without a card or account
- Audit exactly what a metered inference call cost
- Pay for a single request in BSV or XRP instead of prefunding
- Run Claude or Grok from an agent host through one gateway
Pricing
Paid
Metered per token and settled in BSV or XRP; rates published by the gateway
Inference MCP FAQ
Which tools does Inference MCP provide?
list_models, infer, channel_balance, open_channel, x402_infer and xrp_infer.
Does the server hold my keys?
No. The npm client signs locally, and the hosted server refuses wif or xrpSeed arguments.
What does Inference MCP need to run?
Node 18 or newer for the package; xrp_infer needs Node 20.19 or 22.12 or newer.
What happens if the provider fails?
With infer the call returns upstream_failed and nothing is charged.
Is Inference MCP free?
No. Inference MCP is a paid product.
How do I add Inference MCP to Claude Code?
Run this command in your terminal: claude mcp add --transport http inference-mcp https://inference.bsvkey.com/mcp
What are the best alternatives to Inference MCP?
The closest alternatives to Inference MCP are headroom, omniget, next-ai-draw-io, mcp-for-blender and Claude Code Ultimate Guide.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.



