Web UI for exploring and analyzing your local Claude Code session data.
- 🔎 Filter by message count, tokens, git branch, and date
 - 📝 View complete session messages and interactions
 - 🛠️ Expandable tool use/result blocks
 - 💭 See Claude's internal thinking process
 - 📊 Track token usage
 - ⚡ Lazy loading with pagination
 
- Python 3.10+
 - UV package manager
 - Claude Code session data in ~/.claude/projects/
 
- Clone the repository:
 
git clone https://github.com/santaclaude2025/inspector-claude.git
cd inspector-claude
- Install dependencies:
 
Run the application with:
The web interface will be available at http://localhost:3000.
Built with Python and Reflex framework - the entire application is written in Python, with the frontend automatically generated.
Data Flow:
- Session metadata is indexed at startup from ~/.claude/projects/*.jsonl
 - Message content is loaded on-demand for selected sessions
 
inspector_claude/
├── inspector_claude/
│   ├── __init__.py              # Package initialization
│   ├── indexer.py               # Data loading and session indexing
│   └── inspector_claude.py      # Main Reflex UI application
├── .web/                        # Generated frontend code (React)
├── pyproject.toml               # Python dependencies
├── rxconfig.py                  # Reflex configuration
└── README.md                    # This file
Key components:
- indexer.py - Reads and parses JSONL session files
 - inspector_claude.py - Application state and UI components
 
Session data is indexed in memory at startup for simplicity.
See TODO.md for planned features including:
- Image content support
 - Message sender type filters
 - Session compaction handling
 
.png)
  


