Token guard and rate limiter preventing runaway API cost spikes for OpenAI and Anthropic.
AI API Cost Calculator MCP Server
Published by m-mustufaEstimate and compare OpenAI, Claude and Gemini API costs, gross margin and break-even price.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.1.0
- SOURCE CHECKED
- Nov 29, 2026
Quick answers
How do I add AI API Cost Calculator MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --transport stdio ai-api-cost-calculator -- npx -y ai-api-cost-mcpCursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"ai-api-cost-calculator": {
"command": "npx",
"args": [
"-y",
"ai-api-cost-mcp"
]
}
}
}CodexCommand
Run this in your terminal:
codex mcp add ai-api-cost-calculator -- npx -y ai-api-cost-mcpVS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"ai-api-cost-calculator": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ai-api-cost-mcp"
]
}
}
}Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"ai-api-cost-calculator": {
"command": "npx",
"args": [
"-y",
"ai-api-cost-mcp"
]
}
}
}ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use AI API Cost Calculator MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does AI API Cost Calculator MCP Server need an API key?
Its listing declares no key or settings needed to run it.
Is AI API Cost Calculator MCP Server official?
It's published by m-mustufa. The Official MCP Registry accepts names under io.github.m-mustufa only from the GitHub account or organisation m-mustufa. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · ai-api-cost-mcp@0.1.0