Skip to content
MCP server

MCP

Live LLM API prices, free models and discounts across 65 providers for your agent

Runs locallyStatus and history
Install
Pricing
Free
Platforms
CLI, API
Runs
Locally
Version
0.3.0
Listing updated
2 days ago

About MCP

MCP is a free MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

Every answer from apipriceindex-mcp comes from a daily-checked index of LLM API offers, with the verification date, a cross-check confidence and the source URL attached. The site tracks 794 offers across 65 providers, read from each provider's own price list or API and compared against OpenRouter, models.dev and LiteLLM. Data is published under CC BY 4.0.

Beyond looking up one price, the tools can estimate a monthly bill for a given token workload and rank models cheapest first, compare two to four models side by side, list every host serving one model, and find the cheapest model that reaches a given Epoch Capabilities Index score. Deals always carry an end date, or say no end date, with a link to the host's own page.

Behaviour is deliberately cautious. If the index cannot be reached you get an explicit error rather than a cached or invented price, and if the index is more than 14 days old answers come with a warning. A model that is not tracked is reported as such. It ranks cost only, not model quality. Install with pip install apipriceindex-mcp.

Install

Run in a terminal

claude mcp add mcp -- uvx apipriceindex-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "apipriceindex-mcp"
      ]
    }
  }
}

Tools this server provides (8)

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

search_models
Finds model ids by name or provider with filters for context, price and capabilities.
get_price
Returns the verified price of one model with date, confidence and source.
estimate_cost
Estimates the monthly bill of a workload and ranks models cheapest first.
list_deals
Lists free models, discounts, free credits and tiers with end dates.
offers_table
Shows every host serving one model with chosen columns.
compare_models
Compares two to four models side by side.
cheapest_at_level
Finds the cheapest models reaching an Epoch Capabilities Index score.
price_changes
Lists price drops and rises and new models over recent days.

What it does

Verified prices
Input, output and cached-input prices per million tokens with date, confidence and source.
Cost estimates
Estimates a monthly bill for a workload and ranks chosen models or the whole catalogue.
Deals and free models
Lists free endpoints, discounts, free credits and tiers with end dates.
Model comparison
Compares two to four models and shows every host for one model.
Level-based search
Finds the cheapest models reaching an Epoch Capabilities Index score.
Price changes
Shows price drops, rises and new models over recent days.

Good for

  • Find where a given model is cheapest today
  • Compare monthly cost of two models for a token workload
  • List LLMs that are free to call right now
  • Find the cheapest model at least as good as a named one
  • Spot price drops across providers this week

Pricing

Free

Free; data under CC BY 4.0

Prices change. Check apipriceindex.com before you buy.

MCP FAQ

Where does the data come from?

From each provider's own price list or API, and OpenRouter's per-provider data, with a source URL on every price.

What happens if the index is down?

The server returns an explicit error and never serves a cached or invented price.

Does it rank model quality?

No. It reports cost only, plus the Epoch Capabilities Index score credited to Epoch AI.

How is it installed?

pip install apipriceindex-mcp, then add it with claude mcp add apipriceindex -- apipriceindex-mcp.

What licence is the data under?

CC BY 4.0.

Is MCP free?

Yes. MCP is free to use.

How do I add MCP to Claude Code?

Run this command in your terminal: claude mcp add mcp -- uvx apipriceindex-mcp

What are the best alternatives to MCP?

The closest alternatives to MCP 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 MCP

  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