ModelPricing MCP

Máy chủ MCP chính thức cho ModelPricing.xyz, cung cấp giá token LLM theo thời gian thực, công cụ tính chi phí bộ nhớ đệm prompt KV và so sánh song song các mô hình năm 2026.

GitHubDùng thử MCP nàyĐược tài trợ

Tài liệu

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