Har To Curl

Network REST API MCP

Convert a HAR (HTTP Archive) file into curl commands, one per recorded request, and return them as a script plus a per-request list. Each command carries the method, URL, request headers (pseudo-headers, Host, Connection, and Content-Length are skipped), optional cookies, and the request body. Output uses short flags by default; long_form switches to --request, --header, --cookie, --data.

This page documents the MCP tool findutils:har_to_curl. See the REST reference →

Call it over MCP

Tool name findutils:har_to_curl · no API keys · 120 requests/min per IP

Claude Code

claude mcp add findutils --transport http https://mcp.findutils.com/

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}

Raw JSON-RPC (any MCP client) — verified example

curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "har_to_curl",
      "arguments": {
        "har": "{\"log\":{\"entries\":[{\"request\":{\"method\":\"GET\",\"url\":\"https://api.example.com/users\",\"headers\":[{\"name\":\"Accept\",\"value\":\"application/json\"}]}}]}}"
      }
    }
  }'

Input schema

Argument Type Required Description
har string yes HAR 1.x JSON text as exported by browser DevTools (an object with log.entries).
include_headers boolean no Emit -H for each request header. Default: true. Default: true.
include_cookies boolean no Emit -b with the request cookies. Default: false. Default: false.
long_form boolean no Use long flags (--request, --header, --cookie, --data). Default: false. Default: false.

Example arguments (verified)

{
  "har": {
    "log": {
      "entries": [
        {
          "request": {
            "method": "GET",
            "url": "https://api.example.com/users",
            "headers": [
              {
                "name": "Accept",
                "value": "application/json"
              }
            ]
          }
        }
      ]
    }
  }
}

Arguments that carry JSON as a string are shown decoded for readability. The Copy button copies the exact wire arguments.

Also a REST endpoint

The same tool answers plain HTTP at POST /api/tools/har-to-curl/execute — no key, 60 requests/min.

Open the REST reference for Har To Curl →

More Network tools