# Agent Cost Hub

The Agent Cost Hub MCP server for Claude Code looks up model prices and estimates monthly AI agent costs. It can compare models for a workload or rank them by estimated price.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: agentcosthub
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/agentcosthub/agent-cost-hub-mcp
- Updated: 2026-11-02
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/agent-cost-hub

## What it does

The server returns prices for input, output, and cached tokens, then estimates monthly agent spend. Its tools can fetch one model’s rates, compare models against the same workload, or find low-cost options. Choose a preset such as `coding_agent` or provide custom workload values.

The estimate factors in task steps, input and output tokens, cached-token share, and daily call volume. It uses listed prices and excludes cache-write fees. Prices are checked daily, and each result includes the last verification date. The hosted endpoint uses HTTP and requires no sign-in or API key.

## Requirements
- Remote server: `https://agentcosthub.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http agent-cost-hub https://agentcosthub.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add agent-cost-hub --url https://agentcosthub.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agent-cost-hub": {
            "url": "https://agentcosthub.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agent-cost-hub": {
            "type": "http",
            "url": "https://agentcosthub.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http agent-cost-hub https://agentcosthub.com/mcp
```

## When to use it
- estimate monthly spending for an AI agent
- compare model prices for one workload
- find low-cost models for a chatbot or coding agent
- look up a model’s input and output token rates

## Example prompts
- Estimate the monthly cost of `coding_agent` with `anthropic/claude-opus-5.5`.
- Compare models for a `rag` workload.
- Find the cheapest models for the `coding_agent` preset.

## Similar
- [OperatorNest tools](https://affpapa.org/en/nevibecode/mcp/operatornest-tools.md) — MCP server
- [Promptibus MCP](https://affpapa.org/en/nevibecode/mcp/promptibus-mcp.md) — MCP server · ★ 3 repo stars
- [nable](https://affpapa.org/en/nevibecode/mcp/getnable-nable.md) — MCP server · ★ 20 repo stars
- [Sato Hub: Onchain Agents](https://affpapa.org/en/nevibecode/mcp/sato-hub-onchain-agents.md) — MCP server · 922 installs
- [Sato Hub: Build Onchain & Crypto Agents](https://affpapa.org/en/nevibecode/mcp/sato-hub-build-onchain-crypto-agents.md) — MCP server · ★ 16 repo stars
- [//beforeyouship — LLM cost modeling from your editor](https://affpapa.org/en/nevibecode/mcp/beforeyouship-llm-cost-modeling-from-your-editor.md) — MCP server · 169 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
