MCP.so
Sign In

HAR MCP Server

@tjamet

Basic information

Category

Other

License

MIT license

Transports

stdio

Author

tjamet

About HAR MCP Server

A MCP server for parsing and analyzing HAR (HTTP Archive) files

#ai#mcp-server#http-archive

HAR MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "github": {
      "command": "go",
      "args": [
        "run",
        "github.com/tjamet/har-mcp/cmd/har-mcp@main"
      ]
    }
  }
}

HAR MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is HAR MCP Server?

A Model Context Protocol (MCP) server for parsing and analyzing HAR (HTTP Archive) files. It allows AI assistants to inspect network traffic captured in HAR format, with built-in support for redacting sensitive authentication headers.

How to use HAR MCP Server?

Install via Docker, go run, or build from source. Configure the server in your MCP configuration as a stdio-based tool. Use the provided tools: load_har to load a file, list_urls_methods to see all URLs and methods, get_request_ids to find specific request IDs, and get_request_details to retrieve full request details with automatic header redaction.

Key features of HAR MCP Server

  • Load HAR files from local filesystem or HTTP URLs
  • List all URLs and HTTP methods in a HAR file
  • Query request IDs by URL and method combination
  • Retrieve full request details with automatic redaction of auth headers
  • Handles float/decimal time fields, base64 content, and extra fields
  • Supports standard HAR format from browser developer tools

Use cases of HAR MCP Server

  • Inspecting network traffic captured by browser developer tools
  • Debugging API interactions through AI-assisted analysis
  • Auditing authentication and authorization headers in HTTP logs
  • Automating HAR file processing in CI/CD pipelines

Frequently asked questions

1

How does HAR MCP Server handle sensitive data?

Authentication headers such as `Authorization`, `X-API-Key`, `X-Auth-Token`, `Cookie`, `Set-Cookie`, and `Proxy-Authorization` are automatically redacted when retrieving request details.

2

What are the dependencies and runtime requirements?

The server is written in Go. It can run via Docker, `go run`, or a pre-built binary. It uses `martian/har` for parsing, `mcp-go` for MCP implementation, and `testify` for testing.

3

How is data loaded into the server?

HAR files are loaded on demand using the `load_har` tool, either from a local file path or an HTTP/HTTPS URL. Data is not stored permanently between sessions.

4

What transport does the server use?

The HAR MCP Server runs as a stdio-based MCP server, communicating via JSON‑RPC over standard input/output. It does not support network transports.

5

How does the server handle non-standard HAR files?

It automatically rounds float/decimal time fields to integers, accepts both plain text and base64‑encoded response content, and tolerates additional fields not present in the basic HAR specification.

Comments

More Other MCP servers