claude-chatview is a local viewer for Claude Code sessions.
It reads session data from:
~/.claude/projects~/.claude/transcripts
Then it presents everything in a messenger-style UI, so you can browse, search, and review activity quickly.
npx claude-chatviewYour browser opens automatically at http://localhost:3001.
npm i -g claude-chatview
cview- Read session history without opening raw JSONL files
- Find recent sessions quickly with search
- Review Agent Teams activity in a single timeline view
- Export selected messages as PNG/JPG
- Session list and search
- Standard chat session view
- Agent Teams timeline view
- Markdown/code block rendering
- HTML export and message capture (PNG/JPG)
| Variable | Default | Description |
|---|---|---|
PORT |
3001 |
Server port |
CVIEW_CLAUDE_DIR |
~/.claude |
Claude data root |
Example:
PORT=4000 cview- Runs in local-only mode (
127.0.0.1loopback) - Remote exposure (for example
0.0.0.0) is not supported /apionly allows local IP + local Origin
npm install
npm run dev- Frontend (Vite):
http://localhost:5173 - API (Express):
http://127.0.0.1:3001
Build:
npm run buildTest:
npm testMIT
