Original Reddit post

Hey r/ClaudeAI , I’ve been building claudestat for a few months — it’s basically “htop for Claude Code.” It hooks into every event as it fires and shows you what’s happening in real time, instead of reading logs after the session ends. What it does:

  • Live tool trace — every Read, Write, Bash, Edit call with duration and token cost as it runs
  • Quota guard — alerts at 70%, 85%, 95% usage; optional kill switch blocks new sessions before you blow through your limit
  • Loop detector — flags when Claude is context-thrashing and estimates the waste cost
  • Web dashboard (7 tabs: Live, History, Projects, Analytics, Top, System, Orchestrate)
  • MCP server — register once, then ask Claude about its own usage from inside the terminal (“how much did I spend this week?”)
  • OpenCode support — same live view for OpenCode sessions Stats from the project itself (it measures its own dev):
  • 313 tests passing, tsc strict clean
  • ~344 hours measured development time across 116 AI sessions
  • Built with Claude Code + OpenCode as pair programming partners Install: npm install -g u/statforge/claudestat && claudestat setup Dashboard at http://localhost:7337/ Everything is local SQLite, zero cloud, MIT license. macOS/Linux/Windows. Would love feedback on what’s missing or what would make you actually use this. submitted by /u/deloxalph

Originally posted by u/deloxalph on r/ClaudeCode