Tracehub MCP
io.github.mcpsmiths/tracehub-mcp
v0.13.2Updated Nov 17, 2026stdio · PyPI
Query OTel traces across Jaeger, Tempo, Traceloop, Datadog, Sentry, X-Ray, New Relic, Honeycomb.
Install
Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add tracehub-mcp -e BACKEND_TYPE=jaeger -e 'BACKEND_URL=<your-backend-url>' -e BACKEND_ENVIRONMENTS=prd -e BACKEND_TIMEOUT=30 -e BACKEND_MAX_RESPONSE_BYTES=67108864 -e LOG_LEVEL=INFO -e MAX_TRACES_PER_QUERY=500 -e QUERY_CACHE_MAX_ENTRIES=1024 -e OTEL_SERVICE_NAME=tracehub-mcp -e MCP_INCLUDE_ARGS_IN_SPANS=false -- uvx tracehub-mcp==0.13.2Configuration
21 settings.
BACKEND_TYPEEnv var· requiredWhich observability backend to query.Default:jaegerBACKEND_URLEnv var· requiredBackend API endpoint, e.g. http://localhost:16686 for Jaeger, https://api.datadoghq.com for Datadog, https://api.newrelic.com/graphql for New Relic, or https://api.honeycomb.io for Honeycomb. For the X-Ray backend this is decorative only (e.g. https://xray.us-east-1.amazonaws.com) - never dereferenced for a live request.BACKEND_API_KEYEnv var· optional· secretAPI key or auth token. Required for Traceloop, Datadog, Sentry, New Relic, and Honeycomb; not used by Jaeger, Tempo, or X-Ray. For New Relic this must be a User API key, not an Ingest or License key; for Honeycomb this must be a Configuration Key, not an Ingest or Management key.BACKEND_APP_KEYEnv var· optional· secretDatadog Application key, required in addition to BACKEND_API_KEY for the Datadog backend only.BACKEND_AWS_REGIONEnv var· optionalAWS region, e.g. us-east-1. Required for the X-Ray backend only - X-Ray authenticates via boto3's standard AWS credential chain, not BACKEND_API_KEY.BACKEND_NEWRELIC_ACCOUNT_IDEnv var· optionalNew Relic account ID, required for the New Relic backend only - NerdGraph queries are user-scoped, not account-scoped, so this identifies which account's data to read.
Show 15 moreShow fewer
BACKEND_HONEYCOMB_DATASETEnv var· optionalHoneycomb dataset slug, required for the Honeycomb backend only - the Query Data API is dataset-scoped.BACKEND_TEMPO_INSTANCE_IDEnv var· optionalGrafana Cloud stack/instance ID, used with BACKEND_API_KEY for Basic Auth (Tempo backend only, required for Grafana Cloud-hosted Tempo, not needed for self-hosted Tempo).BACKEND_SENTRY_ORGEnv var· optionalSentry organization slug, required for the Sentry backend only.BACKEND_SENTRY_PROJECTEnv var· optionalSentry project slug, optional for the Sentry backend - narrows queries to one project.BACKEND_ENVIRONMENTSEnv var· optionalComma-separated environments for the Traceloop backend only.Default:prdBACKEND_TIMEOUTEnv var· optionalRequest timeout in seconds.Default:30BACKEND_MAX_RESPONSE_BYTESEnv var· optionalCeiling on the decoded size of any single backend response, in bytes (1 to 1073741824). An oversized body is refused before it is buffered or parsed.Default:67108864LOG_LEVELEnv var· optionalLogging level.Default:INFOMAX_TRACES_PER_QUERYEnv var· optionalMaximum traces validated per query (1-1000).Default:500SLOW_REQUEST_THRESHOLD_MSEnv var· optionalLogs a WARNING for any backend request slower than this, independent of LOG_LEVEL. Unset disables slow-request logging.QUERY_CACHE_TTL_SECONDSEnv var· optionalCache backend query results for this many seconds with in-flight request coalescing; finite, > 0 and at most 86400 (one day). Unset disables the cache.QUERY_CACHE_MAX_ENTRIESEnv var· optionalUpper bound on the number of cached query results held at once (1-100000); the least-recently-used entry is evicted first.Default:1024OTEL_EXPORTER_OTLP_ENDPOINTEnv var· optionalEnables opt-in OTel self-instrumentation of tool calls when set. Unset means zero overhead - no TracerProvider is configured and no middleware is registered.OTEL_SERVICE_NAMEEnv var· optionalService name reported in self-instrumentation spans, only used when OTEL_EXPORTER_OTLP_ENDPOINT is set.Default:tracehub-mcpMCP_INCLUDE_ARGS_IN_SPANSEnv var· optionalInclude tool call arguments/results as OTel span attributes when self-instrumentation is enabled. Off by default since they may contain sensitive data.Default:false
Links
Listed in the official MCP Registry since Nov 17, 2026. Mirrored daily; last checked Nov 26, 2026.