Server data from the Official MCP Registry
AI inference price index: token prices, cost per capability, open vs closed, hosts, cost per task.
About
AI inference price index: token prices, cost per capability, open vs closed, hosts, cost per task.
Remote endpoints: streamable-http: https://infercpi.com/mcp
Security Report
The server is a read-only wrapper that fetches public InferCPI JSON data over HTTPS, with no data exfiltration, shell execution, or hardcoded secrets found. The main concerns are the unauthenticated streamable-HTTP mode bound to 0.0.0.0 and an unvalidated signal/key parameter in index_series that is joined into a file path and URL, allowing path traversal to other .json files on the local disk. Network access and the environment variable for the base URL match the server's purpose. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 1 high severity).
4 files analyzed · 10 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
How to Install & Connect
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
Documentation
View on GitHubFrom the project's GitHub README.
InferCPI API
InferCPI tracks what AI inference costs: list prices, what buyers actually pay, the cost of a fixed level of capability, open vs closed models, third-party hosts, self-hosting, and cost per completed task. Site: https://infercpi.com.
This repo holds the public API docs, examples and the MCP server. The data is free, needs no key, and is licensed CC BY 4.0: cite as InferCPI, infercpi.com.
API
Static JSON at https://infercpi.com/v1/. Full reference: https://infercpi.com/api.html.
| File | What |
|---|---|
latest.json | Last value of every series, plus the weekly editorial note |
index.json | Catalogue of every series: point count, dates, method string, URL |
series/<signal>/<key>.json | Full history: points: [[unix_ts, value], ...] and method |
basket.json | Every model priced this week: input, output and blended $/1M, context, Epoch ECI, open or closed |
events.json | Launches, price cuts, increases and removals since Sep 2023 |
speed.json | Our daily speed run: time to first token, tokens per second |
token_mix.json | Tokens routed through OpenRouter per week, by lab and region |
capex.json | Hyperscaler capex, chip and cloud revenue by quarter (SEC filings) |
curl -s https://infercpi.com/v1/latest.json | jq '.latest["weighted_index/paid_usd_1m"]'
More in examples/.
MCP server
mcp_server.py gives agents ten read-only tools over the API: index_latest, index_series, index_catalogue, basket, model_price, events, speed, open_vs_closed, self_hosting, cost_per_task.
Hosted, no key: https://infercpi.com/mcp (streamable HTTP).
claude mcp add --transport http infercpi https://infercpi.com/mcp # Claude Code
Claude.ai and Claude Desktop: Settings → Connectors → Add custom connector, paste the URL.
Or run it yourself:
mkdir -p ~/.local/share/infercpi
curl -so ~/.local/share/infercpi/mcp_server.py https://raw.githubusercontent.com/Infer-CPI/api/main/mcp_server.py
pip install mcp # mcp 1.x or 2.x both work
claude mcp add infercpi -s user -- python3 ~/.local/share/infercpi/mcp_server.py # Claude Code
python3 ~/.local/share/infercpi/mcp_server.py --http # or: streamable HTTP on :8765
Claude Desktop (claude_desktop_config.json):
{ "mcpServers": { "infercpi": { "command": "python3", "args": ["/home/YOU/.local/share/infercpi/mcp_server.py"] } } }
It reads https://infercpi.com by default; set INFERCPI_BASE to point elsewhere.
Method and sources
How every series is built: https://infercpi.com/methodology.html. Inputs: LiteLLM and pydantic/genai-prices (MIT), Epoch AI Capabilities Index (CC BY 4.0), OpenRouter rankings (CC BY 4.0), SEC filings (public domain). Speed and cost per task are our own measurements.
Licence
Code in this repo: MIT. Index data: CC BY 4.0. Questions, corrections or a series you need: open an issue.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
