An MCP server for your production errors

Runheed collects the exceptions your apps throw in production. Its MCP server hands them to your coding agent: Claude Code, Cursor or any MCP client can search them, read the stack trace and the steps before the failure, fix the code and mark the error resolved.

The tools

ToolWhat it doesAsk your agent
runheed_get_recentThe newest errors across your projects."What broke in production today?"
runheed_search_errorsSearch error groups by text, status (unresolved, resolved, ignored) and project."Find unresolved TypeErrors in the checkout project."
runheed_get_errorOne error in full: stack trace, breadcrumbs, agent context and recent events."Show me the stack trace for the top error."
runheed_get_error_contextEverything recorded around an error: all breadcrumbs, environment, release, request, user and agent session."Which agent session shipped the code behind this error?"
runheed_get_trendsError counts and top offenders over 24 hours, 7 days or 30 days."Did errors go up after yesterday's deploy?"
runheed_get_project_healthA 0 to 100 health score for a project with recommendations."How healthy is the API project right now?"
runheed_resolve_errorMark an error resolved with a note such as the fixing commit. It reopens on its own if it happens again."Fix it and resolve it with the commit hash."
runheed_ignore_errorIgnore an expected error so it stops alerting."Ignore the bot 404s on /wp-login.php."
runheed_unignore_errorStop ignoring an error."Start alerting on that timeout again."

Add it to your agent

Create an agent key in Runheed under Settings > Agent keys, then run one command in Claude Code:

terminalbash
claude mcp add runheed --env RUNHEED_API_KEY=al_your_key -- npx -y https://runheed.com/dl/runheed-mcp-0.1.0.tgz

Most other clients take the same mcpServers block:

mcp.jsonjson
{
  "mcpServers": {
    "runheed": {
      "command": "npx",
      "args": [
        "-y",
        "https://runheed.com/dl/runheed-mcp-0.1.0.tgz"
      ],
      "env": {
        "RUNHEED_API_KEY": "al_your_key"
      }
    }
  }
}

The npm and PyPI releases are not out yet, so these commands install the same package files straight from runheed.com. Nothing else changes when the registry versions ship.

Exact steps per client: Claude Code · Cursor · Claude Desktop · VS Code · Windsurf · Codex CLI · Gemini CLI · Zed · Cline

Send errors from your app

The MCP server reads what your apps report. Setup for your stack: Next.js · Node.js and Express · Python and FastAPI · Django · Flask. Anything else can post JSON to the ingest endpoint (docs).

Questions

Is it a local or a remote MCP server?

Local. Your client starts it with npx and it talks to Runheed over HTTPS with your agent key. That works in Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Codex, Gemini CLI, Zed and Cline. claude.ai in the browser only accepts remote MCP servers, so it is not supported yet.

What can an agent key do?

Read errors, trends and project health in your workspace, and resolve, ignore or unignore errors. It cannot change billing, projects or other keys. Keys start with al_, are stored as a hash, are shown once, and can be revoked in Settings at any time.

Where do the errors come from?

Your app sends them with the Node.js or Python SDK, or by posting JSON to the ingest endpoint. The MCP server only reads what your apps have reported.

Does it work alongside Sentry?

Yes. Keep Sentry for tracing and dashboards and add Runheed for the agent loop. Both SDKs run in the same process.

Plans from $29/moThe MCP server and unlimited agent keys come with every plan