loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

agent-cost-mcp

MCP Tool

vanthienha199/agent-cost-mcp

MCP server for tracking AI agent costs in real time. Per-message spending, budget alerts, visual dashboard. Works with Claude Code, Cursor, Windsurf, Codex, Gemini CLI, OpenClaw. Stop overspending on AI APIs.MCP server that tracks AI agent spending in real time. Visual dashboard, budget alerts, 15+ models. Works with Claude Code, Cursor, Windsurf.

Install

$ npx loaditout add vanthienha199/agent-cost-mcp

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "agent-cost-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "agent-cost-mcp"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

agent-cost-mcp

MCP server that tracks AI agent token usage and spending in real time. Budget alerts, per-task cost breakdown, visual dashboard, daily/weekly/monthly reports.

Works with any MCP client: Claude Code, Cursor, Windsurf, Codex, Gemini CLI, and more.

[](LICENSE) [](https://python.org) [](https://modelcontextprotocol.io)

Why?

Every developer using AI agents worries about spending. Most tools don't tell you what each message costs until the bill arrives.

This MCP server tracks it in real time — per message, per model, per day. Set a budget, get alerts, see exactly where your money goes.

Features
  • Visual dashboard — dark-themed web UI with spending charts, budget gauges, and activity log
  • Per-message cost logging — see what each AI interaction costs instantly
  • Budget alerts — warns when approaching daily/monthly limits
  • Cost reports — today, this week, this month, all time
  • Model breakdown — donut chart showing which model eats your budget
  • Spending trends — 14-day bar chart with color-coded spending
  • 15+ models supported — Claude, GPT, DeepSeek, Gemini, Llama
  • Estimate before running — check cost before expensive tasks
  • Local storage — all data stays on your machine (~/.agent-cost-mcp/)
  • Auto-refresh — dashboard updates every 30 seconds
Quick Start
1. Install
pip install agent-cost-mcp

Or with uv:

uv pip install agent-cost-mcp
2. Add to your AI tool

Claude Code — add to ~/.claude/settings.json:

{
  "mcpServers": {
    "agent-cost": {
      "command": "agent-cost-mcp"
    }
  }
}

Cursor — add to .cursor/mcp.json:

{
  "mcpServers": {
    "agen

Tags

aiai-agentanthropicbudgetclaude-codecodexcost-trackercursordeveloper-toolsllmmcpmcp-serveropenaispendingtoken-usagewindsurf

Reviews

Loading reviews...

Quality Signals

1
Stars
0
Installs
Last updated19 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/27/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/vanthienha199/agent-cost-mcp)](https://loaditout.ai/skills/vanthienha199/agent-cost-mcp)