ModelPricing MCP
Servidor MCP oficial do ModelPricing.xyz, que oferece preços atualizados de tokens de LLM, calculadoras de custos de cache de prompt KV e comparações lado a lado de modelos de 2026.
GitHubExperimente este MCPPatrocinado
Documentação
modelpricing-mcp
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
list_llm_models— Fetch live 2026 rates across OpenAI, Anthropic, Google, DeepSeek, xAI, and Meta.calculate_llm_cost— Simulate monthly API costs for any input/output token volume and KV cache hit ratio (0to1).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
- Interactive Web Simulator: https://modelpricing.xyz
- Public JSON API:
https://modelpricing.xyz/api/pricing.json - Open Dataset: https://github.com/allex122/llm-pricing-dataset