Open source · MIT · Runs locally

See inside
Claude's mind.

Real-time dashboard for Claude Code — live status, reasoning, token usage, git diff, agent tracking. Everything that's normally invisible, made visible.

live ● working — Bash(git log --oneline -20)
localhost:4000
Claude Insights dashboard
How it works

Hooks + SSE. That's it.

No cloud services, no daemons, no accounts. A shell script and a local server.

🪝

Hook fires

Claude Code calls monitor-hook.sh before and after every tool call

📄

JSON written

The hook writes .claude/status.json with current state and context

📡

SSE stream

Claude Insights watches those files and pushes updates via Server-Sent Events

🖥️

Browser live

Dashboard updates in real time — no refresh, no polling from the client

What it shows

Everything Claude Code
doesn't tell you.

🟢

Live Status

Current state in real time — working, waiting, compacting, idle. Shows the exact tool name as it executes.

🧠

Reasoning

Claude's internal thinking streamed live word by word. Full history of all reasoning blocks across the session.

📊

Context Window

Three-segment breakdown: fixed rules, conversation, and tool results — with token cost per file.

🪙

Token Usage

Input, output, and cache reads. Tracks the 5-hour renewal window so you always know when it resets.

📂

Git Diff Viewer

Side-by-side IntelliJ-style diff for every uncommitted file. Shows the reasoning that caused each change.

Command History

Every tool call logged with path, duration, and success or failure. See exactly what Claude touched.

🤖

Agent Tracking

Sub-agents tracked separately with duration, status, and parent session. Parallel work stays visible.

🗂️

Multi-Project

Auto-discovers every directory with a .claude/ folder. Switch projects instantly — zero configuration.

🕐

Session History

Browse past sessions — reasoning, tool calls, context — while a live session runs in parallel.

📈

Activity Stats

Aggregate token spend, session count, and top tools over 7 days. Understand your usage patterns.

📱

Mobile Responsive

Works on any screen. Open the dashboard on your phone while Claude works on your desktop.

🔒

Zero Telemetry

All data stays on your machine. No cloud, no accounts, no analytics. Local by design.

Live Status

Every tool call.
Named. Live.

The status bar tells you exactly what Claude is doing at this instant. Not "working" — working — reading static/insights.html. The LIVE badge confirms real-time monitoring is active. When Claude Code is idle, it switches to HISTORY mode automatically.

  • States: WORKING · IDLE · COMPACTING · WAITING
  • Exact tool name shown as it executes
  • LIVE / HISTORY badge with automatic switching
  • Green pulsing indicator — no refresh needed
Status bar
LIVE badge
Reasoning

Claude thinks out loud.
You watch live.

Claude's internal reasoning is normally invisible. Every thought block streams to you in real time — you see the plan before the tool call happens. Catch wrong assumptions before they cost ten minutes.

All reasoning blocks are saved and browsable across the entire session. Word count, block number, timestamp — nothing gets lost.

  • Live reasoning streamed word by word
  • Block number, word count, timestamp per block
  • Full history modal — all blocks from the session
Reasoning live
Reasoning history
Git diff viewer

Your IDE's diff view.
In the browser.

Review every uncommitted change side-by-side, with syntax highlighting — without leaving the browser. Below every diff, a Change Summary tells you which tool caused it, how many times, and the reasoning Claude was following when it happened.

  • Side-by-side diff with syntax highlighting
  • Change Summary: +N added · -N removed · tool name
  • Claude's reasoning that led to the change
  • Live file list — updates as Claude writes
Diff viewer
Git panel
Context window

Know exactly what's
eating your context.

Three segments: fixed rules loaded at session start, the growing conversation, and accumulated tool results. Token cost shown per file. You'll see compaction coming before Claude hits the wall.

  • FIXED · CHAT · VARIABLE breakdown
  • Per-file token cost in the FIXED segment
  • Cache hit tracking — see how much you're saving
  • Context pressure bar with colour urgency
Context
Model tokens
Multi-project

All your projects.
One dashboard.

Claude Insights auto-discovers every directory that has a .claude/ folder under your root. No config files, no manual registration. Switch between projects in one click — the dashboard reloads instantly.

  • Auto-discovery — zero configuration
  • Instant switch — no page reload
  • LIVE and HISTORY modes per project independently
  • Works with any number of projects simultaneously
Multi-project
Commands & Agents

Every tool call.
Every agent. Tracked.

The Commands panel logs every tool call with name, file, duration, and success or failure. Sub-agents get their own panel — tracked separately so parallel work doesn't get lost in the main timeline.

  • Full command history: tool · path · duration · result
  • Tool icons for instant visual scanning
  • Agent panel: sub-agents tracked independently
  • Duration per agent — spot bottlenecks
Commands
Agents
Session history

Yesterday's session.
Still there.

When Claude Code isn't running, the dashboard switches to HISTORY mode automatically. Every session — tool calls, reasoning, context — is still browsable. The Activity panel shows aggregate stats over 7 days.

  • Automatic LIVE / HISTORY switching
  • Navigate past sessions while live session runs
  • 7-day aggregate: tokens, sessions, top tools
HISTORY badge
Historical session
Token usage

The 5-hour clock.
Always visible.

Claude Code resets token limits every 5 hours. Claude Insights shows how many tokens you've used, how many sessions are active, and how much time is left. Plan your work around the reset — not the surprise.

  • 5-hour window progress bar with time remaining
  • Tokens consumed and sessions in current window
  • 7-day activity: tokens, sessions, top tools
Token window
Activity
Mobile

Works on your phone.
No setup needed.

Open localhost:4000 on any device on your local network. The dashboard reflows to a single-column layout — all panels readable and functional on a 390px screen. Monitor a long-running session from anywhere.

  • Fully responsive — 390px to 4K
  • All panels accessible on mobile
  • Access from any device on local network
Mobile view
Installation

Up and running
in 3 steps.

Choose your install method. All of them install the same tool.

macOS — recommended Homebrew
brew tap infowhere-ai/claude-insights && brew install claude-insights
macOS & Linux pipx
pipx install claude-insights
any platform — one-liner curl
curl -fsSL https://raw.githubusercontent.com/infowhere-ai/claude-insights/main/install.sh | bash
MIT license Python 3.10+ macOS & Linux No cloud
Quick start
1
Activate hooks

Sets up the hook script and registers it for 5 Claude Code events. Existing hooks are never overwritten.

claude-insights install
2
Restart Claude Code

Required for the hooks to activate in any open sessions.

3
Start the dashboard

Opens at localhost:4000

claude-insights start