Real-time dashboard for monitoring Claude Code sessions
Project description
Real-time dashboard for monitoring Claude Code sessions
Features · Quick Start · Development · How It Works
ClawView reads the JSONL session files that Claude Code writes to ~/.claude/projects/ and presents them in a live-updating web dashboard. Track token usage, costs, tool invocations, errors, and more across all your coding sessions.
Features
- Live session monitoring -- active sessions update in real time via WebSocket
- Project-level analytics -- token usage over time, daily costs, model breakdown, tool usage trends
- Session deep-dive -- conversation timeline with turn-by-turn token counts, tool calls, and context window usage
- Cost tracking -- per-session and per-project cost estimates based on model pricing
- Tool & MCP tracking -- see which tools and MCP servers each session uses, with category breakdowns
- Error & interruption rates -- spot problematic sessions at a glance
- Memory & skill browser -- inspect memory files and sub-agent skills from within the dashboard
- Continuation chain linking -- follows
/clearcontinuations across sessions - IDE integration -- links to open files directly in your editor
Screenshots
Quick Start
uvx clawview
That's it. Open http://localhost:3333 in your browser.
Requires uv (install:
curl -LsSf https://astral.sh/uv/install.sh | sh)
From source
git clone https://github.com/tuongaz/clawview.git
cd clawview
make run
This requires Python 3.11+, uv, and Bun.
Development
Run the frontend and backend separately for hot-reload:
# Terminal 1 -- Frontend (Vite dev server with HMR)
cd frontend && bun run dev
# Terminal 2 -- Backend
uv run clawview
Other commands
make build # Build frontend + sync Python deps
make clean # Remove web/dist, frontend/node_modules, .venv
uv run pytest # Run tests
uv run pyright src/clawview/ # Type checking
How It Works
ClawView is a Python (FastAPI) backend that serves a React (Vite) frontend as static files.
flowchart LR
A["~/.claude/projects/**/*.jsonl"] --> B["FastAPI Backend"]
B -- "WebSocket" --> C["React App (Browser)"]
C -- "REST / WS" --> B
The backend watches Claude Code's session files, parses JSONL entries into structured data (sessions, turns, tool events), computes analytics, and pushes updates to connected clients over multiple WebSocket channels.
Tech stack
| Layer | Technology |
|---|---|
| Backend | Python, FastAPI, Uvicorn, WebSockets |
| Frontend | React 19, TypeScript, Vite, Tailwind CSS, HeroUI |
| Charts | Recharts |
| Package | uv (Python), Bun (JS) |
Credits
Inspired by Sniffly by Chip Huyen.
License
MIT
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 clawview-0.2.5.tar.gz.
File metadata
- Download URL: clawview-0.2.5.tar.gz
- Upload date:
- Size: 41.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
741f4849a009d8947656238ade4bc5bfa40451e5345591368e95bdcc8c358057
|
|
| MD5 |
386a65898ed03dbcf9cce3d0c26ceaf3
|
|
| BLAKE2b-256 |
e1f6c1d2b3d1df238bcb53c4a00602ec5e712f9a8e5df21ebc50b87b3f473358
|
File details
Details for the file clawview-0.2.5-py3-none-any.whl.
File metadata
- Download URL: clawview-0.2.5-py3-none-any.whl
- Upload date:
- Size: 3.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da732ce8d42b3e4b240eae0c8e51ccb2e0f3244935d0a16ac35bf1eff59e6d5d
|
|
| MD5 |
9985fd7c244035b4e3b71375677da2f7
|
|
| BLAKE2b-256 |
3cdf200f762d0d77decc9937886f2396d90797eb4284af8e96fd30b22c7a69f6
|