See every Claude Code session, tool call, and token as it happens. ClawMetry detects Claude Code automatically and renders sessions, tokens, cost, and sub-agent trees in one dashboard. No SDK. No wrapper around your API key.
Claude Code records every session locally. Every user message, assistant turn, tool call (Bash, Read, Edit, Task), and sub-agent run is captured, and ClawMetry turns that into a readable timeline with per-turn tokens and cost.
Pick the line that matches your OS. Windows users: paste the install.cmd line, not the shell one.
# macOS or Linux
curl -fsSL https://clawmetry.com/install.sh | bash
# Windows (cmd.exe or PowerShell)
curl -fsSL https://clawmetry.com/install.cmd -o install.cmd && install.cmd
Already have Python? pip works too; onboard is the interactive first-run wizard.
# Any OS with Python 3.9+
pip install clawmetry && clawmetry onboard
Or skip the terminal entirely and grab the desktop app: macOS (.dmg) · Windows (.exe) · Linux (.AppImage). It installs and updates ClawMetry for you.
clawmetry
The daemon auto-detects Claude Code and starts reading Claude Code transcripts immediately. No env var, no config, no runtime restart.
Open http://localhost:8900. Switch the runtime chip to Claude Code.
Start the free trial →ClawMetry reads the transcripts Claude Code writes regardless of how it authenticates: Anthropic API key, Claude Pro OAuth, or Claude Max subscription. Turns billed against a subscription (rather than API) are labelled correctly on the Cost tab so you see cost coverage rather than a false zero.
For long-system-prompt sessions (most Claude Code workflows have a 3000-6000 token system prompt), Anthropic prompt caching saves about 90 percent of input cost on cache hits. ClawMetry surfaces cache-read vs uncached-input tokens per call, so you can:
See the caching and reuse guide (in the pipeline) for the tactics themselves; ClawMetry shows you which ones are actually working.
Claude Code's Task tool spawns sub-agents that run their own turn tree, and their tokens land on the parent session's bill. ClawMetry shows the parent turn with each sub-agent as a nested tree, per-sub-agent token totals, and the tool calls each one made. A parent that spawns 4 Task sub-agents that each burn 20k tokens is now a single visible number (80k) instead of five separate mysteries.
| Tab | What it shows | Scope |
|---|---|---|
| Sessions | Every Claude Code session, sorted by last activity, with workspace, model, and token totals | All workspaces, or one |
| Brain | Live entries as they land: user messages, tool calls, sub-agent spawns, thinking | Whole node, or one session |
| Cost | Per-session, per-model, per-hour token spend; cache-read vs uncached-input split | Runtime = claude_code, or all |
| Sub-agents | Task tool spawn tree with per-sub-agent tokens and tools | Per session |
| Approvals | Pause + kill switch for token-maxing sessions and risky tool calls | Runtime-filtered |
Claude Code shows current session state and per-turn tokens inside the CLI. What it does not show is cost per hour across sessions and workspaces, cache hit rate per model, sub-agent token attribution rolled up under the parent, or a kill switch when a Task sub-agent is token-maxing. Those are the things a team running Claude Code on a real budget needs on day one; they are what ClawMetry adds. See the cost-per-hour visibility page and the token-maxing page for how these work end to end.
Engineers and founders from OpenAI, Google, PostHog and more have starred ClawMetry on GitHub. One of them helped build it.
Claude Code is one of 20. Free on every plan: OpenClaw, NVIDIA NemoClaw. Paid on Cloud Pro or Self-Hosted Pro: the rest.