🔭 ccusage alternative — with search

Search every Claude Code session
you've ever run.

ccusage tells you what you spent. ClaudeScope lets you search what you actually did — full-text search across every prompt, reply and tool call, in your browser, with zero install and zero network. Plus the usage dashboard your subscription doesn't show you.

$ npx claudescope-cli
★ Star on GitHub 📦 View on npm

No install · no config · no account · no network · zero dependencies · MIT

ClaudeScope walkthrough — type an error message, jump to the session where you solved it, then explore usage stat cards, model-spend breakdown and an activity heatmap.
Type an error you remember solving → land in the 3-week-old session. Plus stats, model spend and a heatmap — all from transcripts already on your disk.

What you get

One command opens a browser dashboard built entirely from the JSONL transcripts Claude Code already writes to ~/.claude/projects.

🔎

Full-text search

Grep every prompt, reply and tool call you've ever sent — across all projects at once. Filters for project, model, date and role, plus a regex toggle. The thing ccusage and tokscale structurally can't do.

🎬

Session replay

Every search result lands somewhere. Open a threaded replay of any session — prompts, replies, tool calls and per-message tokens. Navigate your own history instead of just grepping it.

Wrapped share card

A 1200×630 “ClaudeScope Wrapped” card with your top numbers and a derived archetype — rendered 100% locally. Flex your stats without surrendering a single byte.

📈

Usage analytics

Token mix, per-model and per-project spend, an activity heatmap, busiest weekday×hour, range diffs and CSV/JSON export. The dashboard ccusage's terminal output won't give you.

📱

Installable PWA

The dashboard is an offline-capable Progressive Web App — install it, and it keeps working with your Wi-Fi off. Still pure same-origin; it never caches your data to the network.

🔒

100% local

Pure Node standard library — zero runtime dependencies, zero build step, zero network calls at startup. Auditable in five minutes. Nothing ever leaves your machine.

How it compares

The Claude Code analytics niche is crowded. Here's an honest map of where each tool actually wins — search, the web dashboard, and the zero-friction, no-upload combination is the gap ClaudeScope fills.

Capability ClaudeScopenpx claudescope-cli ccusageterminal cost king CCHVhistory viewer SnifflyPython dashboard tokscaleRust + leaderboard
Full-text content search ~browse
Browser dashboard terminal only desktop / server CLI
Session replay ~
Zero-install (npx) download / brew / Docker Python env
Zero dependencies Node stdlib only ~ Rust + Tauri Python deps Rust toolchain
100% local / no upload ~share uploads ~optional submit
Shareable Wrapped card generated offline
Price Free · MIT Free · MIT Free · OSS Free · OSS Free · OSS

✔ yes · ~ partial · ✘ no. ccusage is the de-facto cost/usage standard (daily/session reports, 5-hour billing windows, JSON export, 15+ agent CLIs) — but it's terminal-only with no content search. CCHV (claude-code-history-viewer) offers offline search + analytics, but ships as a heavy desktop app (download / brew / Docker / Rust). Sniffly is a Python browser dashboard with error analysis. tokscale brings the viral leaderboard + Wrapped card — but its submit uploads your data to a server. Treat star counts as stale-prone; the ranking is what's stable. Facts cross-checked against each project's docs, June 2026.

🔒 100% local. Zero network. Auditable.

Your AI history is sensitive. ClaudeScope is built so it never has to leave your machine — and so you can prove that to yourself in five minutes. There's no account, no telemetry, and no server leaderboard. Disconnect your Wi-Fi and everything still works.

  • No network at startupThe dashboard makes zero outbound requests when it opens. Reads only the JSONL files already on your disk.
  • No account, no uploadNothing is submitted anywhere. Even the Wrapped share card is rendered locally in your browser.
  • Anonymized share cardNo project names, no paths, no prompts — only aggregate numbers, rendered locally in your browser.
  • Zero dependenciesPure Node standard library and vanilla browser JS. Nothing to vet in a supply chain. Read the whole thing.

Don't take our word for it — audit it: git clone the repo, read every line, then run it with your network off. It's a few hundred lines of stdlib Node and one HTML page.

Find the session you know you already solved.

One command. No install, no config, no account, no network. Your browser opens a dashboard built from the transcripts already on your disk.

$ npx claudescope-cli