Turn a browser HAR capture into a typed TypeScript client, an OpenAPI 3.1 spec and a mock server. Runs locally, no API key.
View on GitHub ↗Homepage ↗Record a web app's network traffic in your browser. Get a typed TypeScript client for its API. capture.har → client.ts + openapi.json + a mock server. Runs locally, deterministic, no API key.
Figuring out an undocumented API in DevTools → Network takes an afternoon: which endpoints exist, what the ids look like, which fields are optional, what auth it wants. har2sdk does it in one command for JSON APIs — REST, GraphQL, JSON-RPC and tRPC — and gives you a client you can import:
All of that was inferred from one recording of the demo shop — a small fake app clicked through by a real Chromium — with no spec and no config.
1. Record. Open the app, DevTools → Network, tick Preserve log, use the app, then click Export HAR (⤓) in the Network toolbar — or right-click a request → Save all as HAR. 2. Generate.
3. Use it — or develop offline against a mock that answers like the real API, with fake data:
Needs Node 20+. Reads standard HAR 1.2: tested with Chrome-style exports and Playwright recordings by Chromium (fixtures). Firefox, Safari, mitmproxy, Charles and Proxyman write the same format but have no fixtures yet — if one trips it up, please open an issue with har2sdk inspect --json output (never the HAR itself).
The fake demo shop in Chromium: 28 API calls (REST, GraphQL, a 404, a 204…) recorded into acme-shop.har. Part of the generated client.ts: named types, an open enum for status, formats.
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/Mersbyte--har2sdk.html)
Give your AI agent a side door into any web app you use: browse the app, Sidedoor records its API and serves it as an MCP server for Claude, Codex and Cursor.
sepehr071/toolsmeltTurn an OpenAPI file or a recorded website into a curated, tested MCP server; your agent designs the tools.
janwilmake/agent-codemodeLet the scripts your coding agent writes call your connected MCP servers (no extra auth)
KonghuanSmart/calculate-mcpA high-precision calculation & binary data MCP server with chained batch execution (batch_calc), bitwise logic, IEEE 754, crypto, and math.
Chaarangan/StepgateAgents can't skip steps: an MCP server that runs gated, API-only stepfiles on the client's own model.
protonspy/harness-for-reaDesktop app and terminal UI for deep analysis of software you own: an orchestrator plans, a sandboxed Claude Code specialist reverse engineers in Docker, with REA and Cheat Engine over MCP.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.