Browse, search, and resume your Claude Code conversations -- from the browser or the terminal.
Project description
Claude Chats & Analytics Viewer
Browse, search, and resume your Claude Code conversations — from the browser or terminal.
Install & Run
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/AnshRajput/claude-chats-and-analytics-viewer/main/install.sh | sh
Windows (PowerShell)
iwr https://raw.githubusercontent.com/AnshRajput/claude-chats-and-analytics-viewer/main/install.ps1 | iex
That's it. Opens http://127.0.0.1:5005 in your browser.
The installer auto-detects your system, installs pipx if needed, and launches the viewer.
Manual install (if you prefer)
pipx install claude-chats-and-analytics-viewer && ccv # pipx
uvx claude-chats-and-analytics-viewer # uv (no install needed)
Features
- Conversation browser — search, filter by project, sort by date / tokens / cost
- Cost estimation — shows
~$0.04per conversation and per message based on model pricing - Deep content search — toggle
DEEPto search inside every message, not just titles - Bookmarks — star any conversation, persisted to
~/.claude/viewer-bookmarks.json - Activity heatmap — GitHub-style 52-week calendar in the Stats tab
- Copy buttons — one-click copy on every code block
- Auto-refresh — detects new conversations while the viewer is open
- Export — download as
.mdor.json, or export all as a.zip - Smart caching — instant startup after first run (only re-parses changed files)
- Usage stats — token counts, model breakdown, top projects, total estimated cost
- CLI — terminal interface with search, pagination, and resume
- Keyboard shortcuts —
/search ·j/knavigate ·bbookmark ·Enteropen - Zero dependencies — Python stdlib only, works on macOS / Windows / Linux
Commands
| Command | What it does |
|---|---|
ccv |
Start Web UI |
ccv --update |
Update to latest version |
ccv --port 8080 |
Custom port |
ccv --no-open |
Don't auto-open browser |
ccv --install |
Auto-start on login (macOS) |
ccv --install-systemd |
Auto-start on login (Linux) |
claude-conversations-cli |
Terminal CLI |
CLI
claude-conversations-cli # interactive browser
claude-conversations-cli --search "auth" # search by keyword
claude-conversations-cli --view <session-id> # view a conversation
claude-conversations-cli --resume <session-id> # resume in Claude Code
How it works
Claude Code saves conversations as JSONL files in ~/.claude/projects/<project>/<session-id>.jsonl.
This tool scans those files, caches metadata, and serves a fast local web UI.
All data stays local — nothing is sent anywhere.
Update
ccv --update
License
MIT — github.com/AnshRajput/claude-chats-and-analytics-viewer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_chats_and_analytics_viewer-2.0.2.tar.gz.
File metadata
- Download URL: claude_chats_and_analytics_viewer-2.0.2.tar.gz
- Upload date:
- Size: 33.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a011704f725fdd2b204d08b0759ac8985e06559bb6aec2c930612a80092ed28
|
|
| MD5 |
699d56fdf335917a9d83d46cb26c7991
|
|
| BLAKE2b-256 |
0855cbcb660a86b49718752f10e643632d6d54904c657214c56f1c669e5c42b4
|
File details
Details for the file claude_chats_and_analytics_viewer-2.0.2-py3-none-any.whl.
File metadata
- Download URL: claude_chats_and_analytics_viewer-2.0.2-py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72d44fcd81988b52db1399b3839a0eaf5bb822a648151ab2abcd0b5e4f83719c
|
|
| MD5 |
8b5b3931281692c61d11434535b3b0b5
|
|
| BLAKE2b-256 |
fed6f6c242ad03b4bd7f93dd278490d651459d41eee6edaf94006310fbc15fc3
|