Skip to main content
Sherlock has an MCP server. Connect Claude Code, the Claude apps, Cursor, VS Code, Codex, or any other MCP client to it, and ask about your logs, traces, and metrics in plain language. Settings → MCP in Sherlock shows the same instructions with copy buttons.

Try asking

  • Tell me about the state of the system using the Sherlock MCP tools
  • How many errors did we get in the last hour?
  • Group today’s errors and tell me which one is new
  • Which of today’s errors actually matter, and which are just noise?
  • Latency spiked at 14:20. Check the metrics, then pull the traces behind it

Connect with OAuth

This is the recommended way. Point your client at the server URL and sign in through the browser. There is no token to copy, store, or rotate. Access follows your Sherlock account and can be revoked at any time. Server URL: https://mcp.sherlocklabs.dev/mcp

Set up your client

  1. Add the server, with no header and no token:
  2. Run /mcp in Claude Code, select sherlock, then choose Authenticate.
  3. Your browser opens. Sign in with your Sherlock account and approve access. Claude Code stores the credentials for you.

Connect with an API token

A long-lived token works where the browser sign-in flow does not: headless machines and CI, shared automation, or clients that do not implement OAuth. The token grants the same access as your account. Treat it like a password.
Generate a token with Generate MCP token on Settings → MCP. Sherlock inserts it into the command on that page. Copy it right away. You cannot see it again. You can also use an existing token from the API Tokens page.

Ask about these docs

The documentation has its own MCP server, separate from the one above. Connect it and the agent answers from these pages while you integrate. See Docs for AI agents.

Get started

Send your first data before you ask about it.

Traces

What the assistant sees when it pulls a trace.