About Agent Cost Hub
Agent Cost Hub is a read-only MCP server for looking up LLM prices and estimating monthly AI agent costs. It offers model comparisons and workload presets, using a price list checked daily.
Key features
- 01Browse prices for 79 models
- 02Estimate monthly costs by workload
- 03Compare 2–5 models
- 04Find low-cost models for presets
- 05Filter and search model listings
Use cases
- 01Estimate a coding agent’s monthly spend
- 02Compare model costs for a RAG chatbot
- 03Find lower-cost models for a defined workload
MCP support
Provides read-only tools over the remote Streamable HTTP endpoint https://agentcosthub.com/mcp, with no sign-in or API key. MCP clients can retrieve prices, compare models, and estimate costs.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://agentcosthub.com/mcpclaude mcp add --transport http com-agentcosthub-agent-cost-hub https://agentcosthub.com/mcp{"mcpServers":{"com-agentcosthub-agent-cost-hub":{"type":"http","url":"https://agentcosthub.com/mcp"}}}Open in Cursor{"servers":{"com-agentcosthub-agent-cost-hub":{"type":"http","url":"https://agentcosthub.com/mcp"}}}Open in VS Code{"mcpServers":{"com-agentcosthub-agent-cost-hub":{"type":"http","url":"https://agentcosthub.com/mcp"}}}{"mcpServers":{"com-agentcosthub-agent-cost-hub":{"serverUrl":"https://agentcosthub.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEAgent Cost Hub MCP server
A free, read-only MCP server that lets AI assistants (Claude, Cursor, and other MCP clients) answer: "What will this AI agent cost me per month?"
It uses the same price list and formula as agentcosthub.com. The price list covers 79 models and is checked daily.
- Endpoint:
https://agentcosthub.com/mcp(Streamable HTTP, no sign-in, no API key) - Setup page: https://agentcosthub.com/mcp/
- Official MCP Registry:
com.agentcosthub/agent-cost-hub - The server makes no model calls, needs no secrets, and doesn't store your queries.
Connect
Claude (claude.ai: Pro, Max, Team)
Settings → Connectors → Add custom connector → paste https://agentcosthub.com/mcp → choose No sign-in.
Claude Desktop (claude_desktop_config.json; Desktop uses stdio, so it bridges with mcp-remote):
{ "mcpServers": { "agentcosthub": { "command": "npx", "args": ["-y", "mcp-remote", "https://agentcosthub.com/mcp"] } } }
Cursor (~/.cursor/mcp.json):
{ "mcpServers": { "agentcosthub": { "url": "https://agentcosthub.com/mcp" } } }
Then ask, for example: "What's the cheapest model for a coding agent?" or "Compare Claude Sonnet 5.5 and GPT-5 for a RAG chatbot."
Tools
| Tool | What it does |
|---|---|
list_models | Models with price per 1M input / output / cached tokens (filter by provider, search, popular) |
get_model_price | One model's prices plus example monthly agent costs |
estimate_cost | Monthly cost for one model, from a preset or your own numbers |
compare_models | 2–5 models side by side for one workload |
cheapest_models_for | Cheapest models for a preset or custom workload |
Presets
| Preset | Tokens in / out per call | Volume | Steps | Cached |
|---|---|---|---|---|
chatbot | 800 / 300 | 1,000 calls/day | 1 | 0% |
rag | 4,000 / 400 | 500 calls/day | 1 | 0% |
coding_agent | 20,000 / 1,500 | 50 tasks/day | 15 | 50% |
research_agent | 8,000 / 1,000 | 100 tasks/day | 10 | 50% |
Formula
steps × (in × (1−cached%) × in_price + in × cached% × cached_price + out × out_price) ÷ 1M × calls/day × 30
The estimate uses list prices and leaves out cache-write fees. Every result includes prices_last_verified and a link to the matching agentcosthub.com page.
Example outputs (live, 2 Nov 2026)
cheapest_models_for { "preset": "coding_agent" }, top 5:
| Model | Monthly | Per task |
|---|---|---|
| Claude Haiku 5.5 | $41.63 | $0.028 |
| Llama 4 Maverick | $75.46 | $0.050 |
| DeepSeek V4.1 Flash | $109 | $0.073 |
| GPT-5 Mini | $129 | $0.086 |
| Mistral Large 4 | $244 | $0.163 |
estimate_cost { "model": "anthropic/claude-opus-5.5", "preset": "coding_agent" } → $1,620/month. With "cached_percent": 90 it drops to $936/month.
The trimmed raw response looks like this:
{
"workload": { "input_tokens": 20000, "output_tokens": 1500, "calls_per_day": 50,
"steps_per_task": 15, "cached_percent": 50, "preset": "coding_agent" },
"ranking": [ { "model": "anthropic/claude-haiku-5.5", "name": "Claude Haiku 5.5",
"monthly_usd": 41.625, "monthly": "$41.63", "per_task_usd": 0.02775,
"page": "https://agentcosthub.com/models/anthropic--claude-haiku-5.5/" } ],
"prices_last_verified": "2026-11-02",
"source": "https://agentcosthub.com"
}
Prices change, so these numbers are a snapshot. A live call always returns the current figures.
Try it from a terminal:
curl -s https://agentcosthub.com/mcp -H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cheapest_models_for","arguments":{"preset":"chatbot"}}}'
Or use the MCP Inspector:
npx @modelcontextprotocol/inspector --cli https://agentcosthub.com/mcp --transport http --method tools/list
Repo layout
src/mcp-core.mjsis the JSON-RPC MCP server, written with no SDK. It's a source reference: it imports the price data and formula from the agentcosthub.com site build, which isn't in this repo.dist/mcp-core.jsis a self-contained bundle that includes a price snapshot. The hosted endpoint is always the current version.src/worker.mjsandsrc/wrangler.tomlare an optional standalone Cloudflare Worker.server.jsonis the MCP Registry manifest.
Notes
- Estimates only. Cheaper models aren't always as capable, so test on your own tasks.
- AI tools helped build this project, and every price is checked against the providers' official pages.
- Issues and suggestions are welcome. You can also email [email protected].
MIT licensed. Made by Agent Cost Hub.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.