Show HN: Open-source tool turns a site into an MCP by recording the browser

  • Posted 4 hours ago by ethantheswe
  • 1 points
https://github.com/danielthedm/browse2mcp
Built browse2mcp to automatically create an mcp server by opening a broswer. I built it because there's a few website's I use on a regular basis that were super annoying to try to get to work with Claude. Note: this is mostly vibe coded with a few touch ups.

How it works:

Run browse2mcp to record and a browser opens, you use the site normally

Close the browser, all API requests are saved

Run browse2mcp generate, it analyzes the traffic and spits out a TypeScript MCP server you can have it automatically run add to claude desktop

It handles REST and GraphQL, detects auth patterns, bakes in captured tokens, and generates a login tool so you can refresh expired tokens without rerecording.

There's also an optional LLM refinement pass using Claude Haiku (could probably extend to other models) that rewrites the autogenerated tool descriptions into something actually useful, adds sensible defaults, and removes noisy endpoints.

Some things definitely still to-do are to decrease the tools (it doesn't consolidate very well), and make it generally less flaky.

https://github.com/danielthedm/browse2mcp

0 comments