Best for
- Developers who want a quick local view of OpenTelemetry data.
- Users who want an AI agent to read and query telemetry on the local server through MCP.
The README describes a local OpenTelemetry viewer with a read-only Streamable HTTP MCP endpoint and eight named tools. MCP is loopback-restricted by default and has no client authentication; telemetry is stored in memory by default.
Strongest · Setup experience 14/20 Weakest · Reliability 8/20
Static review · not runReviewed 2026-12-01
Read the FMRS scoring method →Runtime:Node.js 22.17+ · Docker
OTEL_GUI_LICENSE_KEY
Optional enterprise persistence backend license key; obtain it from the relevant backend provider.
PORT
Sets the HTTP server port; defaults to `4318`.
OTEL_GUI_MCP_ENABLED
Enables or disables the `/mcp` MCP endpoint; enabled by default.
OTEL_GUI_MCP_ALLOW_REMOTE
Allows non-loopback clients to access MCP; disabled by default.
OTEL_GUI_GRPC_ENABLED
Enables or disables the OTLP/gRPC receiver; enabled by default.
OTEL_GUI_GRPC_PORT
Sets the OTLP/gRPC receiver port; defaults to `4317`.
OTEL_GUI_GRPC_HOST
Sets the interface used by the OTLP/gRPC receiver; defaults to all interfaces.
OTEL_GUI_PERSISTENCE_MODE
Selects the persistence mode; defaults to memory and can be set to `pglite`.
OTEL_GUI_PERSISTENCE_PATH
Sets the local PGlite data directory; defaults to `.otel-gui/pglite`.
OTEL_GUI_PERSISTENCE_FLUSH_MS
Sets the debounce interval for batched persistence writes; defaults to `750` milliseconds.
OTEL_GUI_PERSISTENCE_BACKEND_MODULE
Specifies the persistence backend module to load at startup; provide a module ID or path as needed.
OTEL_GUI_LICENSE_PUBLIC_KEY_PATH
Sets the path to the PEM public key used for offline license verification.
BODY_SIZE_LIMIT
Sets the production HTTP request body size limit; defaults to `16M`.
OTEL_GUI_CORS_ALLOWED_ORIGINS
Sets allowed CORS origins for OTLP ingestion and read API endpoints; defaults to `*`.
OTEL_GUI_MAX_TRACES
Sets the maximum number of traces retained in memory; defaults to `1000`.
OTEL_GUI_MAX_LOGS
Sets the maximum number of log records retained in memory; defaults to `1000`.
OTEL_GUI_MAX_METRICS
Sets the maximum number of metric entries retained in memory; defaults to `1000`.
OTEL_GUI_MAX_METRIC_POINTS
Sets the maximum data points retained per metric series; defaults to `600`.
OTEL_EXPORTER_OTLP_ENDPOINT
Sets the OpenTelemetry SDK telemetry export endpoint; HTTP example: `http://localhost:4318`; gRPC example: `http://localhost:4317`.
OTEL_EXPORTER_OTLP_PROTOCOL
Sets the export protocol; set to `grpc` to use gRPC.
Start otel-gui, then configure your MCP client with the Streamable HTTP URL http://localhost:4318/mcp. The README provides a Claude Code command example and a VS Code mcp.json example. The MCP endpoint uses the HTTP port, which defaults to 4318.
{"servers":{"otel-gui":{"type":"http","url":"http://localhost:4318/mcp"}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"otel-gui": {
"type": "http",
"url": "http://localhost:4318/mcp"
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.otel-gui] url = "http://localhost:4318/mcp"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add --transport http otel-gui http://localhost:4318/mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
After connecting, confirm the client lists `search_traces`, `get_trace`, and the other otel-gui tools. Call `list_services` and check that it returns the currently retained services.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
otel-gui is a lightweight OpenTelemetry viewer for local development. It accepts OTLP traces, logs, and metrics, and provides a read-only MCP endpoint for AI agents to search and inspect telemetry records, list services, and view the service map. MCP access is restricted to loopback clients by default.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 5ad57c68400c Data synced 2026-12-05 Read the FMRS scoring method Markdown