Har summarize

har-summarize · version 1.0.0 · Other utilities · free, no key needed

Summarize a HAR 1.2 JSON log into deterministic request, status, MIME, host, timing, size, and redaction counts.

Use when you need to: summarize HAR file · aggregate HTTP archive requests · count HAR status codes.

Decide before calling

Read the versioned contract and the supported scope below. Reuse har-summarize@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use har-summarize@1.0.0 for summarize HAR file. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "har_json": "{\"log\":{\"entries\":[]}}"
}

Response:

{
  "result": {
    "request_count": 0,
    "methods": [],
    "statuses": [],
    "mime_types": [],
    "hosts": [],
    "timing": {
      "known_count": 0,
      "missing_count": 0,
      "total_ms": 0,
      "min_ms": null,
      "max_ms": null,
      "mean_ms": null
    },
    "transfer": {
      "known_count": 0,
      "missing_count": 0,
      "negative_count": 0,
      "total_bytes": 0
    },
    "redaction_counts": {
      "cookies": 0,
      "authorization_headers": 0,
      "query_parameters": 0,
      "request_bodies": 0,
      "response_bodies": 0
    }
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "har-summarize",
  "version": "1.0.0",
  "input": {
    "har_json": "{\"log\":{\"entries\":[]}}"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/har-summarize/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"har_json":"{\"log\":{\"entries\":[]}}"}'

The machine-readable contract is at /v1/tools/har-summarize/versions/1.0.0.

CLI

node cli.mjs run har-summarize 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.