ModelPricing MCP

ModelPricing.xyzの公式MCPサーバー。LLMのトークン価格をリアルタイムで提供し、KVプロンプトキャッシュのコスト計算ツールや、2026年のモデルを並べて比較する機能を備えています。

ドキュメント

modelpricing-mcp

ModelPricing License: MIT

Official Model Context Protocol (MCP) server for ModelPricing.xyz. Gives AI coding agents (Cursor, Claude Desktop, Windsurf, Antigravity) live access to 2026 frontier LLM API pricing, KV prompt caching math, and token cost simulations.

Tools Included

  1. list_llm_models — Fetch live 2026 rates across OpenAI, Anthropic, Google, DeepSeek, xAI, and Meta.
  2. calculate_llm_cost — Simulate monthly API costs for any input/output token volume and KV cache hit ratio (0 to 1).
  3. compare_llm_models — Side-by-side cost & savings comparison between any two models with direct links to interactive charts.

Quick Setup (Cursor / Claude Desktop / Windsurf)

Add to your mcp_config.json or claude_desktop_config.json:

{
  "mcpServers": {
    "modelpricing": {
      "command": "npx",
      "args": ["-y", "modelpricing-mcp"]
    }
  }
}

Links