The task ended. The context kept travelling.
Old turns and tool results ride with every new request. Marmot shows how much history each turn is carrying.
Claude Code · local diagnostics
Marmot turns local session records into evidence: what consumed your context, why it kept repeating, and what to change next.
brew install --cask drdroidlab/tap/marmotDaily modelled cost by model.
Modelled at API rates — not your bill.
From the last 7 days of Claude sessions on this Mac.
23 prompts so far, never compacted.
↳ Start fresh for a new task, or run /compact.Across 83 prompts in one long-running session.
↳ Compact when the early work stops being relevant.Read the Claude Code session records already on your Mac.
Connect heavy usage to context, tools, MCP, and model choice.
Get one concrete change to make before the next turn.
Follow the token trail
Marmot turns vague usage pressure into a short list of causes, with evidence attached and an action you can take.
Old turns and tool results ride with every new request. Marmot shows how much history each turn is carrying.
MCP definitions consume baseline context. Marmot separates useful servers from idle ones.
See which tools fail and where retries are quietly multiplying usage.
See where premium models handled work a lighter model could carry.
Not another usage meter
Recommendations point to the sessions, context, and habits behind your usage—then give you a concrete next move.
From the last 7 days of Claude sessions on this Mac. Thresholds you set come first, then the biggest savings.
23 prompts in this session so far, never compacted.
↳ Start a fresh session for a new task, or run /compact to keep the thread and drop the weight.A threshold you set in NotificationsAcross 83 prompts in one long-running session.
↳ Run /compact, or start fresh for the next distinct piece of work.Measured from your local session filesInside the local browser
Open a detailed report on your Mac when you want to dig deeper.
See plan windows, modelled spend, and session activity together—without mistaking the shadow price for a bill.
Find tools that fail repeatedly so you can fix the path, permission, or contract before the next run.
Failures cost a turn—and often a retry.
See which attached servers were useful and which definitions travelled with every request for nothing.
17,597 tokens from idle servers.
Local by design
No account. No hosted service. No telemetry. The normal report avoids conversation text, and the local browser can leave prompts and replies out too.
~/.claude/projects/**/*.jsonlInstall Marmot
Install the macOS app with Homebrew and keep your limits, cost, and recommendations one click from the clock.
FAQ
The JSONL session records Claude Code already keeps under ~/.claude/projects. The standard report uses counts, IDs, models, tool names, and usage data—not your conversation text.
Not on a subscription. It is what the tokens would cost at published API rates. The session and weekly limit percentages are the useful ceilings on Pro, Max, and Team.
No. A rule speaks once per session. Limit and long-session reminders return only at their configured marks, with a quiet period between live nudges.
Yes. Run marmot browse to open a local session browser. Use marmot browse --no-text to exclude prompts and replies.
Marmot is alpha. Claude Code’s session format is internal and can change. Run marmot doctor when something looks wrong.