API & MCP

Everything a person can do on Distributed Trace Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Distributed Trace Explorer

Paste a trace exported as OTLP JSON (resourceSpans), Jaeger JSON (data[].spans) or Zipkin v2 JSON. The explorer rebuilds the span tree, computes self-time (excluding overlapping child spans), the critical path that determines end-to-end latency, the slowest services, error spans, and detects N+1 queries and fan-out (many sibling spans with the same name), with a service call graph and a waterfall.

Inputs of Distributed Trace Explorer
FieldTypeDefaultDescription
texttextarea—Trace JSON. OTLP/JSON export (e.g. from the OpenTelemetry Collector file exporter), Jaeger UI "Download JSON" / API /api/traces/{id}, or a Zipkin v2 span array.
filefile—Or upload the file. Read in memory as UTF-8 text and not stored. Max 5 MiB.
traceIdtext—Trace id (optional). If the payload contains several traces; default is the trace with the most spans.
repeatThresholdinteger5Flag repeated sibling spans from. Minimum number of same-named sibling spans to report as N+1 / fan-out.

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "distributed-trace-explorer": { "type": "http", "url": "https://distributedtraceexplorer.usefulweb.site/mcp" }
  }
}