Give Claude Code the production logs it needs to investigate a bug
Claude Code can investigate a failure by querying logs, traces and historical metrics stored in SigNoz Cloud, then comparing that evidence with the application code. The connection uses Model Context Protocol (MCP), which gives Claude tools to query the data.
To try this, connect Claude Code to the SigNoz MCP server using a read-only service account. Give Claude access to the relevant application code as well, so it can relate what it finds in the logs to the code that produced them. For cloud sessions, see the Claude Code cloud setup guide.
Investigate an example failure
For example, we ran a public Python app that deliberately returns a server error (HTTP 500) when called at /exception. We sent its logs, traces and metrics to SigNoz Cloud.
We asked Claude to investigate the error using the logs and a failed trace, and to compare request counts before and during the failure. To help it find the right data and code, we gave it the service name, source commit and two time windows in UTC. The first window covered successful requests; the second included requests to /exception.
Check what the agent found
Claude retrieved five error logs containing ValueError and linked one to a failed GET /exception trace. The logged stack trace pointed to raise ValueError("sadness") in the sample, which matched the known failure.

The logs and trace explain an individual failure. To see how it fit into the wider request activity, Claude also compared the request counts for the two periods. Its report showed 10 successful requests in the earlier period, and 10 successes and five failures in the later period.

For your own incident, make sure Claude can access the source version that was deployed and the logs, traces and metrics for the relevant period. Check its explanation against the evidence, and ask it to identify any missing information before you act on it.
See natural-language log exploration for more query examples.