← Back to directory
O

otel-gui

Community
Inspect OpenTelemetry traces, logs, and metrics locally.
Category
Dev Tools #239 of 751
Stars
★ 201 Very popular
Transport
Streamable HTTP
Runtime
Node.js 22.17+ · Docker
Credentials
No credential needed
License
MIT
Last commit
Tools
8
54FMRS · D

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

Reliability
8/20
Security and permissions
10/20
Maintenance
8/20
Documentation
14/20
Setup experience
14/20
Why each score
Reliability 8/20
The README describes OTLP/HTTP, OTLP/gRPC, and read-only MCP endpoints, and mentions response-size limits and errors for oversized responses. However, no manifest, CI workflow, or committed test evidence is provided to verify startup, the MCP initialization and tool-list handshake, error handling, or tool behavior. The design appears plausible, but reliability evidence is limited.
Security and permissions 10/20
MCP tools are described as read-only, loopback-restricted by default, and disableable. The README discloses that MCP has no client authentication and says remote access needs network-layer protection. However, the HTTP API is unauthenticated, CORS allows any origin by default, and gRPC binds all interfaces by default. These settings widen telemetry exposure, and the supplied material does not show finer access controls or a reviewed data-flow boundary. No evidence of a listed red line was provided.
Maintenance 8/20
The project states it uses the MIT license and describes Homebrew updates from tagged releases and Docker publishing from Git refs. The supplied repository metadata also says it is not archived and has two open issues. There is no evidence here of commit activity, release cadence, issue response, dependency updates, or a security-response channel, so maintenance continuity is uncertain.
Documentation 14/20
The README provides several installation and run paths, OTLP examples, MCP client configuration, configuration variables, retention limits, and some security caveats. Deductions apply because no server manifest is available, tool parameters are not fully documented in the supplied material, and there is no verifiable troubleshooting process, compatibility guarantee, or detailed credential and access-control design. README claims alone do not verify implementation behavior.
Setup experience 14/20
The README offers Homebrew, Nix, Docker, and source-based setup, plus Claude Code and VS Code MCP configuration examples. Default ports and runtime requirements are clear. Without a server manifest or evidence of a successful installation and handshake, or CI and tests covering key paths, a working connection cannot be confirmed from the supplied material.

Static review · not runReviewed 2026-12-01

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkConnects to a database

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.

Not for

  • MCP use cases that require authentication or tools that write or modify telemetry.
  • Use cases requiring telemetry to persist by default; the default store is in memory and data is lost when the process stops.

Required permissions

  • MCP tools are read-only and can search and read retained telemetry.
  • MCP clients are restricted to loopback by default; enabling remote access lets clients read retained telemetry.
  • Ingesting telemetry requires sending OTLP data to the server's HTTP or gRPC receiver.

Risks and side effects

  • MCP clients are not authenticated; remote access should be restricted appropriately at the network layer.
  • Telemetry is stored in memory by default, is lost when the server stops, and older data may be evicted at retention limits.
  • Tool responses are size-bounded and return an error if they exceed the limit.

Setup

Before you start

Runtime:Node.js 22.17+ · Docker

OTEL_GUI_LICENSE_KEY optionalsecret Optional enterprise persistence backend license key; obtain it from the relevant backend provider.
Other optional settings (19)
PORT optional Sets the HTTP server port; defaults to `4318`.
OTEL_GUI_MCP_ENABLED optional Enables or disables the `/mcp` MCP endpoint; enabled by default.
OTEL_GUI_MCP_ALLOW_REMOTE optional Allows non-loopback clients to access MCP; disabled by default.
OTEL_GUI_GRPC_ENABLED optional Enables or disables the OTLP/gRPC receiver; enabled by default.
OTEL_GUI_GRPC_PORT optional Sets the OTLP/gRPC receiver port; defaults to `4317`.
OTEL_GUI_GRPC_HOST optional Sets the interface used by the OTLP/gRPC receiver; defaults to all interfaces.
OTEL_GUI_PERSISTENCE_MODE optional Selects the persistence mode; defaults to memory and can be set to `pglite`.
OTEL_GUI_PERSISTENCE_PATH optional Sets the local PGlite data directory; defaults to `.otel-gui/pglite`.
OTEL_GUI_PERSISTENCE_FLUSH_MS optional Sets the debounce interval for batched persistence writes; defaults to `750` milliseconds.
OTEL_GUI_PERSISTENCE_BACKEND_MODULE optional Specifies the persistence backend module to load at startup; provide a module ID or path as needed.
OTEL_GUI_LICENSE_PUBLIC_KEY_PATH optional Sets the path to the PEM public key used for offline license verification.
BODY_SIZE_LIMIT optional Sets the production HTTP request body size limit; defaults to `16M`.
OTEL_GUI_CORS_ALLOWED_ORIGINS optional Sets allowed CORS origins for OTLP ingestion and read API endpoints; defaults to `*`.
OTEL_GUI_MAX_TRACES optional Sets the maximum number of traces retained in memory; defaults to `1000`.
OTEL_GUI_MAX_LOGS optional Sets the maximum number of log records retained in memory; defaults to `1000`.
OTEL_GUI_MAX_METRICS optional Sets the maximum number of metric entries retained in memory; defaults to `1000`.
OTEL_GUI_MAX_METRIC_POINTS optional Sets the maximum data points retained per metric series; defaults to `600`.
OTEL_EXPORTER_OTLP_ENDPOINT optional Sets the OpenTelemetry SDK telemetry export endpoint; HTTP example: `http://localhost:4318`; gRPC example: `http://localhost:4317`.
OTEL_EXPORTER_OTLP_PROTOCOL optional 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.

.mcp.json
{"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.

.vscode/mcp.json
{
  "servers": {
    "otel-gui": {
      "type": "http",
      "url": "http://localhost:4318/mcp"
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.otel-gui]
url = "http://localhost:4318/mcp"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add --transport http otel-gui http://localhost:4318/mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

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.

Troubleshooting

  1. Confirm otel-gui is running and check the HTTP port; the default is 4318.
  2. Check that the client URL is http://localhost:4318/mcp and that MCP has not been disabled with OTEL_GUI_MCP_ENABLED.
  3. For non-loopback clients, check OTEL_GUI_MCP_ALLOW_REMOTE and the network access restrictions.
  4. Make sure the OTLP exporter protocol and port match the receiver; the default gRPC port is 4317.

Things to try

Once connected, you can ask your AI assistant things like:

  • Find recent traces and summarize their services and errors.
  • Search for error logs and inspect one log record.
  • List services with telemetry and show the service map.

Tools 8

search_traces read-only
Search traces.
get_trace read-only
Inspect a trace and its span details.
search_logs read-only
Search logs.
get_log read-only
Inspect a log record.
search_metrics read-only
Search metrics.
get_metric read-only
Inspect a metric.
list_services read-only
List services.
get_service_map read-only
View the service map.

Use cases

Inspect application traces, logs, and metrics during local development.
Let an AI agent use read-only MCP tools to search telemetry, inspect records, and view the service map.
Investigate trace and log correlation, service calls, and errors.

Supported clients

Claude Code
VS Code

Listed from the project's documentation, not tested by this site.

Overview

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.

Similar servers

Source revision 5ad57c68400c Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/otel-gui.svg)](https://followmcp.com/en/servers/otel-gui)