Categories
Self-Hosted Developer Tools Claude Code AI Observability Debugging Agent Monitoring Session Viewer Token UsageStars
Forks
Watchers
Developer links
claude-devtools
Claude Code's terminal squeezes a busy session into lines like "Read 3 files", and claude-devtools opens each one back up with exact file paths, inline diffs, full Bash output, and every thinking step. It reads the session logs Claude Code already saves, so there is no wrapper, no API key, and every past session is browsable immediately. A context panel splits each turn's tokens into CLAUDE.md files, skills, @-mentioned files, tool results, thinking, team overhead, and your own text, and compaction markers show what was lost. Subagents and agent teams render as expandable trees with tool traces, durations, tokens, and cost, and teammate messages are color-coded by sender. Notification triggers flag .env reads, tool errors, oversized turns, or any regex you define, scoped per repository. A memory viewer shows each project's MEMORY.md layers with frontmatter cards and wikilinks, and opens any layer in your editor. Cmd+K searches across sessions, tabs split into side-by-side panes, and any session exports to Markdown, JSON, or plain text. Connect over SSH to review runs from another machine, or serve the interface from Docker on port 3456 with the Claude data directory mounted read-only. Use it to find out why a run burned tokens, why Claude forgot an instruction after compaction, or what a misbehaving subagent was actually told. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- See what the terminal hides
- Every Read, Edit, Bash, and search call expands with exact file paths, syntax-highlighted code, inline diffs, and full output, instead of a one-line summary such as Read 3 files.
- Find where tokens actually went
- Per-turn attribution splits context into CLAUDE.md files, skills, mentioned files, tool results, thinking, team overhead, and user text, and compaction markers show exactly what was dropped.
- Debug subagents and agent teams
- Each subagent gets its own execution tree with tool traces, duration, tokens, and cost, nested agents render recursively, and teammate messages are color-coded by sender for easy tracing.
- Review sessions from any server
- Run the standalone server in Docker, or connect over SSH using your ssh config with agent forwarding or key auth, to inspect Claude Code sessions stored on remote machines.
Features
- Context Reconstruction
- Per-turn token attribution across seven categories (CLAUDE.md, skills, @-mentioned files, tool I/O, thinking, team overhead, user text) with a Visible Context panel and compaction phases.
- Tool Call Inspector
- Syntax-highlighted Read calls with line numbers, inline Edit diffs, full Bash output, Grep and Glob matches, and rendered Markdown and Mermaid diagrams from assistant responses.
- Notification Triggers
- Built-in alerts for .env access, tool errors, and turns above 8,000 tokens, plus custom regex triggers on any field, scoped per repository, with colors and ignore patterns.
- Project Memory Viewer
- Browses each project's MEMORY.md and layer files with frontmatter cards and wikilinks, plus an Open-in launcher for Finder, Cursor, VS Code, Zed, Xcode, iTerm, Ghostty, or Terminal.
- SSH Remote Sessions
- Connects to remote machines using ~/.ssh/config, agent forwarding, or key authentication, with a Test Connection check before switching the data source from local to remote.
- Standalone Docker Server
- Serves the interface on port 3456 with HOST, PORT, and CLAUDE_ROOT variables, mounts the Claude data directory read-only, and makes zero outbound network calls.