Skip to main content

Browse, search, and resume your Claude Code conversations -- from the browser or the terminal.

Project description

Claude Code Conversation Viewer

Browse, search, and resume your Claude Code conversations — from the browser or terminal.

Python 3.7+ No Dependencies Cross Platform


One-command install & run

pip install claude-conversation-viewer && ccv

That's it. Opens http://127.0.0.1:5005 in your browser.

Alternatives

# With pipx (no permanent install)
pipx run claude-conversation-viewer

# With uv (fastest, no install needed)
uvx claude-conversation-viewer

# Shell script (auto install + launch)
curl -fsSL https://raw.githubusercontent.com/AnshRajput/Claude-Conversation-viewer/main/install.sh | sh

Features

  • Conversation browser — search, filter by project, sort by date / tokens / cost
  • Cost estimation — shows ~$0.04 per conversation and per message based on model pricing
  • Deep content search — toggle DEEP to 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 .md or .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/k navigate · b bookmark · Enter open
  • 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-Conversation-viewer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_chats_and_analytics_viewer-2.0.0.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file claude_chats_and_analytics_viewer-2.0.0.tar.gz.

File metadata

File hashes

Hashes for claude_chats_and_analytics_viewer-2.0.0.tar.gz
Algorithm Hash digest
SHA256 5b84d6874d353ea4ebe647309619b8907eccd16b99bd8f902b471a7682cc88f0
MD5 bc0388bf118d5149cb08720d164dce59
BLAKE2b-256 28e272ec1703fb7c5b5499d9f2092729d0a76d387be680aeeb49c3b89183b667

See more details on using hashes here.

File details

Details for the file claude_chats_and_analytics_viewer-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_chats_and_analytics_viewer-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecf33e6d386338a8992e4c4cf8fa069e8aa7c4bd1006d9c4339cf1a22cc5c47d
MD5 f1c7516bf97ebdf20d4449a467d2cc6c
BLAKE2b-256 31d8648468540b0f4744e6b31a196f592e5bab7b69f6767a9d48ed856cd913c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page