Koskamo

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.

Agent Cost Log MCP logo, by Supa HumansVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Supa Humans
You need:Get a free API keyKey instantly after checkout
MCP endpoint (Streamable HTTP)
https://costlog.cloudforbots.com/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

4 of 4 have a description · 0 of 4 declare behavior hints · 0 of 2 with parameters document them all

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

Vendor evidenceRegistry 1.0.0

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
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Cost log for AI agents. One call, or your OpenTelemetry export, turns into cost per run, per tool, per model and per day, with 30-day history. No evals, no prompts, no proxy. Free watch-only mode logs and flags runs over your cap; Pro at $9 a month posts the alert and keeps 30 days. Free 500 calls/day, then $9/month. No model inside: bring your own model. Works with Claude, Codex, ChatGPT, Grok Bot.

Tools

4 advertised

log_costs
Advertised by the server during the last successful anonymous check.

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.

log_costs input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

cost_report input schema
{
  "type": "object",
  "properties": {
    "days": {
      "type": "integer",
      "description": "1-30 (free max 7)."
    },
    "run_id": {
      "type": "string"
    }
  }
}
weekly_report
Advertised by the server during the last successful anonymous check.

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.

weekly_report input schema
{
  "type": "object",
  "properties": {}
}
usage_and_upgrade
Advertised by the server during the last successful anonymous check.

Show today's usage for your key or IP and the $9/month upgrade link. Free tier: 500 calls/day. Not metered.

usage_and_upgrade input schema
{
  "type": "object",
  "properties": {}
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

100% (25 of 25 checks answered)

  1. 2026-11-18: 5 of 5 checks answered
  2. 2026-11-19: 4 of 4 checks answered
  3. 2026-11-20: 3 of 3 checks answered
  4. 2026-11-21: 4 of 4 checks answered
  5. 2026-11-22: 4 of 4 checks answered
  6. 2026-11-23: 3 of 3 checks answered
  7. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http agent-cost-log-mcp https://costlog.cloudforbots.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add agent-cost-log-mcp --url https://costlog.cloudforbots.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable agent-cost-log-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "agent-cost-log-mcp": {
      "url": "https://costlog.cloudforbots.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "agent-cost-log-mcp": {
      "type": "streamableHttp",
      "url": "https://costlog.cloudforbots.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start agent-cost-log-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "agent-cost-log-mcp": {
      "type": "http",
      "url": "https://costlog.cloudforbots.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http agent-cost-log-mcp https://costlog.cloudforbots.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://costlog.cloudforbots.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing