Token cost math for LLM API calls: verified per-1M-token rates for 69 models, 17 providers.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @comparedge/llm-cost-mcp
MCP client config
{
"mcpServers": {
"comparedge-llm-cost": {
"command": "npx",
"args": [
"-y",
"@comparedge/llm-cost-mcp"
]
}
}
}