Agent Cost Log
Server Details
Cost per run, tool, model and day for AI agents, from one call or an OpenTelemetry export.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
cost_report, weekly_report, and usage_and_upgrade all surface spend information, so there is mild overlap. However, descriptions differentiate them well: cost_report is a flexible granular breakdown, weekly_report is a fixed 7-day plain-English summary, and usage_and_upgrade is quota/metering plus an upgrade link. log_costs is clearly the write path.
All names use consistent snake_case, which is good. The semantic pattern is slightly mixed (log_costs is verb_noun while cost_report, weekly_report, and usage_and_upgrade are noun phrases), but each name is readable and predictable.
Four tools is a tight, focused set for a cost-logging server: log, report, weekly summary, and usage/upgrade. It is on the lean side with no per-run detail or config tool, but nothing is redundant enough to bloat the surface.
The core lifecycle of logging costs and reading them back is covered, including caps, alerts, and quota visibility. Minor gaps exist (no way to inspect or delete individual logged events, no webhook/config management), but these are workable given the append-only nature of cost logging.
Available Tools
4 toolscost_reportAInspect
Cost per run, per tool, per model and per day. Without an API key pass run_id (one run). With a key: everything on that key. Free shows 7 days, Pro 30.
Inputs: days, run_id.
log_costsAInspect
Log what your agent's model and tool calls cost, then get the running total for the run and for today. Pass events (one per call, up to 500) or an OpenTelemetry OTLP/JSON trace export as otel (gen_ai.usage.input_tokens / output_tokens / gen_ai.request.model are read; trace id becomes run_id). Give cost_usd per call, or tokens plus your own per-million prices; nothing is guessed. Optional caps: run_cap_usd and daily_cap_usd. Free watch-only returns would_alert when a cap is crossed; Pro posts one alert per day to alert_webhook. Never blocks or changes your agent.
Inputs: otel, events, run_id, run_cap_usd, +4 more.
usage_and_upgradeAInspect
Show today's usage for your key or IP and the $9/month upgrade link. Free tier: 500 calls/day. Not metered.
Inputs: no named parameters.
weekly_reportAInspect
Plain-English summary of the last 7 days of spend: total, top runs, top tools, top models, busiest day. Read-only; sends nothing. Needs a free API key.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
AI spend by team, developer and API key for Claude, OpenAI, Gemini and coding agents.
Sourced LLM API prices and cost budgets for agent runs across OpenAI, Claude, Gemini and more.
See, price, and control every tool call your AI agents make: policy checks, cost, and audit tools.
LLM API prices and AI agent cost estimates, verified daily. Read-only cost lookup tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to track LLM costs, enforce budgets, compare models, and estimate expenses through simple tool calls.-
- AlicenseAqualityDmaintenanceTracks AI agent token usage and spending in real time, with budget alerts, per-task cost breakdown, and a visual dashboard.61MIT
- AlicenseAqualityBmaintenanceLocal, payload-free AI cost visibility for agents. Track spend by model, route, customer, or tagged work without storing prompt or response bodies.21Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to pre-flight estimate query costs, enforce hard budgets, reconcile actual billed spend, and suggest cheaper rewrites across BigQuery, Snowflake, and Databricks.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.