← Blog

Free MCP Server for AI API Pricing — 42 Models in Claude Code & Cursor

Stop switching tabs to check API prices. Get live pricing for GPT-5.5, Claude Opus 4.8, Gemini, DeepSeek, and 38 more models directly inside your AI coding tools.

If you use Claude Code, Cursor, or Windsurf for development, you've probably asked your AI assistant "which model should I use?" or "how much will this cost?" only to get outdated or hallucinated pricing data.

That's the problem the APIpulse MCP server solves. It's a free Model Context Protocol server that gives your AI tools live access to real pricing data for 42 models across 10 providers.

Install in 10 Seconds

One command. No npm install. No API key. No signup.

Claude Code
claude mcp add apipulse --transport http https://getapipulse.com/api/mcp

For Cursor, add this to your MCP settings (.cursor/mcp.json):

Cursor MCP Settings
{
  "mcpServers": {
    "apipulse": {
      "url": "https://getapipulse.com/api/mcp"
    }
  }
}

For Windsurf or any other MCP client, use the endpoint: https://getapipulse.com/api/mcp

5 Tools, 42 Models, 10 Providers

Once installed, your AI assistant can query live pricing data with these tools:

get_pricing

Get pricing for any supported model. Returns input/output costs per 1M tokens, context window size, tier, and deprecation status.

compare_models

Side-by-side comparison of multiple models. See pricing differences, context windows, and which model is cheapest for your workload.

calculate_cost

Estimate your actual cost given input/output token counts. No more mental math or spreadsheet formulas.

find_cheapest

Find the cheapest model that meets your requirements. Filter by tier, provider, context window, or specific capabilities.

get_model_details

Detailed info for a single model: full pricing breakdown, context window, tier, deprecation status, and recommended replacement with pricing comparison.

Supported Providers

OpenAI
Anthropic
Google
DeepSeek
Mistral
Cohere
Meta
Moonshot
xAI
AI21

Example Prompts

After installing, try asking your AI assistant:

Why an MCP Server for Pricing?

AI model pricing changes fast. In the last 6 months alone:

Hardcoded pricing tables go stale. The APIpulse MCP server always returns current data because it reads from a live API, not a static file.

Want the full APIpulse experience? 886 pages of pricing data, cost calculators, model comparisons, and migration tools.

See MCP Server Docs →

How It Works

The APIpulse MCP server implements the MCP Streamable HTTP transport (2025-03-26 spec). It's a standard JSON-RPC endpoint — no special protocol libraries needed.

When your AI assistant uses one of the 5 tools, the MCP server returns structured JSON with current pricing data. The data covers:

Open Data, Open Source

The pricing data is also available as a static JSON API under a CC-BY-4.0 license:

Static API
curl https://getapipulse.com/data/pricing.json

Use it in your own tools, dashboards, or scripts. An OpenAPI spec is also available at /data/pricing-openapi.json.