bug2context MCP server
io.github.emanueld92/bug2context·v0.1.1·1 starsTurn bug screen recordings into chronological context for AI agents: frames, OCR, logcat, voice.
1 stars140 downloads/wk
Reviews
Write oneNobody has reviewed bug2context yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
bug2context tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
analyze_bug_videoProcess a bug screen recording into a chronological markdown report.
get_frameReturn one frame from a bundle so you can look at it.
list_bundlesList previously processed bundles, newest first.
Public scan report
scanner v0.1.10 · 2026-10-25 · same rubric, same numbers if you re-run it
- Code scan14 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 4 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How bug2context compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- Tools
- 3
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 140
- more than 70% of 12,191 servers with a package
What its tools let an agent do: 3 read
Install bug2context in Claude Code, Cursor or VS Code
claude mcp add bug2context -- uvx bug2context
What the publisher says
From the bug2context repository's README, as published. We do not edit it. Read it on GitHub
bug2context
Turns a screen recording of a bug into structured, chronological context an AI agent can actually read.
Screenshots lose the story: bugs happen fast, a still frame has no timeline, and the logs and the narration live somewhere else entirely. LLMs don't take video. This distills a recording into one markdown chronology — key frames, the text on screen, device logs and spoken narration, all on the same clock.
- No SDK. Works on any video, including one someone sent you over WhatsApp.
- Local-first. Nothing leaves your machine. No account, no API key, no cloud.
- MCP-native. Claude Code calls it as a tool; you just point at the file.
uvx bug2context # guided menu
uvx bug2context process bug.mp4 --out bundle/Running it with no arguments opens a menu — record an Android device, process a video you already have, or list previous bundles — and writes to ~/.bug2context/, which is where the MCP server looks. Everything it does is reachable through the flags below; it just stops you having to remember them.
What comes out
- `[00:00]` 🖼 `frames/frame_001_00-00.png` — start of recording
OCR: Cart 2 items
- `[00:04]` 🖼 `frames/frame_002_00-04.png` — screen changed
OCR: Applying discount..
- `[00:04]` 📋 W/DiscountEngine: rate field missing
- `[00:06]` 🖼 `frames/frame_003_00-06.png` — screen changed
OCR: TypeError: cannot read 'rate'
- `[00:06]` 📋 E/RideService: NullPointerException at RideRequest.kt:142
- `[00:06]` 📋 F/AndroidRuntime: FATAL EXCEPTION: main
- `[00:06]` 🎙 "ahí está, explota al aplicar el descuento"A full run is in examples/report.md.
bundle/
├── report.md the chronology above
├── frames/ the key frames, named by timestamp
└── meta.json the same data, structured, for programmatic useInstall
Requires ffmpeg on PATH (brew install ffmpeg).
uvx --from 'bug2context[ocr]' bug2context # OCR: Apple Vision on macOS, tesseract elsewhere
uvx --from 'bug2context[ocr,audio]' bug2context # plus spoken narrationOr from source:
git clone https://github.com/emanueld92/bug2context
cd bug2context
uv sync --extra ocr --extra audioEvery stage is optional and degrades quietly: no OCR backend still gives you frames, no audio track still gives you the visual timeline.
Use it from Claude Code
claude mcp add bug2context -- uvx --from 'bug2context[ocr]' bug2context-mcpWorking from a local clone instead: uvx --from /path/to/bug2context bug2context-mcp.
Then just ask: "analiza este video del bug: ~/Desktop/crash.mp4".
Bundles default to ~/.bug2context/-/.
Android: screen + logcat in one command
uv run bug2context record --seconds 60 --package com.example.app --out bundle/Reproduce the bug while it records. Both streams start from a single host timestamp — that anchor is what makes a stack trace land next to the frame showing the crash.
Pass --package. Level filtering alone is not enough on a real phone: a 2 min capture held 7,634 W/E/F lines and none came from the app under test — they were all AppOpsControllerImpl, GNSSMGT and friends. Scoping to the app's process left 35. Crash tags (AndroidRuntime, DEBUG) are kept regardless of process, since a crash report is the whole point.
Logs are captured unfiltered and scoped afterwards, so an app that crashes and restarts still has its death recorded. Consecutive identical entries fold into one with a (×N) count — framework chatter arrives in bursts of fifteen.
Already have a log file? Merge it into any video:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
bug2context: common questions
- Is bug2context MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the bug2context safety report
- How do I install bug2context?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does bug2context need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is bug2context maintained?
- The last commit was 14 days ago (2026-10-21). The latest release is v0.1.1.
- How does bug2context compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); tools 3 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.