cc-lens: Local Dashboard for Claude Code Session Analysis

✍️ OpenClawRadar📅 Published: April 20, 2026🔗 Source
cc-lens: Local Dashboard for Claude Code Session Analysis
Ad

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-lens

Alternatively, 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

Ad

👀 See Also