cc-lens
Claude Code usage is otherwise opaque. cc-lens turns your local ~/.claude/ data into a dashboard showing where sessions, tokens, and spend actually go — usef…
Local analytics dashboard for Claude Code that visualizes the data already in your ~/.claude/ directory — no cloud, no telemetry, no API key. Run npx cc-lens to see sessions, token usage, estimated costs and cache savings, project trends, tool and MCP rankings, activity calendars, and full session replay of JSONL conversations.
- Monitor Claude Code session activity in a real-time dashboard
- Track which files are being read and changed across sessions
- Evaluate Claude Code adoption with usage visibility data
Claude Code usage is otherwise opaque. cc-lens turns your local ~/.claude/ data into a dashboard showing where sessions, tokens, and spend actually go — useful for spotting cache and model savings and for gauging team adoption — without sending anything to the cloud.
Developers debugging Claude Code behavior or teams evaluating Claude Code adoption who want visibility into session activity.
https://github.com/Arindam200/cc-lens
By Arindam200
How to Get It
npx cc-lens
Tip: Paste this into a Claude Code conversation. Verify command matches your Claude Code version.
After installing, paste this into Claude:
Help me monitor Claude Code session activity in a real-time dashboard
Trust Signals Auto-scanned
Community Pulse Active
Discussed on Hacker News, Reddit
- Zeiss ZX1 full frame camera announced - 35mm f/2 lens, LR CC included, 512G inte — Reddit · 352 pts
- Show HN: Cc-Lens, Open Source Analytics Dashboard for Claude Code — Hacker News · 3 pts
- I built a local dashboard to inspect Claude Code sessions, tokens, and costs — Hacker News · 1 pts
3 mentions across 2 sources
Reviewer notes
Auto-scanned review. These are observations, not a security certification.
catalog_hygiene stale-eval refresh: Scored from trust signals (evidence-eval-v1): 556 GitHub stars; 1 contributors; last commit 9d ago; license MIT.
Things to check
- Reads local ~/.claude/ data only; costs are estimates based on pricing references. Import of exported .cclens.json files is preview-only — it does not write merged data back into ~/.claude/. Point it at other profiles with CLAUDE_CONFIG_DIR.
How to evaluate tools before deploying →
Data shown here comes from public APIs and automated scanning. Reviewer notes reflect one person's experience. This is not a security certification or legal recommendation. Always evaluate tools according to your own organization's policies.
Evaluation
catalog_hygiene stale-eval refresh: Scored from trust signals (evidence-eval-v1): 556 GitHub stars; 1 contributors; last commit 9d ago; license MIT.