A desktop app that turns your Claude Code session logs into cost & token analytics — so you always know what you're spending.
Claude Code writes detailed JSONL logs for every session to ~/.claude/projects/. This data is sitting on your machine, but there's no built-in way to visualize it. Claude Code Dashboard reads those logs locally (no data ever leaves your machine) and gives you:
- Cost per session and per project — broken down by model
- Token usage over time — input, output, cache reads/writes
- Daily spend chart — spot your most expensive days at a glance
- Active session view — see what the current session is costing in real-time
Clone the repo and run npm run tauri build. Requires Rust + Node.js (see Development).
Get the ready-to-run Windows installer (NSIS .exe) on Gumroad. No Rust toolchain needed.
→ Get the installer on Gumroad
macOS and Linux builds are available in GitHub Releases.
- Reads
~/.claude/projects/— the same folder Claude Code writes to - Parses all session
.jsonlfiles including subagent logs - Calculates costs using current Anthropic pricing (Opus 4 / Sonnet 4 / Haiku 4)
- SQLite cache — fast load on next launch, no re-parsing every time
- Works fully offline — zero network calls, no account required
| Model prefix | Input | Output | Cache write | Cache read |
|---|---|---|---|---|
| claude-opus-4 | $15 / M | $75 / M | $18.75 / M | $1.50 / M |
| claude-sonnet-4 | $3 / M | $15 / M | $3.75 / M | $0.30 / M |
| claude-haiku-4 | $0.80 / M | $4 / M | $1.00 / M | $0.08 / M |
Models are matched by prefix. Fallback pricing is Sonnet-level.
Add more screenshots here once available.
- Rust (stable toolchain)
- Node.js 20+
- On Windows: Build Tools for Visual Studio (C++ workload)
- On Linux:
webkit2gtkandlibappindicator3(see Tauri docs)
git clone https://github.com/crsOne72/claudeCodeDashboard.git
cd claudeCodeDashboard
npm installnpm run tauri devThis starts a Vite dev server and a Tauri window. Hot reload works for the React frontend; Rust changes require a restart.
npm run tauri buildOutput is in src-tauri/target/release/bundle/. On Windows this produces an NSIS installer.
~/.claude/projects/{encoded-path}/{session-uuid}.jsonl
→ Rust parser (src-tauri/src/commands/parser.rs)
→ Cost engine (src-tauri/src/models.rs)
→ SQLite cache (src-tauri/src/db/mod.rs)
→ Tauri IPC (src-tauri/src/commands/mod.rs)
→ React + Zustand + Recharts (src/)
The Tauri FS plugin scope is intentionally restricted to $HOME/.claude/**. All file access goes through Rust commands — the frontend never touches the filesystem directly.
Bug reports and feature requests are welcome — please use the issue templates.
For code contributions, see CONTRIBUTING.md.
MIT — see LICENSE.
Built with Tauri v2, React 19, Recharts, Zustand, and Tailwind CSS.
