1. Conduid
  2. Agents
  3. io.github.mdfifty50-boop/agent-costcenter
MCP server · Agents

io.github.mdfifty50-boop/agent-costcenter

Multi-agent billing and cost allocation tracking

Unclaimed agents
37Low

Scored 5 months ago · breakdown

About io.github.mdfifty50-boop/agent-costcenter

io.github.mdfifty50-boop/agent-costcenter is an MCP server in the Agents category: multi-agent billing and cost allocation tracking.

Install

Claude Code
claude mcp add io-github-mdfifty50-boop-agent-costcenter -- npx -y agent-costcenter-mcp
npx
npx -y agent-costcenter-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (7)

check_budgetCheck if agent is within budget

Parameters not published.

compare_modelsCompare cost efficiency across models

Parameters not published.

get_cost_anomaliesFind agents with unusual spending spikes

Parameters not published.

get_cost_reportCost breakdown by agent, team, project, or all

Parameters not published.

log_llm_callLog an LLM call — auto-calculates cost from pricing table

Parameters not published.

register_agentRegister agent with team, project, model, and budget cap

Parameters not published.

set_budget_alertSet spending threshold (warn or block)

Parameters not published.

Ask AI

✦

Ask AI about io.github.mdfifty50-boop/agent-costcenter

Powered by Claude · Grounded in docs

I know everything about io.github.mdfifty50-boop/agent-costcenter. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

agent-costcenter-mcp

MCP server for per-agent cost attribution and budget management. Answer "which agent costs the most?" across your entire AI agent fleet.

Features

  • Per-agent cost tracking — register agents, log LLM and tool calls, get per-agent spend
  • Built-in pricing table — 11 models (Claude, GPT, Gemini, DeepSeek) with fuzzy name matching
  • Budget management — set caps and alerts, check remaining budget, warn or block on overspend
  • Cost reports — breakdown by agent, team, project, or all; includes model-level detail and percentages
  • Anomaly detection — automatically flag agents with 2x+ spending spikes
  • Model comparison — compare cost-per-1K-tokens across all models used

Quick Start

npx agent-costcenter-mcp

Claude Desktop

{
  "mcpServers": {
    "agent-costcenter": {
      "command": "npx",
      "args": ["agent-costcenter-mcp"]
    }
  }
}

Tools

Tool Description
register_agent Register agent with team, project, model, and budget cap
log_llm_call Log an LLM call — auto-calculates cost from pricing table
log_tool_call Log a tool/API call cost
get_cost_report Cost breakdown by agent, team, project, or all
set_budget_alert Set spending threshold (warn or block)
check_budget Check if agent is within budget
get_cost_anomalies Find agents with unusual spending spikes
compare_models Compare cost efficiency across models

Resources

URI Description
costcenter://summary Current total spend across all agents
costcenter://pricing Built-in model pricing table

Built-in Pricing (per 1M tokens)

Model Input Output
claude-opus-4 $15.00 $75.00
claude-sonnet-4 $3.00 $15.00
claude-haiku-4 $0.80 $4.00
gpt-4o $2.50 $10.00
gpt-4o-mini $0.15 $0.60
gpt-4.1 $2.00 $8.00
gpt-4.1-mini $0.40 $1.60
gemini-2.5-pro $1.25 $10.00
gemini-2.5-flash $0.15 $0.60
deepseek-v3 $0.27 $1.10
deepseek-r1 $0.55 $2.19

Model names are fuzzy-matched (case-insensitive, strips version suffixes).

Example Workflow

1. register_agent(agent_id="researcher", team="discovery", model="claude-sonnet-4", budget_cap_usd=10)
2. log_llm_call(agent_id="researcher", model="claude-sonnet-4", input_tokens=5000, output_tokens=2000)
3. log_tool_call(agent_id="researcher", tool_name="web_search", duration_ms=1200, cost_usd=0.01)
4. check_budget(agent_id="researcher")
5. get_cost_report(scope="all")
6. get_cost_anomalies()
7. compare_models()

Development

npm install
npm test
npm run dev  # watch mode

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.mdfifty50-boop/agent-costcenter

How do I install io.github.mdfifty50-boop/agent-costcenter?

Run claude mcp add io-github-mdfifty50-boop-agent-costcenter -- npx -y agent-costcenter-mcp, then add the server to your MCP client's configuration.

Is io.github.mdfifty50-boop/agent-costcenter safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.mdfifty50-boop/agent-costcenter still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.