Skip to main content
Trace0 provides a Model Context Protocol (MCP) server that allows AI agents and other MCP clients to explore your Trace0 observability data.

Server

Authentication

The Trace0 MCP server uses OAuth for authentication. Simply add the server URL (shown above) to your MCP client, and you’ll be redirected to your browser to sign in to your Trace0 account and authorize access. Detailed setup instructions for popular MCP clients are provided below.
1

Add the server

Run the add command with Trace0’s MCP server URL:
After adding, claude mcp list shows the server with ! Needs authentication. That’s expected: the next step completes the sign-in.
2

Authenticate in your browser

Start a Claude Code session and open the MCP panel:
Select trace0 from the list, press Enter, and choose Authenticate. Your browser opens to Trace0’s sign-in page. Approve the connection there.Back in Claude Code, the server’s status changes to connected. If sign-in fails or the browser doesn’t open, see this Troubleshooting guide.
3

Use the server

Ask Claude something that needs Trace0, like Show me all failed requests in the last 30 minutes and summarise the most common errors.

Tools

The Trace0 MCP server provides the following tools for querying your environments, services, transactions, logs, metrics, and alerts:

Fair Use Limits

The Trace0 MCP server comes with the following fair-use limits:
  • 50,000 monthly tool calls
Once a limit is exceeded, the MCP server will return an error describing the applicable restriction. If you require higher limits, please contact us at hello@trace0hq.com to discuss.