jaeger-mcp MCP Server
Jaeger MCP — search traces, inspect spans, map service dependencies (read-only).
jaeger-mcp scores 68 (Good), licensed MIT and written in Python. It installs as a local process. It declares 15 tools. Filed under Uncategorized. GitHub shows 2 stars. Package registries report about 53 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
70/100 for listing completeness. Lost points: 15 of 15 tools barely described, short summary, no docs link.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mshegolev-jaeger-mcp": { "command": "uvx", "args": [ "jaeger-mcp" ], "env": { "JAEGER_URL": "", "JAEGER_TOKEN": "YOUR_JAEGER_TOKEN", "JAEGER_USERNAME": "", "JAEGER_PASSWORD": "YOUR_JAEGER_PASSWORD", "JAEGER_SSL_VERIFY": "true" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
JAEGER_URL | Required | Jaeger query service URL, e.g. https://jaeger.example.com |
JAEGER_TOKENSecret | Optional | Bearer token for authentication. Takes priority over Basic auth. |
JAEGER_USERNAME | Optional | HTTP Basic auth username. Used only when JAEGER_TOKEN is not set. |
JAEGER_PASSWORDSecret | Optional | HTTP Basic auth password. |
JAEGER_SSL_VERIFY | Optional | Verify SSL certificates (true/false). Set to 'false' for self-signed certs. |
Tools15Tool docs quality grade D
All capabilitiesGET /api/traces/{traceID} ×2
GET /api/traces ×2
GET /api/traces/{traceID}
GET /api/traces ×2
GET /api/traces
GET /api/traces
GET /api/dependencies
jaeger_get_tracetoolGET /api/traces/{traceID}
GET /api/services/{service}/operations
GET /api/services
GET /api/traces
GET /api/traces ×2
About
jaeger-mcp
MCP server for Jaeger 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.
Why another Jaeger MCP?
The existing Jaeger integrations require a running UI or custom scripts. This server:
- Speaks the standard Model Context Protocol over stdio — works with Claude Desktop, Claude Code, Cursor, and any MCP client.
- Is read-only: all 15 tools carry
readOnlyHint: true— zero risk of modifying trace data. - Returns dual-channel output: structured JSON (
structuredContent) for programmatic use + Markdown (content) for human-readable display. - Has actionable error messages that name the exact env var to fix and suggest a next step.
- Supports Bearer token, HTTP Basic auth, or no auth (common for internal deployments).
- Includes OpenAPI specification documenting the underlying Jaeger Query API (
openapi.yaml).
Tools
| 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 |
jaeger_find_test_traces | GET /api/traces | Correlate a test run to its traces by tag query (Allure/pytest/custom) |
jaeger_regression_diff | GET /api/traces ×2 | Classify per-operation regressions between two time windows |
jaeger_test_profile | GET /api/traces | Per-operation latency hotspots for a tagged test run |
Compatibility
Tested against live Jaeger v1.76 (classic /api/* query API) and v2.22 (OTLP-based). Jaeger v2.22 no
longer serves /api/services, /api/services/{service}/operations and the /api/traces search; this
server automatically falls back to /api/v3/* when the v1 endpoint returns 404 and converts the result
back, so all tools work on both. /api/dependencies and /api/traces/{id} are still used where available.
The mcp dependency is pinned <2 (the 2.x SDK renamed FastMCP to MCPServer).
Installation
pip install jaeger-mcp
Or run directly without installing:
uvx jaeger-mcp
Configuration
All 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) |
JAEGER_CONCURRENCY_LIMIT | No | 10 | Max parallel requests when fetching many traces |
Copy .env.example to .env and fill in your values.
Claude Desktop / Claude Code setup
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
docker run --rm -e JAEGER_URL=https://jaeger.example.com jaeger-mcp
Example queries
Once configured, ask Claude:
- "What services does Jaeger know about?"
- "Find traces with HTTP 500 errors in
order-servicefrom the last hour" - "Show me the slowest traces (over 2 seconds) for
GET /checkout" - "What caused the error in trace
abcdef1234567890?" - "Map the service dependency graph for the last 7 days"
- "Which services call
postgresmost frequently?" - "Compare trace
abc123against tracedef456— what spans changed?" - "What are the p95 latencies per operation in
order-service?"
Tool usage guide
jaeger_list_services
Returns 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_operations
Returns 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_traces
The main search tool. Filters:
service(required) — service name fromjaeger_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 1500
Returns trace summaries with trace_id, duration_us, span_count, service_count, root_operation, errors_count.
jaeger_get_trace
Full trace detail. Accepts a trace_id (hex string, 16-32 chars) and returns:
- All spans with tags, service names, parent/child relationships
- Per-service statistics (span count, total duration, error count)
- Execution tree (each node lists its child span IDs)
Error spans are identified by tags["error"] = "true".
jaeger_get_dependencies
Service topology graph. Returns directed edges (parent → child) with call_count. Use lookback_hours (default 24, max 720) to control the window.
jaeger_compare_traces
Structural diff between two traces. Accepts two trace_id hex strings and matches spans by (operationName, serviceName, parentOperation) — not span ID. Reports:
- Added spans — present in trace B but not trace A
- Removed spans — present in trace A but not trace B
- Changed spans — matched but differ in duration or tags (shows deltas)
- Unchanged count — number of identical spans
Use to compare a slow trace against a fast one, or to see what changed between deployments.
jaeger_span_statistics
Per-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 bytags["error"] = "true")
Use to find the slowest or most error-prone operations in a service.
jaeger_critical_path
Identifies 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:
- Critical path spans with operation, service, duration, and percentage-of-total
- Bottleneck spans ranked by exclusive duration (self-time)
Use to answer "Why is this trace so slow?" and "Which operations consume the most CPU/self-time?"
jaeger_compare_windows
Compares aggregate trace behavior between two time periods for a service to detect performance regressions or improvements across deployments.
Reports:
- Per-operation diff summary showing added, removed, faster, slower operations
- Deviation scoring with numeric scores per operation and overall
- Latency percentile changes (p50, p95) and error rate deltas
Use to answer "Did our latest deployment affect performance?" and "Which operations got slower after the database upgrade?"
jaeger_detect_anomalies
Scans for statistically significant latency spikes or error-rate increases in a service's recent traces compared to historical baselines.
Reports:
- Flagged operations with anomaly type (latency or error_rate)
- Severity classification (low to critical) with z-scores
- Current vs baseline values for affected metrics
Use to proactively identify performance degradations and reliability issues before they impact users.
Library facade (in-process use)
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(), predict_degradation(), forecast_capacity(), find_test_traces(), regression_diff(), test_profile().
Domain objects: Span, Trace, TraceSummary, ServiceDep, TraceComparison, SpanIdentity, SpanChange, SpanStatisticsResult, OperationStatResult, CriticalPathOutput, CriticalPathSpan, BottleneckSpan, WindowComparisonOutput, OperationDiff, AnomalyDetectionOutput, OperationAnomaly — all with typed fields.
API Documentation
This project includes comprehensive OpenAPI specifications in the docs/ directory:
- Jaeger Query Service API (
openapi.yaml) - Documents the actual Jaeger API endpoints - MCP Tools API (
docs/mcp-tools-openapi.yaml) - Documents the MCP tools as conceptual HTTP endpoints
These specifications are useful for:
- Understanding the underlying API calls made by each tool
- Developing alternative integrations
- Debugging API interactions
- Generating client libraries or documentation
See docs/README.md for more details on both specifications.
Performance characteristics
- All tools use a single persistent
requests.Sessionwith connection pooling. - The session has
trust_env = Falseto bypass environment proxies (Jaeger is typically an internal service). - Requests time out after 30 seconds (configurable via
JAEGER_TIMEOUT). - Transient HTTP errors (429/5xx) are retried with exponential backoff (configurable via
JAEGER_RETRY_ATTEMPTS). list_servicesandlist_operationsresponses are cached for 120 seconds (configurable viaJAEGER_CACHE_TTL).jaeger_search_tracespasseslimitdirectly to Jaeger — avoid requesting more traces than needed.jaeger_get_tracefetches the full trace in one call — large traces (thousands of spans) may be slow.jaeger_get_dependenciesaggregates over the full lookback window; large windows may be slow on busy clusters.
Development
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 tests
License
MIT — see LICENSE.
Frequently asked questions
What is jaeger-mcp MCP Server?
Jaeger MCP — search traces, inspect spans, map service dependencies (read-only).
How do I install jaeger-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. jaeger-mcp MCP Server runs locally from the PyPI package jaeger-mcp with the command uvx jaeger-mcp.
Is jaeger-mcp MCP Server free and open source?
Yes. jaeger-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does jaeger-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for jaeger-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does jaeger-mcp MCP Server provide?
jaeger-mcp MCP Server provides 15 tools, including jaeger_compare_traces, jaeger_compare_windows, jaeger_critical_path, and jaeger_detect_anomalies. See the full tool list for descriptions and parameters.
How is jaeger-mcp MCP Server's trust score calculated?
jaeger-mcp MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.