# MCP Trace

> MCP Trace is an open-source MCP server. Query OpenTelemetry traces from agent runs through MCP. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/abhishekash/mcp-trace
- **MCP Registry name:** io.github.abhishekash/mcp-trace
- **Listing updated:** 2026-11-13

## About

Query OpenTelemetry traces from agent runs through MCP.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-trace -- uvx abhishekash-mcp-trace
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-trace": {
      "command": "uvx",
      "args": [
        "abhishekash-mcp-trace"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-trace": {
      "command": "uvx",
      "args": [
        "abhishekash-mcp-trace"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-trace": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "abhishekash-mcp-trace"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-trace": {
      "command": "uvx",
      "args": [
        "abhishekash-mcp-trace"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-trace": {
      "command": "uvx",
      "args": [
        "abhishekash-mcp-trace"
      ]
    }
  }
}
```

## FAQ

### Is MCP Trace free?

Yes. MCP Trace is open source, so you can use and self-host it for free.

### How do I add MCP Trace to Claude Code?

Run this command in your terminal: claude mcp add mcp-trace -- uvx abhishekash-mcp-trace

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/mcp-trace
