Claude API Pricing
Current Claude API prices and workload cost estimates with caching and batch discounts
- Pricing
- Free
- Platforms
- API
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- 3 days ago
About Claude API Pricing
Claude API Pricing is a free MCP server for ai models and llm tooling. It runs as a hosted remote server, so there is nothing to install locally.
Instead of guessing, an assistant can look up per-million-token prices for every current Claude model, including cache writes and reads, and work out what a request or monthly workload costs. The estimator handles prompt caching, the Batch API discount and long-prompt pricing, and a comparison tool ranks the same workload across models from cheapest up.
The server reads the same price table as the vendor's Claude API cost calculator, checked against Anthropic's pricing page, and each answer states the date of the table. It is stateless, read-only, needs no key, and the vendor says it does not log or store requests.
The code is a small dependency-free Streamable HTTP implementation on Cloudflare Pages Functions, offered publicly as an example of a remote server.
Install
Run in a terminal
claude mcp add --transport http claude-pricing https://agentwright.app/mcpAdd to Settings → Connectors → Add custom connector
https://agentwright.app/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"claude-pricing": {
"url": "https://agentwright.app/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"claude-pricing": {
"type": "http",
"url": "https://agentwright.app/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"claude-pricing": {
"serverUrl": "https://agentwright.app/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"claude-pricing": {
"type": "http",
"url": "https://agentwright.app/mcp"
}
}
}Tools this server provides (3)
Taken from the project documentation; the running server may differ.
- list_claude_models
- Current models and prices per million tokens
- estimate_claude_cost
- Cost of a request or workload from token counts
- compare_claude_models
- Same workload on every Claude model, cheapest first
What it does
- Model price list
- Per-million-token input, output, cache write and read prices.
- Cost estimates
- Estimate a request or a monthly workload.
- Caching math
- Models savings from cached prompts.
- Batch pricing
- Includes Batch API discount.
- Model comparison
- Cheapest model first.
- Dated answers
- States the price table date.
Good for
- Estimate monthly spend for a chat feature
- Compare models on one workload
- Evaluate the Batch API for nightly jobs
- Check savings from a cached system prompt
Pricing
Free
Free remote server, no sign-up
Prices change. Check agentwright.app before you buy.
Claude API Pricing FAQ
Does it need an API key?
No sign-up, key or install.
Where do prices come from?
The vendor's price table, checked against the official Claude pricing page.
Are requests logged?
The vendor says it does not log or store them.
Is the source public?
Yes, functions/mcp.ts.
Is Claude API Pricing free?
Yes. Claude API Pricing is free to use.
How do I add Claude API Pricing to Claude Code?
Run this command in your terminal: claude mcp add --transport http claude-pricing https://agentwright.app/mcp
What are the best alternatives to Claude API Pricing?
The closest alternatives to Claude API Pricing are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Claude API Pricing

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools