Labsco
MCP SERVER

MCP HAR Server

by naotaka3

Read a HAR capture without scrolling through it — list the requests, narrow to what matters, and open the headers and bodies of the few that do.

API Specifications & HTTP ToolingVerified
Summary
A HAR file reduced to lines you can scan, with the detail one hash away.

The design is about output volume. A raw HAR is unreadable and enormous; this returns one line per request, and only the entries you name come back with headers and bodies. Listing the domains first is the intended move — it shows you what to exclude before the request list is worth reading.

What it is

A reader for HAR files on your disk. It flattens a capture into one line per request with a short hash, and those hashes are how you ask for the full detail later.

What you get
  • Every request as a compact line — hash, status, method, URL — with query parameters shown or hidden
  • Filtering by status code, HTTP method, URL pattern, or by excluding domains you do not care about
  • Full headers and request and response bodies for specific entries, addressed by hash, one at a time or several at once
  • A list of every unique domain in the capture, which is how you find the noise worth filtering out
Requirements

No account and no key — it reads a .har file from a path you give it. Run it with npx -y @naotaka/mcp-har-server@latest over stdio, or from a build with node build/index.js. The package also installs mcp-har-cli for the command line and mcp-har-sse for an SSE transport.

Setup effort

One command — npx -y @naotaka/mcp-har-server@latest