Live, verified LLM API prices: search models, get sourced prices, estimate workload costs.
An MCP server that gives any AI agent live, verified LLM API prices.
Ask your assistant "what would 200M input / 15M output tokens a month cost me on Sonnet vs GPT?" and it answers from today's index — every price with its verification date, cross-check confidence and source URL. Data from apipriceindex.com (CC BY 4.0, re-checked daily against official pricing pages).
| Tool | What it does |
|---|---|
search_models | Find model ids by name/provider, filter by context window or open weights |
get_price | Verified price of one model: input/output/cached input USD per Mtok, verified_at, confidence, source |
estimate_cost | Monthly bill of a workload; ranks chosen models — or the whole catalog — cheapest first |
pip install apipriceindex-mcp
Claude Code / Claude Desktop:
claude mcp add apipriceindex -- apipriceindex-mcp
Or in any MCP client config:
{ "mcpServers": { "apipriceindex": { "command": "apipriceindex-mcp" } } }
Environment: APIPRICEINDEX_URL overrides the dataset URL (testing).
Code: MIT. Price data: CC BY 4.0, attribution "API Price Index".
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx apipriceindex-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-apipriceindex-mcp": {
"command": "uvx",
"args": [
"apipriceindex-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceapipriceindex-mcppypiio.github.apipriceindex/mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.