Skip to content

Connect Claude Code

Claude Code connects to Trace natively over HTTP. Add the server once, then complete the OAuth sign-in from inside a session.

You need a Trace account on the Starter plan or higher. Connecting uses OAuth — you’ll sign in to Trace in your browser; there’s no API key to paste. Your Trace email must be verified, and some tools require the Pro plan. See Authentication for the full access model.

  1. Add the server:

    Terminal window
    claude mcp add --transport http trace https://mcp.tracedata.ai/mcp
  2. Start (or resume) a Claude Code session and run:

    /mcp

    This lists your MCP servers and triggers the browser sign-in for any that need authentication. You can also run claude mcp login trace directly.

  3. Log in to Trace and approve access. Tokens are stored in your OS keychain, so you only sign in once per machine.

  • See what Claude can do with the connection in MCP tools.
  • Background on the server and transport: MCP overview.