Skip to content
appsgit

Opentelemetry MCP Server

Opentelemetry MCP Server is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Unified MCP server for querying OpenTelemetry traces across multiple backends (Jaeger, Tempo, Traceloop, etc.), enabling AI agents to analyze… It has 204 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx opentelemetry-mcp.

github.com/traceloop/opentelemetry-mcp-server (opens in a new tab)

Data as of from the GitHub API; description from the project's repository. Report an error

Install Opentelemetry MCP Server

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "opentelemetry-mcp-server": {
      "command": "uvx",
      "args": [
        "opentelemetry-mcp"
      ],
      "env": {
        "BACKEND_API_KEY": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env BACKEND_API_KEY=your-value --transport stdio opentelemetry-mcp-server -- uvx opentelemetry-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "opentelemetry-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "opentelemetry-mcp"
      ],
      "env": {
        "BACKEND_API_KEY": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "backend_api_key",
      "description": "BACKEND_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "opentelemetry-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "opentelemetry-mcp"
      ],
      "env": {
        "BACKEND_API_KEY": "${input:backend_api_key}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
BACKEND_TYPENoShown in the README's example configuration.
BACKEND_URLNoShown in the README's example configuration.
BACKEND_API_KEYsecretNoShown in the README's example configuration.

Tools (10)

Parsed from the Tools section of the README; check the repository for the current list.

  • search_traces

    Search traces with advanced filters

  • search_spans

    Search individual spans

  • get_trace

    Get complete trace details

  • get_llm_usage

    Aggregate token usage metrics

  • list_services

    List available services

  • find_errors

    Find traces with errors

  • list_llm_models

    Discover models in use

  • get_llm_model_stats

    Get model performance stats

  • get_llm_expensive_traces

    Find highest token usage

  • get_llm_slow_traces

    Find slowest operations

About Opentelemetry MCP Server

Query and analyze LLM traces with AI assistance. Ask Claude to find expensive API calls, debug errors, compare model performance, or track token usage—all from your IDE.

FAQ

Opentelemetry MCP Server FAQ

Still curious? Email info@appsgit.com.

How do I install the Opentelemetry MCP Server MCP server?

Add the command uvx opentelemetry-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Opentelemetry MCP Server free?

The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (BACKEND_API_KEY) for the service it connects to, which may require a paid account.

Is Opentelemetry MCP Server actively maintained?

The most recent commit was on Jun 21, 2026. The latest release is 0.2.2, published Feb 8, 2026. appsgit only lists MCP servers with a commit in the last six months.