llm-cost-mcp

Level CLocal

MCP server: token cost math for LLM API calls, 69 models across 17 providers, prices verified by ComparEdge

⭐ 2Search & InfoJavaScriptRepo ↗Updated 2026-07-10

Installation

MCP client config (paste into mcp.json)

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

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/comparedge/llm-cost-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "comparedge-llm-cost": {
      "command": "npx",
      "args": [
        "@comparedge/llm-cost-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers