Cost accounting that suggests a next step
Sessions record token counts, not cost. cc-analyzer prices every category, then flags context pressure, cache rewrites after idle gaps, weak compaction recovery, and concentrated turn spend with the evidence behind each suggestion.
Interactive terminal UI
An amber-phosphor Ink TUI: a persistent nav rail and two-pane master-detail where the list drives a live preview, plus a full-screen session view with turns → steps, charts, transcript, and an evidence-backed diagnostic summary.
Local web app
cc-analyzer serve launches a Hono API and an embedded React dashboard: portfolio overview, project drill-down, a windowed transcript reader, and the same actionable session diagnostics as the CLI and TUI.
Incremental SQLite index
A disposable local index that re-parses only changed sessions (by size + mtime), then powers portfolio-wide analytics — spend by month, project, and model.
Single-binary distribution
Ships as one self-contained executable — CLI, TUI, API, and web UI baked in — cross-compiled for macOS, Linux, and Windows.
Read-only health checks & privacy
cc-analyzer doctor checks parser integrity, conversation links, tool results, and interrupted prompts without touching the source. Normal analysis is local; the optional Claude handoff is explained in the privacy guide.