Claude API Pricing
Preços atuais da Claude API e estimativas de custo por solicitação ou carga de trabalho, com cache de prompts e Batch API.
Servidor MCP hospedado
npx add-mcp 'https://agentwright.app/mcp'Instala no Claude Code, Codex, Cursor e outros
Documentação
A free, remote MCP server that lets your AI assistant answer "what will this cost on Claude?" with current prices instead of guesses. It knows every current Claude model, prompt caching and the Batch API discount. No sign-up, no API key, nothing to install.
Server URL
https://agentwright.app/mcp
Transport: Streamable HTTP. Read-only, stateless, no authentication. We do not log or store your requests.
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.