Jaeger Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Jaeger Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<!-- mcp-name: io.github.mshegolev/jaeger-mcp -->
MCP server for [Jaeger](https://www.jaegertracing.io/) distributed tracing. Give Claude (or any MCP-capable agent) read access to your trace data — search traces, inspect spans, compare traces, compute span statistics, map service dependencies, predict performance issues, and forecast capacity needs — without leaving the conversation.
The existing Jaeger integrations require a running UI or custom scripts. This server:
readOnlyHint: true — zero risk of modifying trace data.structuredContent) for programmatic use + Markdown (content) for human-readable display.openapi.yaml).| Tool | Endpoint | Description |
|---|---|---|
jaeger_list_services | GET /api/services | List all instrumented services |
jaeger_list_operations | GET /api/services/{service}/operations | List operation names for a service |
jaeger_search_traces | GET /api/traces | Search traces with rich filters |
jaeger_get_trace | GET /api/traces/{traceID} | Full trace detail with span tree |
jaeger_get_dependencies | GET /api/dependencies | Service-to-service call graph |
jaeger_compare_traces | GET /api/traces/{traceID} ×2 | Structural diff between two traces |
jaeger_span_statistics | GET /api/traces | Per-operation latency and error stats |
jaeger_critical_path | GET /api/traces/{traceID} | Longest-duration span chain and bottleneck ranking |
jaeger_compare_windows | GET /api/traces ×2 | Aggregate trace behavior diff between two time periods |
jaeger_detect_anomalies | GET /api/traces ×2 | Statistical latency/error-rate spike detection per operation |
jaeger_predict_degradation | GET /api/traces | Predict performance degradation 2-24 hours in advance |
jaeger_forecast_capacity | GET /api/traces | Forecast throughput demands and resource requirements |
pip install jaeger-mcpOr run directly without installing:
uvx jaeger-mcpAll configuration is via environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
JAEGER_URL | Yes | — | Jaeger query service URL, e.g. https://jaeger.example.com |
JAEGER_TOKEN | No | — | Bearer token (takes precedence over Basic auth) |
JAEGER_USERNAME | No | — | HTTP Basic auth username |
JAEGER_PASSWORD | No | — | HTTP Basic auth password |
JAEGER_SSL_VERIFY | No | true | Set false for self-signed certificates |
JAEGER_TIMEOUT | No | 30 | HTTP request timeout in seconds |
JAEGER_RETRY_ATTEMPTS | No | 3 | Retry count for transient failures (0 to disable) |
JAEGER_CACHE_TTL | No | 120 | TTL in seconds for discovery endpoint cache (0 to disable) |
Copy .env.example to .env and fill in your values.
Add to your MCP config (claude_desktop_config.json or .claude/mcp.json):
{
"mcpServers": {
"jaeger": {
"command": "jaeger-mcp",
"env": {
"JAEGER_URL": "https://jaeger.example.com",
"JAEGER_TOKEN": "your-token-here"
}
}
}
}Or with uvx (no install required):
{
"mcpServers": {
"jaeger": {
"command": "uvx",
"args": ["jaeger-mcp"],
"env": {
"JAEGER_URL": "https://jaeger.example.com"
}
}
}
}docker run --rm -e JAEGER_URL=https://jaeger.example.com jaeger-mcpOnce configured, ask Claude:
order-service from the last hour"GET /checkout"abcdef1234567890?"postgres most frequently?"abc123 against trace def456 — what spans changed?"order-service?"jaeger_list_servicesReturns all service names Jaeger has seen. Start here when you don't know which services are instrumented. Output is capped at 500 services with a truncation hint.
jaeger_list_operationsReturns all operation names for a given service (e.g. HTTP route names, gRPC method names). Use to discover valid operation names before filtering jaeger_search_traces.
jaeger_search_tracesThe main search tool. Filters:
service (required) — service name from jaeger_list_servicesoperation — narrow to a specific endpointtags — JSON string of tag filters, e.g. {"http.status_code":"500"} or {"error":"true"}start / end — time range in microseconds UTCmin_duration / max_duration — duration strings like "100ms", "1.5s", "2m"limit — default 20, max 1500Returns trace summaries with trace_id, duration_us, span_count, service_count, root_operation, errors_count.
jaeger_get_traceFull trace detail. Accepts a trace_id (hex string, 16-32 chars) and returns:
Error spans are identified by tags["error"] = "true".
jaeger_get_dependenciesService topology graph. Returns directed edges (parent → child) with call_count. Use lookback_hours (default 24, max 720) to control the window.
jaeger_compare_tracesStructural diff between two traces. Accepts two trace_id hex strings and matches spans by (operationName, serviceName, parentOperation) — not span ID. Reports:
Use to compare a slow trace against a fast one, or to see what changed between deployments.
jaeger_span_statisticsPer-operation latency percentiles and error rates. Fetches up to limit traces (default 20, max 100) for a service and aggregates all spans by operation name. Reports per operation:
count — total spans observedp50_duration_us, p95_duration_us, p99_duration_us — latency percentileserror_count, error_rate — errors (identified by tags["error"] = "true")Use to find the slowest or most error-prone operations in a service.
jaeger_critical_pathIdentifies the longest-duration span chain from root to leaf in a trace (the critical path) and ranks spans by self-time to find performance bottlenecks.
Reports:
Use to answer "Why is this trace so slow?" and "Which operations consume the most CPU/self-time?"
jaeger_compare_windowsCompares aggregate trace behavior between two time periods for a service to detect performance regressions or improvements across deployments.
Reports:
Use to answer "Did our latest deployment affect performance?" and "Which operations got slower after the database upgrade?"
jaeger_detect_anomaliesScans for statistically significant latency spikes or error-rate increases in a service's recent traces compared to historical baselines.
Reports:
Use to proactively identify performance degradations and reliability issues before they impact users.
jaeger-mcp can also be used as a Python library without an MCP server:
from jaeger_mcp import JaegerClient
client = JaegerClient.from_env() # reads JAEGER_URL from env
trace = client.get_trace("abcdef1234567890abcdef1234567890")
for span in trace.spans:
if span.error:
print(f"{span.service_name}: {span.operation} at {span.start_utc}")
print(f" tags: {span.tags}")Available methods: get_trace(), search_traces(), list_services(), get_dependencies(), compare_traces(), span_statistics(), critical_path(), compare_windows(), detect_anomalies().
Domain objects: Span, Trace, TraceSummary, ServiceDep, TraceComparison, SpanIdentity, SpanChange, SpanStatisticsResult, OperationStatResult, CriticalPathOutput, CriticalPathSpan, BottleneckSpan, WindowComparisonOutput, OperationDiff, AnomalyDetectionOutput, OperationAnomaly — all with typed fields.
This project includes comprehensive OpenAPI specifications in the docs/ directory:
openapi.yaml) - Documents the actual Jaeger API endpointsdocs/mcp-tools-openapi.yaml) - Documents the MCP tools as conceptual HTTP endpointsThese specifications are useful for:
See docs/README.md for more details on both specifications.
requests.Session with connection pooling.trust_env = False to bypass environment proxies (Jaeger is typically an internal service).JAEGER_TIMEOUT).JAEGER_RETRY_ATTEMPTS).list_services and list_operations responses are cached for 120 seconds (configurable via JAEGER_CACHE_TTL).jaeger_search_traces passes limit directly to Jaeger — avoid requesting more traces than needed.jaeger_get_trace fetches the full trace in one call — large traces (thousands of spans) may be slow.jaeger_get_dependencies aggregates over the full lookback window; large windows may be slow on busy clusters.git clone https://github.com/mshegolev/jaeger-mcp
cd jaeger-mcp
pip install -e '.[dev]'
pytest tests/ -v
ruff check src tests
ruff format src testsMIT — see LICENSE.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.