Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Agent Cost Center

БесплатноПоддерживается

Tracks billing and cost allocation for multi-agent workflows and agentic deployments.

GitHubEmbed

Описание

Tracks billing and cost allocation for multi-agent workflows and agentic deployments.

README

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

from github.com/mdfifty50-boop/agent-costcenter-mcp

Установить Agent Cost Center в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install agent-cost-center

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add agent-cost-center -- npx -y agent-costcenter-mcp

Пошаговые гайды: как установить Agent Cost Center

FAQ

Agent Cost Center MCP бесплатный?

Да, Agent Cost Center MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Agent Cost Center?

Нет, Agent Cost Center работает без API-ключей и переменных окружения.

Agent Cost Center — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Agent Cost Center в Claude Desktop, Claude Code или Cursor?

Открой Agent Cost Center на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Изменения

Версии и запрашиваемые доступы со временем.

  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована

Похожие MCP

$5

Stripe

Payments, customers, subscriptions

Stripeавтор: Stripe

malamutemayhem/unclick-agent-native-endpoints

110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n

malamutemayhemавтор: malamutemayhem

whiteknightonhorse/APIbase

Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa

whiteknightonhorseавтор: whiteknightonhorse

trackerfitness729-jpg/sitelauncher-mcp-server

Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr

trackerfitness729-jpgавтор: trackerfitness729-jpg

embeddedlayers/mcp-analytics

Statistical analysis, forecasting, and ML for business data (Shopify, Stripe, WooCommerce, eBay, GA4, Search Console). Upload a CSV or connect live data sources

embeddedlayersавтор: embeddedlayers

carrierone/verilexdata-mcp

20 structured datasets (NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents, economic indicators) via x402 pay-per-query wit

carrieroneавтор: carrierone

tipdotmd/tip-md-x402-mcp-server

MCP server for cryptocurrency tipping through AI interfaces using x402 payment protocol and CDP Wallet.

tipdotmdавтор: tipdotmd

laundromatic/shopgraph

Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev

laundromaticавтор: laundromatic

mrslbt/xendit-mcp

Xendit payment gateway for Southeast Asia. Invoices, disbursements, balance checks, and bank transfers across Indonesia, Philippines, Thailand, Vietnam, and Mal

mrslbtавтор: mrslbt

@arbitova/mcp-server

Non-custodial on-chain escrow + AI dispute arbitration for agent-to-agent USDC payments on Base. Seven tools covering the full EscrowV1 contract surface: create

jiayuanliang0716-maxавтор: jiayuanliang0716-max

Compare Agent Cost Center with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории finance