llm-cost-mcp

comparedge/llm-cost-mcp
★ 1 stars JavaScript AI/LLM Updated 3d ago
MCP server: token cost math for LLM API calls, 69 models across 17 providers, prices verified by ComparEdge
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "llm-cost-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "comparedge/llm-cost-mcp"
      ]
    }
  }
}

README Excerpt

<div align="center"> </div> Someone asks what the AI feature will cost at scale, and the honest answer around most teams is a shrug. Rates moved twice since anyone last checked, and the model itself will happily quote prices from its training data. This MCP server keeps current per-million-token rates for 69 models where your assistant can reach them, and does the arithmetic itself.

Tools (9)

cheapest_modelscompare_models_costestimate_costestimate_my_workflowforecast_ai_budgetlist_modelslist_providersmonthly_budgetpick_cheapest_model

Topics

ai-agentsanthropicclaudecost-estimationdeveloper-toolsgeminillmllm-pricingllm-toolsmcpmcp-servermodel-context-protocolopenaitoken-cost