Listed from the MCP registry; nobody on Odel publishes it.
Local, read-only analysis of agentic coding costs, caching and sessions from your own logs.
Runs on your machine from its package; the steps are below.

Not assessed yet.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y agent-cost-analyzer
MCP client config
{
"mcpServers": {
"agent-cost-analyzer": {
"command": "npx",
"args": [
"-y",
"agent-cost-analyzer"
]
}
}
}Last changed: 2026-11-19 · Source: https://github.com/raulkivi/agent-cost-analyzer
Independent project; not affiliated with or endorsed by GitHub, Microsoft, Anthropic or the pi project. Product names are trademarks of their owners.
See where the tokens and money go when an AI agent writes code for you. This repository gives you two products that read the logs your coding agents already write on your own machine and show every session turn by turn:
Both run locally and are read-only. Nothing leaves your machine.

| You use | Install |
|---|---|
| GitHub Copilot Chat in VS Code | AI Credits Analyzer, the extension |
| Claude Code, pi, or several tools at once | Agent Cost Analyzer, the standalone app (it reads Copilot Chat sessions too) |
github.copilot.chat.agentDebugLog.fileLogging.enabled), and a
walkthrough opens on first start. Newer chats that run through Copilot's
Agent Host don't need it.Full steps, commands and settings: the extension guide.
Needs Node.js 22.18 or newer.
npx agent-cost-analyzer

It starts the app on http://127.0.0.1:5199 and opens it in your browser.
npx agent-cost-analyser (British spelling) also works: it is an alias of the same package. The
server listens on your own machine only. If the app is already running, a
second start opens that one; if another program holds port 5199, it takes the
next free port and says which. Options:
--port <n> uses that port only (0 takes any free port).--no-open starts without opening a browser.--help and --version do what they say. npx agent-cost-analyzer@latest
runs the newest release.To keep a fixed version, or to start it without the npm registry, install it
once with npm install -g agent-cost-analyzer and run agent-cost-analyzer
(or agent-cost-analyzer mcp).
Learn mode works straight away. Switch to Analyze mode and pick a source (VS Code Copilot Chat, Claude Code or pi) to see your own sessions. Claude Code and pi need no setup, because the app reads their session files directly.
The app writes only its own settings folder: ~/.config/agent-cost-analyzer
on Linux (or under XDG_CONFIG_HOME),
~/Library/Application Support/agent-cost-analyzer on macOS and
%APPDATA%\agent-cost-analyzer on Windows. It holds your chosen provider,
the retention threshold, your projects file and issued statements.
To ask an AI chat about your sessions, connect the app's MCP server: see Ask your AI chat.

To work on the app, or to install the pi logger, run it from a clone. This needs the whole dev tree (Vite, Playwright, esbuild).
git clone https://github.com/raulkivi/agent-cost-analyzer.git
cd agent-cost-analyzer
npm install
npm start
npm start runs the Vite dev server and the API with reload, and opens
http://127.0.0.1:5173.
More: setup and data sources (where each tool keeps its logs, the Copilot Chat settings, a one-paste setup prompt for an AI coding agent) and the User Guide (a screen-by-screen tour).
Both products include a local, read-only MCP server. Connect it to Claude Code, Claude Desktop or Copilot Chat and ask "what drove my spend this week?" or "which commands failed most?". In hosts that support MCP Apps, such as Claude Desktop and VS Code Copilot Chat, the cost and findings answers also show interactive views.

Claude Desktop shows a month's cost for every provider at once, and opens the view in a side pane.

To connect the standalone app's server:
npx agent-cost-analyzer mcp install
mcp uninstall removes the
entry again and mcp status shows where it is registered..mcpb bundle and
the MCP Registry listing.Every option, setup by hand, Windows and offline use: Connecting an AI chat (MCP) in the User Guide.
For the extension, turn on the aiCreditsAnalyzer.mcp.enabled setting. See
the MCP server for Copilot agent mode.
~/.claude/projects/, ~/.pi/agent/sessions/, and
optionally, mitmproxy captures you export yourself). They never change those files or
your tools' settings. The one exception is mcp install and
mcp uninstall, which edit your MCP clients' config when you run them.What the extension reads, file by file: Privacy and what the extension reads.
Contributing / developer documentation: CONTRIBUTING.md and docs/README.md.