Skip to content
MCP server

InferCPI

Query AI inference price indexes, model prices, speed and cost per task

Install
Pricing
Free
Platforms
API, CLI
Runs
Remotely
Version
1.0.0
Listing updated
3 days ago

About InferCPI

InferCPI is a free MCP server for analytics and data. It runs as a hosted remote server, so there is nothing to install locally.

Everything here comes from InferCPI's own index of what AI inference costs. Its series cover list prices, what buyers actually pay (usage-weighted), the price of a fixed level of capability, open versus closed weights, third-party hosts, GPU rental, self-hosting break-even and dollars per completed task.

The MCP server wraps the same static JSON files as the public API in ten read-only tools, from the latest value of every series to a weekly basket of priced models, price-change events since September 2023, daily time-to-first-token and throughput measurements, and cost-per-task figures. Inputs include LiteLLM and genai-prices, the Epoch AI Capabilities Index, OpenRouter rankings and SEC filings; speed and cost per task are the site's own measurements.

A hosted endpoint needs no key, or you can download the single Python file and run it yourself. Data is licensed CC BY 4.0 and the code MIT.

Install

Run in a terminal

claude mcp add --transport http api https://infercpi.com/mcp

Add to Settings → Connectors → Add custom connector

https://infercpi.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "api": {
      "url": "https://infercpi.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "api": {
      "type": "http",
      "url": "https://infercpi.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "api": {
      "serverUrl": "https://infercpi.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "api": {
      "type": "http",
      "url": "https://infercpi.com/mcp"
    }
  }
}

Tools this server provides (10)

Taken from the project documentation; the running server may differ.

index_latest
No description
index_series
No description
index_catalogue
No description
basket
No description
model_price
No description
events
No description
speed
No description
open_vs_closed
No description
self_hosting
No description
cost_per_task
No description

What it does

Price index series
Chained, quality-adjusted and usage-weighted indexes of inference prices.
Weekly model basket
Input, output and blended dollars per million tokens for each priced model.
Price-change events
Launches, cuts, increases and removals from labs' price lists since Sep 2023.
Speed measurements
Daily time to first token and output tokens per second by model and route.
Self-hosting comparison
Compares rented or owned GPUs with API prices, including break-even.
Cost per task
Dollars and tokens per completed task, with accuracy and reasoning share.

Good for

  • Compare what a model costs across providers before choosing one
  • Track whether open-weight models are getting cheaper than closed ones
  • Decide if renting GPUs beats an API at your volume
  • Add current price data to an analyst or finance agent
  • Cite inference price trends with a CC BY source

Pricing

Free

Free, no key; data under CC BY 4.0

Prices change. Check infercpi.com before you buy.

InferCPI FAQ

Is a key required?

No. The hosted endpoint and the data files need no key.

What licence applies to the data?

CC BY 4.0, citing InferCPI, infercpi.com. The code is MIT.

Can I self-host the server?

Yes. It is a single Python file that needs the mcp package, and INFERCPI_BASE can point it at another data source.

Where do the numbers come from?

Public sources such as LiteLLM, genai-prices, Epoch AI, OpenRouter rankings and SEC filings, plus the site's own speed and cost-per-task runs.

Is InferCPI free?

Yes. InferCPI is free to use.

How do I add InferCPI to Claude Code?

Run this command in your terminal: claude mcp add --transport http api https://infercpi.com/mcp

What are the best alternatives to InferCPI?

The closest alternatives to InferCPI are Agent-Native Analytics, Claude Code Ultimate Guide, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP and World Monitor.

Alternatives to InferCPI

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  3. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  4. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  5. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  6. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data