Har2MCP
Convert browser network captures (HAR) and API traffic into MCP tools
Har2MCP inspects recorded browser network activity (.har files) and automatically reverse-engineers clean Model Context Protocol tools.
Kom hurtigt i gang
Terminal
Kom i gang med Har2MCP i dit projekt.
# Convert a saved HAR capture into an MCP server
npx har2mcp generate -i ./traffic.har -o ./my-mcp-serverOm Har2MCP
When Danish digital services, municipal platforms, or private dashboards lack public OpenAPI documentation, Har2MCP allows developers to record browser interactions in Chrome DevTools, export the HAR log, and synthesize fully typed MCP tools with automatic parameter detection.
DK
Danske data- og produkt-guides
Hvordan udviklere og agenter bruger Har2MCP til at tilgå dansk digital infrastruktur.
Reverse Engineer Undocumented Danish Municipal Search
Record network requests while searching on a municipal portal, then use Har2MCP to generate an MCP tool callable by Claude Desktop.
npx har2mcp generate --input ./kommune-search.har --output ./kommune-mcpNøglefunktioner
Parse Chrome / Firefox .har files into MCP tool definitions
Automatic query parameter and JSON body schema extraction
Filters out tracking cookies and static asset noise
Generates TypeScript and Python MCP server boilerplate