If you use Claude Code regularly and have no idea how much it's actually costing you or which projects eat the most tokens, cc-lens is worth five minutes of your time.
It's a free, open source dashboard that reads your local Claude Code data (the ~/.claude/ directory on your machine) and turns it into charts, tables, and heatmaps. No cloud service, no telemetry, no account needed. Run npx cc-lens and it opens a local web app in your browser.
The dashboard has 10 tabs covering the basics: token usage trends, cost breakdowns by model and project, session replay with per-turn token counts, a GitHub-style activity heatmap, tool usage rankings, and browsing for your memory files, todos, and plans. The cost tracking alone - with stacked area charts showing spend by model and cache efficiency metrics - fills a gap that Claude Code itself doesn't cover in any visual way.
Data refreshes every 5 seconds during active use. You can export everything as JSON or a zip file with full session data, which is useful if you want to do your own analysis or back things up.
The project is early. Version 0.1.6, about 10 commits, built by solo developer Arindam Majumder. It runs on Next.js with React 19 and shadcn components. MIT licensed. You need Node.js 18+ and an existing Claude Code installation with local data to get anything out of it.
For anyone managing Claude Code costs across multiple projects - or just curious about their usage patterns - this is the kind of small utility that probably should have existed from day one.