Debug browser bugs in Claude Code — from real evidence
Claude Code registers MCP servers with a single CLI command — this is the fastest setup of any tool. One line, and Claude can read every TraceBug export in your Downloads, Desktop or project folder. Everything runs locally: the server is stdio-only, opens zero network connections, and reads report files from your disk. See the unedited transcript of Claude going from crash to root cause in five tool calls.
- 1
Add the server
Run this once, anywhere. The -s user flag makes it available in every project; drop it to register for the current project only.
Terminalclaude mcp add -s user tracebug -- npx -y tracebug mcp
- 2
Capture a bug
Use the TraceBug extension (or SDK) to capture a bug and click Export replay (.html). The server auto-discovers exports in your Downloads and Desktop folders — no paths to configure. To pin a project folder instead, add --dir ./bug-reports to the command above.
- 3
Ask Claude to investigate
Start a Claude Code session and say: "List my bug reports and investigate the newest one." Claude calls list_bug_reports, pulls the evidence, and starts from the actual failing line. There's also a built-in prompt: /tracebug:debug_bug_report.
Run `claude mcp list` — tracebug should appear with a ✓. In a session, ask "what MCP tools do you have?" and look for list_bug_reports.
Troubleshooting
Full MCP reference — all twelve tools, the report format, and the FAQ — lives at /docs/mcp. Other tools: Cursor · Windsurf.
The next bug is one AltB away from fixed
Free, no account to capture. Works with any front-end framework. Your data stays on your machine.
Edge, Brave and Opera install from the Chrome Web Store.