Skip to main content
MCP server CX Codex

CheapestInference — Claude Code MCP server: what it does

An MCP server for the CheapestInference model pool: your agent reads live pricing, gets a USDC quote and buys a subscription on Base with no browser in the loop.

no license 362 installs updated 2026-07-11

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http mcp https://mcp--cheapestinference.run.tools
Open on GitHub

What CheapestInference does

The server is remote and stateless over Streamable HTTP. Connecting needs no credentials, because the management tools take your API key as an argument instead. Two read-only tools cover the catalogue: list_pools returns active pools with their USDC price per block, get_pool returns the models and daily blocks inside one pool.

Buying is a chain of tool calls. Ask for a quote, send the USDC transfer on Base, sign the claim message from the wallet that paid, then confirm with tx_hash, pool_slug, blocks and signature. The reply carries your API key. Inference traffic does not pass through MCP; it goes to the OpenAI-compatible base URL https://api.cheapestinference.com/v1, and get_connection_info returns paste-ready snippets for Claude, the OpenAI SDK or curl.

A signature from a wallet other than the paying one fails confirmation. USDC purchases cover 30 days once and renewing means running the flow again, while a card subscription started with get_card_checkout_link renews on its own.

What it helps with

  • check live pool prices before committing to a subscription
  • get an exact USDC amount and the Base address to pay
  • buy a subscription from an agent wallet and receive an API key
  • look up reserved blocks and expiry for an existing key
  • copy a client snippet for the OpenAI-compatible endpoint

Example prompts for the agent

  • List the CheapestInference pools with the USDC price per block.
  • Get a crypto quote for the Unlimited pool with all three blocks and confirm the payment once I send the USDC.
  • Show me the connection snippet for https://api.cheapestinference.com/v1 in Cursor.

How to install CheapestInference

Platform CLI: remote server

claude mcp add --transport http mcp https://mcp--cheapestinference.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about CheapestInference

How do I install CheapestInference in Claude Code?

Run claude mcp add --transport http cheapestinference https://mcp--cheapestinference.run.tools. It is an HTTP transport, and the connection itself asks for no authentication.

What does CheapestInference do?

It is a remote MCP server for the CheapestInference shop: it lists pools and prices, returns a USDC quote, verifies your payment and hands back an API key. Inference itself runs against https://api.cheapestinference.com/v1.

How does the USDC subscription differ from the card one?

USDC buys 30 days once, and you repeat the quote-and-sign flow to renew. A card subscription opened through get_card_checkout_link keeps renewing until you cancel it.

Similar MCP servers

All MCP servers for AI and ML →

Project sponsors

Companies that keep this analytics open