Agent Cost Log MCP
An MCP server that logs AI agent costs per run, tool, model, and day. It supports sending cost events or OpenTelemetry exports to generate usage reports, track spending against caps, and provide webhook alerts for budget overages, helping solo builders monitor and control AI infrastructure expenses.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://costlog.cloudforbots.com/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Not annotated (4)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to botrecipe.com ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Log costs for model and tool calls
- Generate cost reports per run and day
- Set spending caps and receive alerts
- Export OpenTelemetry traces for billing
Source and maintenance
Protocol and capabilities
- Server
- agent-cost-log 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 4 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
log_costs
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.
{
"type": "object",
"properties": {
"otel": {
"type": "object",
"description": "OTLP/JSON export: { resourceSpans: [...] }."
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "ISO time of the call (default now; at most 30 days back)."
},
"tool": {
"type": "string",
"description": "Tool or step name, e.g. \"web_search\"."
},
"agent": {
"type": "string"
},
"model": {
"type": "string",
"description": "Model name as your provider bills it."
},
"run_id": {
"type": "string"
},
"cost_usd": {
"type": "number",
"description": "What the call cost, if your provider returns it. Otherwise pass tokens plus price_in_per_m / price_out_per_m."
},
"input_tokens": {
"type": "integer"
},
"output_tokens": {
"type": "integer"
},
"price_in_per_m": {
"type": "number",
"description": "Your input price in USD per 1M tokens (from your provider's price page)."
},
"price_out_per_m": {
"type": "number",
"description": "Your output price in USD per 1M tokens."
}
}
}
},
"run_id": {
"type": "string",
"description": "Stable id for this run (default \"default\")."
},
"run_cap_usd": {
"type": "number"
},
"alert_webhook": {
"type": "string",
"description": "https URL Pro posts the cap alert to."
},
"daily_cap_usd": {
"type": "number"
},
"price_in_per_m": {
"type": "number",
"description": "Default input USD per 1M tokens for events without cost_usd."
},
"price_out_per_m": {
"type": "number",
"description": "Default output USD per 1M tokens."
}
}
}cost_report
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.
{
"type": "object",
"properties": {
"days": {
"type": "integer",
"description": "1-30 (free max 7)."
},
"run_id": {
"type": "string"
}
}
}weekly_report
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.
{
"type": "object",
"properties": {}
}usage_and_upgrade
Show today's usage for your key or IP and the $9/month upgrade link. Free tier: 500 calls/day. Not metered.
{
"type": "object",
"properties": {}
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 583 ms
- 95th percentile latency
- 708 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 722 ms · 4 tool(s)
- · probe · passed · 444 ms · metadata changed · 4 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http agent-cost-log-mcp https://costlog.cloudforbots.com/mcpCodex
codex mcp add agent-cost-log-mcp --url https://costlog.cloudforbots.com/mcpCursor
{
"mcpServers": {
"agent-cost-log-mcp": {
"url": "https://costlog.cloudforbots.com/mcp"
}
}
}Cline
{
"mcpServers": {
"agent-cost-log-mcp": {
"type": "streamableHttp",
"url": "https://costlog.cloudforbots.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"agent-cost-log-mcp": {
"type": "http",
"url": "https://costlog.cloudforbots.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http agent-cost-log-mcp https://costlog.cloudforbots.com/mcpClaude Desktop
https://costlog.cloudforbots.com/mcpWindsurf
{
"mcpServers": {
"agent-cost-log-mcp": {
"serverUrl": "https://costlog.cloudforbots.com/mcp"
}
}
}Let your agent find its tools
Find servers like Agent Cost Log MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other ai and machine learning servers
Do you run Agent Cost Log MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.