See every Claude Code session, tool call, and token as it happens. ClawMetry reads the transcript JSONL Claude Code already writes to ~/.claude/projects and renders sessions, tokens, cost, and sub-agent trees in one dashboard. No SDK. No wrapper around your API key.
Claude Code writes one JSONL file per session under ~/.claude/projects/<workspace>/<session-uuid>.jsonl. Every user message, assistant turn, tool call (Bash, Read, Edit, Write, WebFetch, Task, TodoCreate), tool result, thinking block, and per-turn usage counter is in there. ClawMetry's Claude Code adapter reads those files in read-only mode and surfaces:
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
clawmetry
The daemon auto-detects ~/.claude/projects 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.
Claude Code is one of 19. Free on every plan: OpenClaw, NVIDIA NemoClaw. Paid on Cloud Pro or Self-Hosted Pro: the rest.