mcpbeat Sign in

Agent Cost Analyzer MCP Server

local only

Agent Cost Analyzer runs on your own machine — the client starts it, so there is no endpoint to ping. 120 installs a week from npm. Last commit 29 Nov 2026.

Local, read-only analysis of agentic coding costs, caching and sessions from your own logs.

Installs per day peak 516 · avg 31
a month agotoday
120
Installs / week
npm · agent-cost-analyzer
2
Stars
0 open issues
29 Nov 2026
Last commit
7 releases in 90 days
MIT
License
TypeScript

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add agent-cost-analyzer -- npx -y agent-cost-analyzer mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "agent-cost-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "agent-cost-analyzer",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.agent-cost-analyzer]
command = "npx"
args = ["-y", "agent-cost-analyzer", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "agent-cost-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "agent-cost-analyzer",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "agent-cost-analyzer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-cost-analyzer",
        "mcp"
      ]
    }
  }
}

What the code does

We read the source, 8 h ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

  const child = spawn(options.bin, forward.args, { stdio: "inherit" });
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

  const child = spawn(options.bin, forward.args, { stdio: "inherit" });
const inHome = (context: Context, relative: string) => path.join(context.dirs.home, relative);
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

A line of code looks encrypted packages/server/src/mcp/mcp-branding.ts:24
  "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAESUlEQVR4nO2bS0xcVRjHf+fMvcMMw0MKlFdquyhUsWp8pK0S4yPdKKhNlMhDxZUBiY1pdFMTuahho3GhUaKGqA0v2UqbNDbqwnRVbUy6UZqYJjhAsabEgnTmzhwXgA5lYJjrzD1XmN9qzrnnm+9//nPnzPnu5AhS0Nw3Vm5E7SYUjUAdUAHsTBWnicvADPCzQJ1UiPERq+33j…
Builds a database query by concatenation packages/mcp-apps/src/views/findings/use-findings-query.ts:63
  const select = useCallback(
    (next: FindingsFilter): void => {
      const request = ++latestRequest.current;
Long encoded blob in source packages/server/src/mcp/mcp-branding.ts:24
  "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAESUlEQVR4nO2bS0xcVRjHf+fMvcMMw0MKlFdquyhUsWp8pK0S4yPdKKhNlMhDxZUBiY1pdFMTuahho3GhUaKGqA0v2UqbNDbqwnRVbUy6UZqYJjhAsabEgnTmzhwXgA5lYJjrzD1XmN9qzrnnm+9//nPnzPnu5AhS0Nw3Vm5E7SYUjUAdUAHsTBWnicvADPCzQJ1UiPERq+33j…

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Agent Cost Analyzer and you get told the day something new turns up.

Three servers free · no card

Alternatives to Agent Cost Analyzer

same job, measured the same way
Tracetoon
by tracetoon

Writes GitHub PR descriptions from your coding agents' session logs, checked against them.

2 057 installs/wk local only
TraceRoost
by traceroost

Lets your coding agent query its own trace history: recent sessions, cost, loops, instruction fixes

819 installs/wk local only
LogoLab
by blaxzter

Trace an image to a clean SVG and export a full app-icon set, locally, from your coding agent.

400 installs/wk local only
Emulo
by ohad6k

Mine your AI coding session logs into a you.md profile with dated receipts, for an agent to read.

187 installs/wk local only
codexwatch
by psychofict

OpenAI Codex usage from your local logs: tokens, API-equivalent cost and plan limits.

186 installs/wk local only
petromcp
by ameyxd

Local-first MCP server: read LAS well logs and DLIS files from your own disk.

176 installs/wk local only
Ami Survey
by speedofred

Measures the cost, tokens and duration of a completed agent workflow from its session log.

156 installs/wk local only
Itsoc MCP
by ankit512

Read-only MCP server over a local log-analysis backend; a client that computes no verdicts.

116 installs/wk local only

Agent Cost Analyzer — questions

Answers built from our own checks of this server.

Why is there no uptime for Agent Cost Analyzer?
Agent Cost Analyzer runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package agent-cost-analyzer was installed 120 times last week.
How do I connect Agent Cost Analyzer?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls agent-cost-analyzer straight from npm; nothing to host, nothing to sign up for.
How many people use Agent Cost Analyzer?
The npm package agent-cost-analyzer was installed 120 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Agent Cost Analyzer open source?
Yes — it is published under the MIT licence, written in TypeScript and 2 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.