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

Audacity MCP Server Gives Claude AI Full Audio Editing Control
A developer built an MCP server that connects Claude AI to Audacity via mod-script-pipe, providing 99 tools for natural language audio editing commands. The open-source tool works with Claude Desktop, Claude Code, or Cursor.

Claude Code Limiter: Self-Hosted Rate Limiter for Shared Claude Code Subscriptions
claude-code-limiter is a self-hostable tool that adds per-user rate limits to shared Claude Code subscriptions, featuring per-model quotas, credit budgets, sliding 24h windows, time-of-day rules, and a real-time dashboard.
Usage4Claude 3.0.0: Open Source macOS Menu Bar Tracker for Claude and Codex
Usage4Claude 3.0.0 adds optional Codex support, built-in browser login for Claude, multi-account switching, and localized notifications.

Attesor: AI-Powered Reverse Engineering of Rosetta 2 for Linux VM
Attesor is a GitHub project that uses AI to reverse-engineer Apple's Rosetta 2 binary translation technology, aiming to document its architecture and potentially enable x86_64-to-ARM64 translation on Linux virtual machines.