Raygun — Claude Code MCP server: error monitoring
Connect an AI assistant to Raygun to investigate crashes, relate errors to releases, and inspect application performance.
claude mcp add --transport http mcp-server-raygun https://api.raygun.com/v3/mcpWhat Raygun does
The server lets an assistant search error groups and individual occurrences, retrieve stack traces with context, change an error’s status, and add investigation notes. It can also inspect deployment records and help relate new errors to a release.
Raygun hosts the MCP endpoint at https://api.raygun.com/v3/mcp, so there’s no local package to install. You need a Raygun account with an active subscription and an MCP client that supports OAuth, or a Personal Access Token. OAuth opens a browser flow for sign-in and permission approval; clients without OAuth support can use a token instead. The active subscription is a prerequisite for connecting.
What it helps with
- find errors that appeared after a release
- retrieve a stack trace for a recurring crash
- connect a deployment with a rise in errors
- identify slow backend methods or database queries
Example prompts for the agent
- Show the stack trace for the most frequent production error.
- Which backend methods or database queries took the most time in the last 24 hours?
How to install Raygun
Platform CLI: remote server
claude mcp add --transport http mcp-server-raygun https://api.raygun.com/v3/mcpPlatform CLI: remote server
codex mcp add raygun --url https://api.raygun.com/v3/mcpConfig file
{
"mcpServers": {
"raygun": {
"url": "https://api.raygun.com/v3/mcp"
}
}
}Config file
{
"servers": {
"raygun": {
"type": "http",
"url": "https://api.raygun.com/v3/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http raygun https://api.raygun.com/v3/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Raygun
How do I install Raygun in Claude Code?
Add the server with claude mcp add --transport http mcp-server-raygun https://api.raygun.com/v3/mcp. Then run claude mcp add --transport http raygun https://api.raygun.com/v3/mcp.
What does the Raygun MCP server do?
It gives an AI assistant access to Raygun data for investigating errors, stack traces, deployments, and application performance.
What do I need to connect to Raygun?
You need a Raygun account with an active subscription and an MCP client that supports OAuth, or a Personal Access Token. OAuth authorization takes place in a browser.