Skip to main content

Real-time dashboard for monitoring Claude Code sessions

Project description

ClawView

Real-time dashboard for monitoring Claude Code sessions

X

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 /clear continuations across sessions
  • IDE integration -- links to open files directly in your editor

Screenshots

Dashboard

Project Insights

Session Detail

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


Download files

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

Source Distribution

clawview-0.2.2.tar.gz (41.8 MB view details)

Uploaded Source

Built Distribution

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

clawview-0.2.2-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

Details for the file clawview-0.2.2.tar.gz.

File metadata

  • Download URL: clawview-0.2.2.tar.gz
  • Upload date:
  • Size: 41.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.22

File hashes

Hashes for clawview-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a5ad0a36f91b8c6f0b9164877ca2e0f597a19c3570428366f2ca0218bcd71fb0
MD5 f7e66ca9c2900a9b36d872d7016d73b9
BLAKE2b-256 03856c3dd4072703bf3f8c960911cbd6f2fcef670b6c09c31c250624add9c105

See more details on using hashes here.

File details

Details for the file clawview-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: clawview-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.22

File hashes

Hashes for clawview-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bffdd02a8e4ceebc5be515d57ae29540996f106f912b49f221f2f60b075cc010
MD5 6580d99f6471f97fea3df52d64342da7
BLAKE2b-256 d8affbdebdc2d44c4e28e06ef28425a919a4bea678df5bfb91ce32a12bd6c33b

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