Distill .har network captures with secret scrubbing/TS types and Drain-cluster noisy logs.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Folds multi-line stack traces (JS/Java 'at ...', Python Traceback, Go panics, Java 'Caused by:'), parses plain-text, Docker/Kubernetes CRI, and NDJSON logs, pre-masks <UUID>/<IP>/<HEX>/<ISO_TS>/<URL>/<NUM>, and runs a fixed-depth Drain prefix-tree clusterer to collapse 50,000+ log lines by 95–99% with errorClusters highlighted first. Pricing: $0.002 base (up to $0.008 max ($0.002 base + $0.001 per 2,000 log lines, capped at $0.008), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.
Raw plain-text, Docker/Kubernetes CRI, or newline-delimited JSON (ndjson) log stream.
Pre-split array of log lines (alternative to passing a single 'logs' string).
Fixed Drain prefix-tree depth (length -> leading tokens -> leaf templates).
Maximum canonical Drain clusters maintained before routing outliers to overflow.
Maximum characters retained per cluster sampleStackTrace.
Maximum ranked clusters returned in the response payload.
Drain token-similarity threshold [0.2-1.0] required to merge a log line into an existing canonical template.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http trace-diet https://trace-diet.apikeg.com/mcp
Folds multi-line stack traces (JS/Java 'at ...', Python Traceback, Go panics, Java 'Caused by:'), parses plain-text, Docker/Kubernetes CRI, and NDJSON logs, pre-masks <UUID>/<IP>/<HEX>/<ISO_TS>/<URL>/<NUM>, and runs a fixed-depth Drain prefix-tree clusterer to collapse 50,000+ log lines by 95–99% with errorClusters highlighted first. Pricing: $0.002 base (up to $0.008 max ($0.002 base + $0.001 per 2,000 log lines, capped at $0.008), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.
| Argument | Type | Description |
|---|---|---|
| logs | string | Raw plain-text, Docker/Kubernetes CRI, or newline-delimited JSON (ndjson) log stream. |
| lines | array | Pre-split array of log lines (alternative to passing a single 'logs' string). |
| treeDepth | integer | Fixed Drain prefix-tree depth (length -> leading tokens -> leaf templates). |
| maxClusters | integer | Maximum canonical Drain clusters maintained before routing outliers to overflow. |
| maxStackTraceChars | integer | Maximum characters retained per cluster sampleStackTrace. |
| maxReturnedClusters | integer | Maximum ranked clusters returned in the response payload. |
| similarityThreshold | number | Drain token-similarity threshold [0.2-1.0] required to merge a log line into an existing canonical template. |
{
"type": "object",
"properties": {
"logs": {
"type": "string",
"maxLength": 5000000,
"minLength": 1,
"description": "Raw plain-text, Docker/Kubernetes CRI, or newline-delimited JSON (ndjson) log stream."
},
"lines": {
"type": "array",
"items": {
"type": "string",
"maxLength": 32768
},
"maxItems": 100000,
"minItems": 1,
"description": "Pre-split array of log lines (alternative to passing a single 'logs' string)."
},
"treeDepth": {
"type": "integer",
"default": 4,
"maximum": 8,
"minimum": 3,
"description": "Fixed Drain prefix-tree depth (length -> leading tokens -> leaf templates)."
},
"maxClusters": {
"type": "integer",
"default": 300,
"maximum": 1000,
"minimum": 10,
"description": "Maximum canonical Drain clusters maintained before routing outliers to overflow."
},
"maxStackTraceChars": {
"type": "integer",
"default": 1500,
"maximum": 8192,
"minimum": 128,
"description": "Maximum characters retained per cluster sampleStackTrace."
},
"maxReturnedClusters": {
"type": "integer",
"default": 100,
"maximum": 500,
"minimum": 1,
"description": "Maximum ranked clusters returned in the response payload."
},
"similarityThreshold": {
"type": "number",
"default": 0.6,
"maximum": 1,
"minimum": 0.2,
"description": "Drain token-similarity threshold [0.2-1.0] required to merge a log line into an existing canonical template."
}
},
"additionalProperties": false
}Parses Chrome DevTools / Playwright .har captures, strips static assets (.js/.css/fonts/images), analytics beacons, and OPTIONS preflights, scrubs credentials (Authorization, Cookie, Set-Cookie, X-Api-Key, token params, JWTs) into [REDACTED:<type>], groups dynamic :id/:uuid routes and polling loops, surfaces 4xx/5xx failures and slowestEndpoints, and infers compact TypeScript request/response schemas. Pricing: $0.002 base (up to $0.008 max ($0.002 base + $0.001 per 250KB of .har input, capped at $0.008), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.
| Argument | Type | Description |
|---|---|---|
| har | object | Parsed HAR 1.2 JSON object containing log.entries (exported from Chrome DevTools, Playwright, or mitmproxy). |
| harJson | string | Raw serialized .har JSON text when passing unparsed file contents directly. |
| allowedHosts | array | Optional hostname allowlist (e.g. ['api.acme.com']) to isolate target traffic. |
| inferSchemas | boolean | Infer compact TypeScript interfaces/types for JSON request and response payloads across endpoint calls. |
| redactSecrets | boolean | Scrub Authorization, Cookie, Set-Cookie, X-Api-Key, api_key/token query params, and JWTs into [REDACTED:<type>]. |
| includeTelemetry | boolean | Keep analytics and telemetry beacons (Google Analytics, Segment, Datadog, Sentry, Mixpanel). Defaults to false. |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 30, 2026.
| includeStaticAssets | boolean | Keep static asset requests (.js, .css, .woff2, .png, .svg, .ico, images/fonts). Defaults to false. |
| maxFailureBodyChars | integer | Maximum characters retained per 4xx/5xx/network failure body snippet. |
| maxSlowestEndpoints | integer | Maximum number of slowest endpoints ranked by p95 latency. |
| includeOptionsPreflight | boolean | Keep CORS OPTIONS preflight requests. Defaults to false. |
{
"type": "object",
"properties": {
"har": {
"type": "object",
"properties": {},
"description": "Parsed HAR 1.2 JSON object containing log.entries (exported from Chrome DevTools, Playwright, or mitmproxy).",
"additionalProperties": true
},
"harJson": {
"type": "string",
"maxLength": 5000000,
"minLength": 2,
"description": "Raw serialized .har JSON text when passing unparsed file contents directly."
},
"allowedHosts": {
"type": "array",
"items": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"maxItems": 50,
"description": "Optional hostname allowlist (e.g. ['api.acme.com']) to isolate target traffic."
},
"inferSchemas": {
"type": "boolean",
"default": true,
"description": "Infer compact TypeScript interfaces/types for JSON request and response payloads across endpoint calls."
},
"redactSecrets": {
"type": "boolean",
"default": true,
"description": "Scrub Authorization, Cookie, Set-Cookie, X-Api-Key, api_key/token query params, and JWTs into [REDACTED:<type>]."
},
"includeTelemetry": {
"type": "boolean",
"default": false,
"description": "Keep analytics and telemetry beacons (Google Analytics, Segment, Datadog, Sentry, Mixpanel). Defaults to false."
},
"includeStaticAssets": {
"type": "boolean",
"default": false,
"description": "Keep static asset requests (.js, .css, .woff2, .png, .svg, .ico, images/fonts). Defaults to false."
},
"maxFailureBodyChars": {
"type": "integer",
"default": 512,
"maximum": 4096,
"minimum": 64,
"description": "Maximum characters retained per 4xx/5xx/network failure body snippet."
},
"maxSlowestEndpoints": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Maximum number of slowest endpoints ranked by p95 latency."
},
"includeOptionsPreflight": {
"type": "boolean",
"default": false,
"description": "Keep CORS OPTIONS preflight requests. Defaults to false."
}
},
"additionalProperties": false
}