Observability and cost tracking for Cursor agents

See every Cursor agent chat, tool call, and token as it happens. ClawMetry reads Cursor's agent transcripts and the local state.vscdb and renders sessions, tokens, cost, and model routing in one dashboard. No IDE extension.

Supported runtime Reads SQLite state DB plus JSONL agent transcripts Read-only Free trial

What ClawMetry sees on Cursor

ClawMetry's Cursor adapter opens the store Cursor already writes (~/Library/Application Support/Cursor/User/globalStorage/state.vscdb (Mac), ~/AppData/Roaming/Cursor/User/globalStorage/state.vscdb (Windows), ~/.config/Cursor/User/globalStorage/state.vscdb (Linux), plus ~/.cursor agent-chat JSONL files) in read-only mode and surfaces:

Source: the adapter is at clawmetry_pro/adapters/cursor.py. Every parse rule and every SQL SELECT is in that file.

Enable it in about two minutes

1. Install ClawMetry

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

2. Run the daemon

clawmetry

The daemon auto-detects Cursor's local store and starts reading immediately. No env var, no config, no runtime restart.

3. Open the dashboard

Open http://localhost:8900. Switch the runtime chip to Cursor.

Start the free trial →

The one thing this catches that Cursor alone does not

Left alone, Cursor's failure mode is an agent chat that switches to Opus for one turn and stays there for the rest of the session. ClawMetry watches for it: cost per hour on the Cursor runtime, message-repeat detection, and per-session token-growth curves. Set a threshold, and the approval queue pauses before the next call. Kill switch (Pro) stops it.

All 19 runtimes ClawMetry observes

Cursor is one of 19. Free on every plan: OpenClaw, NVIDIA NemoClaw. Paid on Cloud Pro or Self-Hosted Pro: the rest.

OpenClaw NVIDIA NemoClaw NanoClaw PicoClaw Claude Code Codex Cursor (this page) Aider Goose opencode Qwen Code Hermes Pi Deep Agents n8n Antigravity GitHub Copilot Grok QM