Add it to your client
Claude Code
claude mcp add --transport http claude-pricing https://agentwright.app/mcp
Claude desktop app and claude.ai: Settings → Connectors → Add custom connector, then paste https://agentwright.app/mcp as the URL.
Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"claude-pricing": { "url": "https://agentwright.app/mcp" }
}
}
VS Code (.vscode/mcp.json)
{
"servers": {
"claude-pricing": { "type": "http", "url": "https://agentwright.app/mcp" }
}
}
Tools
| Tool | What it does |
|---|---|
list_claude_models | Current models and prices per million tokens: input, output, cache writes, cache reads |
estimate_claude_cost | Cost of a request or a whole workload from token counts, with caching, Batch API and long-prompt pricing |
compare_claude_models | The same workload on every Claude model, cheapest first |
Things to ask
- "Our chat feature sends 3,000 input and 500 output tokens per message, 40 messages per user per day. What does one user cost per month on Sonnet 5.5, and on Haiku?"
- "If 80% of the prompt is a cached system prompt, how much do we save?"
- "Is it worth moving our nightly summaries to the Batch API?"
Where the prices come from
The server reads the same price table as our Claude API cost calculator, checked against the official Claude pricing page. Every answer states the date of the table it used. If you spot a wrong price, tell us at hello@agentwright.app.
The source code is public: functions/mcp.ts. It is a small, dependency-free implementation of the MCP Streamable HTTP transport on Cloudflare Pages Functions, so it also works as an example of a remote MCP server.