
Agent Costcenter
io.github.mdfifty50-boopPublished by GitHub account mdfifty50-boopv0.1.3Updated Oct 24, 2026
Multi-agent billing and cost allocation tracking
Overview
A local MCP server that tracks per-agent LLM and tool spending, budgets, cost reports and anomalies across an AI agent fleet.
- What you can do
- Register agents with team, project, model and budget cap, and log LLM or tool calls with automatic cost calculation from a built-in pricing table for 11 models with fuzzy name matching. Set budget alerts that warn or block, and check whether an agent is within budget. Produce cost reports broken down by agent, team, project or all, with model-level detail and percentages. Detect agents with 2x or larger spending spikes and compare cost per 1K tokens across models. Expose summary and pricing resources for current total spend and the pricing table.
- When to use it
- Useful when you run several AI agents and want to know which one costs the most, attribute spend to teams or projects, enforce budget caps, or spot unusual spending spikes. Suited to local, desktop-based cost tracking rather than production billing.
- Requirements
- Runs as a local process on the user's machine via npx agent-costcenter-mcp (Node.js required). Desktop only; no web executable. No authentication, environment variables or headers are declared.
Installation
In SourceWeft
- Open Agent Costcenter in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Claude Desktop
Tools
Resources
Built-in Pricing (per 1M tokens)
Model names are fuzzy-matched (case-insensitive, strips version suffixes).
Example Workflow
Development
License
MIT
Source: README.md at commit 33b0cfe
Tools
0Version history
1- v0.1.3LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.