AM

apipriceindex/mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

0 stars 0 forks Качество 78 Тренд 14MIT

MCP server for live, verified LLM API prices — data from apipriceindex.com (CC BY 4.0)

Обзор

An MCP server that gives any AI agent live, verified LLM API prices — and today's deals. Ask your assistant "which LLMs are free to call right now?", "what's the cheapest model at least as good as GPT-5.6 Sol?" or "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 from each provider's own price list or from OpenRouter's per-provider data; every price names its source in source_url). - Data is fetched live from the index (15-minute in-memory cache) — never stale training data. - No cached or invented price is ever served silently. - Index older than 14 days → answers still come, with a warning pointing at the index's health endpoint. - Model not tracked → says so, links the dataset. No price invented. - Cache discount only where the provider publishes a cached-input price.

README

Показан фрагмент оригинального README. Открыть оригинал.

apipriceindex-mcp

An MCP server that gives any AI agent live, verified LLM API prices — and today’s deals.

Ask your assistant “which LLMs are free to call right now?”, “what’s the cheapest model at least as good as GPT-5.6 Sol?” or “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 from each provider’s own price list or from OpenRouter’s per-provider data; every price names its source in source_url).

Tools

Tool What it does
search_models Find model ids by name/provider; filter by context window, open weights, max price (input + output), capabilities (tools, reasoning, vision, json) and min speed
get_price Verified price of one model: input/output/cached input USD per Mtok, verified_at, confidence, source; speed, availability and Epoch score when known; for open-weight models, the weights precision, context and max output the host serves, each with its state, source and date
estimate_cost Monthly bill of a workload; ranks chosen models — or the whole catalog — cheapest first
list_deals Models free to call right now, discounts, free credits and free tiers — each with its end date and official source; filter “ends within N days”
offers_table Every host serving one model, with the columns you choose (input, output, cache, discount, speed, first token, uptime, precision, context, max output, verified_at)
compare_models Two to four models side by side: lowest prices and who gives them, providers, fastest host, context, license, Epoch score, monthly cost
cheapest_at_level Cheapest models reaching an Epoch Capabilities Index score — or as good as a model you name
price_changes Price drops and rises over the last N days, and the models released in that time

Install

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" } } }

Behavior

  • Data is fetched live from the index (15-minute in-memory cache) — never stale training data.
  • Index unreachable → explicit error. No cached or invented price is ever served silently.
  • Index older than 14 days → answers still come, with a warning pointing at the index’s health endpoint.
  • Model not tracked → says so, links the dataset. No price invented.
  • Cache discount only where the provider publishes a cached-input price.
  • Deals always carry an end date — no end date when the host publishes none — and the link to the host’s own page.
  • Speed and availability are read from OpenRouter and always come with
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "apipriceindex": { "command": "apipriceindex-mcp" } } }