# Claude API Pricing

This MCP server for Claude Code provides Claude API prices and cost estimates. It covers prompt caching and Batch API pricing.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: agentwright-app
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/agentwright-app/site/tree/HEAD/functions
- Updated: 2026-11-14
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/claude-api-pricing

## What it does

The server provides Claude API prices and estimates usage costs, including prompt caching and Batch API. It serves requests to check API rates or estimate the cost of planned usage.

Claude Code connects to the remote endpoint `https://agentwright.app/mcp`. Add it with `claude mcp add --transport http claude-pricing https://agentwright.app/mcp`.

## Requirements
- Remote server: `https://agentwright.app/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http claude-pricing https://agentwright.app/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add functions --url https://agentwright.app/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "functions": {
            "url": "https://agentwright.app/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "functions": {
            "type": "http",
            "url": "https://agentwright.app/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http functions https://agentwright.app/mcp
```

## When to use it
- look up Claude API prices
- estimate Claude API usage costs
- include prompt caching and Batch API rates

## Example prompts
- Look up current Claude API prices.
- Estimate these requests with prompt caching.
- Compare the cost with Batch API pricing.

## Similar
- [AICostBudget AI API Pricing](https://affpapa.org/en/nevibecode/mcp/aicostbudget-ai-api-pricing.md) — MCP server · ★ 5 repo stars
- [ATOM Pricing Intelligence](https://affpapa.org/en/nevibecode/mcp/atom-pricing-intelligence.md) — MCP server · 4780 installs
- [azure-pricing](https://affpapa.org/en/nevibecode/skills/azure-pricing.md) — skill · 4700 installs
- [catalyst-pricing](https://affpapa.org/en/nevibecode/skills/catalyst-pricing.md) — skill · 1200 installs
- [localized-pricing](https://affpapa.org/en/nevibecode/skills/localized-pricing.md) — skill · 198 installs
- [openrouter-pricing-basics](https://affpapa.org/en/nevibecode/skills/openrouter-pricing-basics.md) — skill · 2 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
