Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Jaeger MCP — search traces, inspect spans, map service dependencies (read-only).
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
JAEGER_URL, JAEGER_TOKEN, JAEGER_USERNAME, JAEGER_PASSWORD, JAEGER_SSL_VERIFY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"jaeger": {
"command": "uvx",
"args": [
"jaeger-mcp"
],
"env": {
"JAEGER_URL": "your-value",
"JAEGER_TOKEN": "your-value",
"JAEGER_USERNAME": "your-value",
"JAEGER_PASSWORD": "your-value",
"JAEGER_SSL_VERIFY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add jaeger --env JAEGER_URL=your-value --env JAEGER_TOKEN=your-value --env JAEGER_USERNAME=your-value --env JAEGER_PASSWORD=your-value --env JAEGER_SSL_VERIFY=your-value -- uvx jaeger-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"jaeger": {
"command": "uvx",
"args": [
"jaeger-mcp"
],
"env": {
"JAEGER_URL": "your-value",
"JAEGER_TOKEN": "your-value",
"JAEGER_USERNAME": "your-value",
"JAEGER_PASSWORD": "your-value",
"JAEGER_SSL_VERIFY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"jaeger": {
"type": "stdio",
"command": "uvx",
"args": [
"jaeger-mcp"
],
"env": {
"JAEGER_URL": "your-value",
"JAEGER_TOKEN": "your-value",
"JAEGER_USERNAME": "your-value",
"JAEGER_PASSWORD": "your-value",
"JAEGER_SSL_VERIFY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
JAEGER_USERNAME envJAEGER_SSL_VERIFY env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 mshegolev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:JAEGER_URL, JAEGER_TOKEN, JAEGER_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.1)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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 |
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 |
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).
pip install jaeger-mcp
Or run directly without installing:
uvx jaeger-mcp
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.
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-mcp
Once 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(), 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.
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).只显示了开头部分;其余内容请在仓库中阅读