Built this after a single session burned 40x my median token spend. The local JSONL logs have everything you need to figure out why, but nothing surfaces it by default.
cc-ledger is a local Rust binary that registers as a Claude Code hook, capturing runaway sessions and per-PR cost.
Cost analytics can be viewed from the macOS menu bar (SwiftBar plugin), a web dashboard at ccledger.dev, or the CLI.
All feedback and ideas appreciated.