Back to home

Claude Monitor

A live dashboard for my Claude Code sessions: what's running, what it's costing, and how close I am to my usage limits.

The dashboard with sample data: gauges for the 5-hour and weekly usage limits, each with a projection, and a card for each Claude Code session running, with its model, effort level, tokens and cost

About

Claude Code makes it easy to run a lot at once: several sessions, each starting subagents of its own. Claude Monitor keeps track of them all, showing which are working and which are waiting for me, the model and effort level each one uses, and what it's costing.

It reads the files Claude Code already writes on my computer and never calls the Claude API, so it uses no tokens and nothing leaves the machine.

Usage limits

Pro and Max plans have a rolling 5-hour limit and a weekly one, and hitting either in the middle of a task can stall work for hours. A gauge for each shows how much I've used, how much of the time has gone and, from my current pace, when I'd run out. That's the cue to lower the effort or move a session to a cheaper model while there's still time.

Anthropic doesn't publish how big the limits are, so the monitor estimates them, and typing in Claude's own percentages once makes them exact. Out of the box its estimate read 75% when Claude said 50%. After matching, it stayed within half a percentage point.

Settings: which sessions to show, a chime when a task finishes, a count on the taskbar icon, and boxes for Claude's own usage percentages and reset times

Finished tasks

When a task finishes, a bell counts it, the taskbar icon gets a red number like unread messages, and a chime plays. I can start something long, do something else, and come back when it's done instead of checking every few minutes.

Charts break the usage down by model, effort and time, and an API-equivalent cost shows what each session would cost at per-token prices. That's a concrete way to judge whether maximum effort, or Opus over Sonnet, was worth it.

Today's totals, a chart of tokens per hour stacked by model, and the usage broken down by model and by effort level

Behind it

It needs nothing but Python's standard library, and the page is plain HTML, CSS and JavaScript in a window of its own. The first start reads my whole Claude history, about a gigabyte, in around 15 seconds. After that it's cached and starts at once.

The server only answers this computer, so other machines and other web pages can't read the session data.