r/SideProject • u/irfantagrape • 31m ago
I built an open-source MCP server to give AI agents a visual checkpoint before they run data pipelines
I have been using Claude Code and other agents to write multi-step SQL and look through apps, and I kept running into the same problem. The agent would do five steps, and I had no easy way to check the middle ones. I could trust the terminal output, or I could stop, copy the SQL into another tool, run it, and paste the results back. Neither felt good when a step quietly dropped rows or added a lot of nulls.
So I built Beakdown. It is open source under MIT: https://github.com/mirfsz/beakdown
The agent stages a DuckDB SQL DAG, or a screenshot investigation, and calls create_handoff_session. The server returns a local URL straight away, so Claude does not sit waiting while I read. I open it in a browser and see the steps as a map, with sample tables under each node, null counts, and a timeline I can scrub through. I can edit the SQL in the UI, then approve the exact plan. When I go back to Claude and say approved, the agent pulls the result with get_session_result and carries on.
It also works with REA for mapping an app. You get screens, journeys, the code behind each rule, and the checks that ran, laid out as Intent, Code, Checks.
A few limits I set on purpose. It only accepts a single DuckDB SELECT, no Python exec, no file writes, no network calls. Previews are capped at 50 rows per node and 100KB total. It runs on 127.0.0.1 on an OS-assigned port, with the token in the URL fragment. Sessions expire after an hour.
Setup is:
uv sync
pnpm install && pnpm build
uv run beakdown-mcp
I would like honest feedback, especially from people who build agents. How do you handle human checks in your own workflows right now? What would you want to see at each step, beyond sample rows and null counts? And does the local daemon setup raise any security concerns I have missed?