Skip to main content

AI API Cost Calculator

io.github.m-mustufa/ai-api-cost-mcp

v0.1.0Updated Nov 24, 2026stdio · npm

Estimate and compare OpenAI, Claude and Gemini API costs, gross margin and break-even price.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add ai-api-cost-mcp -- npx -y [email protected]

Configuration

1 setting.

  • AI_API_COST_MCP_OFFLINE
    Env var· optional
    Set to 1 to skip the live rates download and use only the rates bundled with the package.

Listed in the official MCP Registry since Nov 24, 2026. Mirrored daily; last checked Nov 26, 2026.