agent-cost-analyzer
v1.2.0Local, read-only analysis of agentic coding costs, caching and sessions from your own logs.
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add agent-cost-analyzer -- npx -y agent-cost-analyzer@1.2.0 mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"agent-cost-analyzer": {
"args": [
"-y",
"agent-cost-analyzer@1.2.0",
"mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"agent-cost-analyzer": {
"args": [
"-y",
"agent-cost-analyzer@1.2.0",
"mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"agent-cost-analyzer": {
"args": [
"-y",
"agent-cost-analyzer@1.2.0",
"mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.agent-cost-analyzer]
command = "npx"
args = ["-y", "agent-cost-analyzer@1.2.0", "mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_log_providers, list_sessions, get_turn, get_session_audit, list_tool_calls, get_audit_rollup, get_session_cost, get_cost_rollup, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json