claude-agent-ledger

finance MCP Server

Per-subagent cost attribution for Claude Code. Reads local JSONL session logs, computes shadow cost at marginal Anthropic API rates with proper TTL pricing.

VerifiedInstall Ready
financefinance
5 views1 stars0 forksv0.7.0MIT

Why This Matters

Discovered via github-topic:mcp and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:mcp
Stars
1
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx claude-agent-ledger

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "claude-agent-ledger": {
      "command": "npx",
      "args": [
        "claude-agent-ledger"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

7
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (7)

max

Hide dollar columns; show token utilization only

cache_read_input_tokens

0.10× base input

Bucket

Multiplier

ephemeral_1h_input_tokens

2.00× base input

Flag

What it does

ephemeral_5m_input_tokens

1.25× base input

Env

What it does