calculate_cost — AI Pricing Hub MCP Tool
calculate_cost
(calculate cost) is one of 11 tools on the
AI Pricing Hub
MCP server. Connect the server and your client discovers it on the handshake.
by client
How to call calculate_cost from your client
- Claude Code AI Pricing Hub calculate_cost run in your project directory
- Claude Desktop AI Pricing Hub calculate_cost ~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor AI Pricing Hub calculate_cost ~/.cursor/mcp.json
- VS Code AI Pricing Hub calculate_cost .vscode/mcp.json
- Zed AI Pricing Hub calculate_cost ~/.config/zed/settings.json
- Windsurf AI Pricing Hub calculate_cost ~/.codeium/windsurf/mcp_config.json
- Cline AI Pricing Hub calculate_cost ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Gemini CLI AI Pricing Hub calculate_cost ~/.gemini/settings.json
- Grok AI Pricing Hub calculate_cost .mcp.json (in your project root)
- ChatGPT AI Pricing Hub calculate_cost Settings → Connectors → Advanced → Developer mode
- Claude.ai AI Pricing Hub calculate_cost Settings → Connectors → Add custom connector
- LangChain AI Pricing Hub calculate_cost pip install langchain-mcp-adapters
Fastest route
claude mcp add --transport http aipricinghub https://aipricinghub.com/mcp/rpc
Other tools on this server
This list was read from the server itself, by connecting to it and calling tools/list on 24 September 2026. It is what
the server actually exposes, not what its listing claims.
Mutating and Read-only are read off each tool's name, not its schema — a hint, not a guarantee. The registry stores tool names only; connect the server for its live schemas.