cc-lens: Local Dashboard for Claude Code Session Analysis

A developer has created cc-lens, a local dashboard tool for analyzing Claude Code usage by reading session data stored locally in ~/.claude/. The tool transforms raw JSON logs into an interactive dashboard that runs entirely on your machine without cloud sync, sign-ups, or telemetry.
Key Features
- Usage overview: sessions, messages, tokens, estimated cost
- Per-project breakdown: see which repositories are using the most tokens
- Full session replay: inspect conversations turn-by-turn with token counts and tool calls
- Cost & cache analytics: stacked charts by model and cache usage
- Activity heatmap: GitHub-style view of when you're using Claude the most
- Memory & plan explorer: browse/edit Claude memory files and saved plans
- Export/import: move dashboards across machines
Installation and Usage
You can run cc-lens instantly with:
npx cc-lensAlternatively, you can clone the repository from GitHub. The tool is designed for developers who want to understand their Claude Code usage patterns, token consumption, and costs without manually parsing JSON files.
📖 Read the full source: r/ClaudeAI
👀 See Also

Customizing Claude AI for Improved Feedback
Adjust Claude AI's settings to avoid excessive agreement and push for more critical thinking and practical feedback.

Crag: Open-source tool generates unified AI agent rules from project configs
Crag is an open-source compiler that analyzes project configurations and generates a single governance.md file, then compiles it into multiple AI agent rule files to prevent configuration drift across tools like Claude Code, Cursor, and Copilot.

TinyFish Web Agent Outperforms Competitors in Web Task Benchmarking
TinyFish's web agent achieved an 81.9% success rate on hard web tasks, significantly outperforming competitors like OpenAI Operator at 43.2%.

Snip tool enables visual communication with AI coding agents
Snip is a free tool that lets developers screenshot, annotate, and draw to show AI agents what they mean visually, while agents can generate diagrams or load images directly through CLI or MCP. Currently runs on Apple Silicon Macs with Mermaid diagram support and HTML support in progress.