Skip to main content

Claude Code Chat Browser (CCCB)

A lightweight desktop app for browsing, searching, and copying text from your Claude Code chat history. No cloud, no tracking—everything stays local.

Features

  • Browse chats — Organized by project with expandable groups
  • Full-text search — Find conversations by name or content, with navigation wrapping
  • View transcripts — Syntax-highlighted code blocks, expandable thinking sections, tool visualizations, message numbering
  • Copy to clipboard — Extract text, code, or entire conversations
  • Light/Dark mode — Toggle theme with persistent preference
  • Metadata — See message count, token usage, and timestamps
  • Persistent state — Remembers your last opened chat and theme preference

Install

pip install claude-code-chat-browser
cccb

From source:

git clone git@github.com:rick-does/claude-code-chat-browser.git
cd claude-code-chat-browser
pip install -e .
cccb

Usage

  • Search — Type in the sidebar to filter chats
  • Project filter — Select a project to narrow the list
  • Transcript search — Use the search box in the main pane to find text within a chat; navigate with arrow buttons (wraps around at edges)
  • Message numbering — Each user/assistant message is numbered for easy reference when copying sections
  • Light/Dark mode — Click the theme toggle button (◑/◯) next to the refresh button to switch themes
  • Copy — Right-click to copy selected text or entire sections
  • GitHub — Click the footer link to report issues or request features

Linux / WSL

On Linux and WSL, CCCB runs as a local web server instead of a desktop app. Open your browser to the URL printed on startup.

WSL: CCCB automatically opens your Windows browser.

Remote Linux server (SSH): Use an SSH tunnel so you can access the UI from your local browser — no firewall changes needed:

ssh -L 5000:localhost:5000 user@your-server

Then open http://localhost:5000 in your local browser while the tunnel is active.

Development

cccb                # Run normally
cccb --dev          # Run with auto-reload on file changes
cccb --serve        # Force browser mode (test headless on any platform)

Standalone Executable

build.py produces a self-contained binary via PyInstaller (no Python required):

pip install pyinstaller
python build_exe.py

Output: dist/CCB.exe (Windows), dist/CCB (macOS/Linux)

Architecture

  • Backend: Python with in-memory indexing
  • Frontend: Alpine.js + vanilla HTML/CSS
  • Framework: pywebview (Windows/Mac), Flask (Linux/WSL)
  • Data source: ~/.claude (Claude Code chat history)

Data & Privacy

CCCB reads from your local ~/.claude directory only—no data is sent anywhere. The app runs entirely offline.

License

MIT

Metadata

Release files for claude-code-chat-browser 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-code-chat-browser 0.1.1
File Size Uploaded
claude_code_chat_browser-0.1.1.tar.gz 64.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-code-chat-browser 0.1.1
File Interpreter ABI Platform
claude_code_chat_browser-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 134.3 kB

Release files / claude_code_chat_browser-0.1.1.tar.gz

Download URL claude_code_chat_browser-0.1.1.tar.gz
Size 64.8 kB
Tags Source
SHA-256 checksum
How to use checksums
86c96b2787127d9fbf36cf2d1571a6583117ccfa8c4fe3067e882b7d97da57c3
BLAKE2b-256 checksum
How to use checksums
fa32ed32bd7ba03172031ad4bcb646c0eb8578bd98e0fb45f09467998b3c905b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / claude_code_chat_browser-0.1.1-py3-none-any.whl

Download URL claude_code_chat_browser-0.1.1-py3-none-any.whl
Size 69.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3419c8c156840c84bee33b84548705fd55773df036a7e28a86d1f8ef3bb6700
BLAKE2b-256 checksum
How to use checksums
8db8f111d4cdb14f7ccd6d8d6998a65ae065072dea6671c7e78a636001ffb624
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page