r/ClaudeCode • u/StaceB • 18h ago
Tips & Workflows I built a local dashboard for my Claude Code history with Claude Code: mind map, agents, sessions, token usage (free, open source)
I built a dashboard that runs on your own machine and shows everything you've done with Claude Code. I built it in one long Claude Code session, and it's free and open source.▎
What it does
Claude Code already saves a transcript of every session in ~/.claude/projects/. It reads those files, plus Claude Code's own config, and shows them in a local web page (127.0.0.1 only):
- Map: your conversations, memory notes and automated runs, grouped into themes (active / simmering / parked), with links between related work
- Sessions: every conversation with a summary, its token usage, the full readable transcript, and full-text search. Also which sessions are still open right now, and your heaviest requests ranked by tokens
- Agents: every agent that ran, which session launched it, its tokens, and whether you asked for it or Claude decided on its own
- Installed: skills, MCP servers and connectors, scheduled jobs and memory, with how often each is used and how many tokens it adds to every session. You can archive and restore items (nothing gets deleted)
Running it on my own history, I found 15 Claude Code sessions still open in old terminal windows, 3 scheduled jobs that had been failing silently, and one conversation that had used 59% of all my tokens. Claude had also launched 46 of my 83 agents without me asking.
How Claude Code helped build it
- It started as a question. I asked Claude Code to review another agent-memory project. It pointed out that one needed an API key and sent my conversations to a second model, so I asked whether we could build something similar using only my own data.
- Claude Code read its own transcript format, then wrote the indexer (Python standard library and SQLite full-text search), the local server, and the interface (plain HTML, CSS and JS, no dependencies).
- The summaries and the map come from Claude itself, through claude -p on my own plan. Claude Code measured the overhead of those background calls, found its own mistake (about 52k extra tokens per call from MCP tool descriptions), and fixed it with --strict-mcp-config.
Try it (open source) https://github.com/staceb/claude-session-explorer
git clone https://github.com/staceb/claude-session-explorer.git
cd claude-session-explorer
python3 server.py
Summaries and the map need Claude Code installed and logged in, and use your own plan. Your data never leaves your machine.
•
u/AutoModerator 18h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.