Agent Cost Log
by botrecipe.com · remote · no sign-in to list tools · v1.0.0 · published by com.botrecipe
Cost per run, tool, model and day for AI agents, from one call or an OpenTelemetry export.
4 tools: 2 change things and 2 only read.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone0Claude Code: ask
- Changes things2Claude Code: ask: see these tools
- Only reads2Claude Code: allow: see these tools
No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http costlog https://costlog.cloudforbots.com/mcpTools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
4 tools
Changes things 2Claude Code: ask
cost_reportCost per run, per tool, per model and per day.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Description, as the server wrote it 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.
weekly_reportPlain-English summary of the last 7 days of spend: total, top runs, top tools, top models, busiest day.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Description, as the server wrote it 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.
Only reads 2Claude Code: allow
log_costsLog what your agent's model and tool calls cost, then get the running total for the run and for today.No findings
Why it is in this group
- The name "log_costs" says "log": a word for reading.
Description, as the server wrote it 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.
usage_and_upgradeShow today's usage for your key or IP and the $9/month upgrade link.No findings
Why it is in this group
- The description's first verb is "show": a word for reading.
Description, as the server wrote it Show today's usage for your key or IP and the $9/month upgrade link. Free tier: 500 calls/day. Not metered.
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 1.0.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http costlog https://costlog.cloudforbots.com/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [
"mcp__costlog__log_costs",
"mcp__costlog__usage_and_upgrade"
],
"ask": [
"mcp__costlog__cost_report",
"mcp__costlog__weekly_report"
],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as costlog. Review it before you use it.