Local dashboard tracks Claude Code usage with token costs, tool calls, and session analytics

What it does
A developer created a local dashboard that provides visibility into Claude Code usage by reading directly from the ~/.claude/ directory. The tool visualizes session data without sending information to external services.
Key features
- Token usage and estimated cost per session and per project
- 30-day cost chart with daily breakdown
- Tool call breakdown (Read, Write, Bash, Grep, etc.)
- Most-edited files across all sessions
- Hour-of-day activity heatmap
- Full conversation viewer - click any prompt to see every tool call and response
- Cache hit rate (shows how efficiently context is being reused)
- Active streak tracking and session history with search functionality
How it works
The dashboard uses an Express API to read the JSONL session files that Claude Code writes locally. The frontend is built with React, and all data processing happens on your machine. The developer mentions they built this because they "had no visibility into what it was actually doing, which sessions cost the most, which tools it calls most often" when using Claude Code heavily.
The tool is available on GitHub at https://github.com/rohitsasi720/claude-code-tracker.
📖 Read the full source: r/ClaudeAI
👀 See Also

Project Ledger: Human-in-the-Loop Memory System for AI Coding Agents
A GitHub project introduces a YAML-based ledger system where humans curate what AI agents remember about codebases. It includes a /ledger skill, UserPromptSubmit hook for automatic context injection, and Haiku auditor review.

Agents Elements: A macOS Dashboard for Claude Code & Codex Installations
A native SwiftUI macOS app that scans ~/.claude and ~/.codex to show installed skills, subagents, commands, plugins, MCP servers, hooks, and session status with token usage.

Free Model Alert: Tencent Hy3 Available on OpenRouter for 2 Weeks — Try It Now
Tencent Hy3 is free on OpenRouter for 2 weeks. Use it in OpenClaw via openrouter/tencent/hy3:free. Full details from r/openclaw.

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