Skip to main content
MCP server CX Codex

Agent Cost Hub — Claude Code MCP server: features and setup

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.

MIT updated 2026-11-02

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http agent-cost-hub https://agentcosthub.com/mcp
Open on GitHub

What Agent Cost Hub 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.

What it helps with

  • 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 for the agent

  • 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.

How to install Agent Cost Hub

Platform CLI: remote server

claude mcp add --transport http agent-cost-hub https://agentcosthub.com/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Agent Cost Hub

How do I install Agent Cost Hub in Claude Code?

Run claude mcp add --transport http agent-cost-hub https://agentcosthub.com/mcp. It connects over HTTP.

What does Agent Cost Hub do?

It looks up model prices and estimates monthly AI agent costs. It can also compare models for one workload or rank lower-cost options.

What does Agent Cost Hub need to run?

Connect to https://agentcosthub.com/mcp. No sign-in or API key is required.

Similar MCP servers

All MCP servers for AI and ML →

Project sponsors

Companies that keep this analytics open