Production errors, handed straight to your coding agent
Runheed catches exceptions in the apps your agents build and serves them to Claude Code, Cursor or any MCP client. Your agent reads the stack trace, fixes the bug and marks it resolved.
See a live example of what your agent reads, or try it in your own agent on sample errors. No signup needed.
Listed in Claude's connector directory: click Connect, sign in, and Claude reads your errors.
Monthly plans. Cancel from the billing portal any time. Works next to Sentry if you already use it.
src/routes/checkout.ts:42 · 318 events · first seen 2h ago
How the loop works
- 1.
Your app throws
The SDK sends the exception with its stack trace, breadcrumbs, request details and, when you set it, the agent session that wrote the code.
- 2.
We group it
Repeats fold into one issue by fingerprint, so your agent sees "TypeError in checkout.ts:42, 318 times" instead of 318 alerts.
- 3.
Your agent reads it
Ask Claude Code or Cursor "what broke in production today?" It searches errors and pulls the full context through the MCP server.
- 4.
Your agent closes it
After the fix ships, the agent marks the error resolved with the commit in the note. If it comes back, it reopens on its own.
Two snippets and you're done
Add the SDK to your app with the DSN from your project. Then add the MCP server to your agent and sign in. Your coding agent can do both steps for you from /SETUP.txt.
- Node.js and TypeScript SDK with an Express error handler
- Python SDK with FastAPI, Django and Flask hooks
- A plain JSON endpoint for everything else
- Authorization, cookie and API-key headers are redacted on arrival
Setup for Next.js, Node.js and Express, Python and FastAPI, Django, Flask, Supabase Edge Functions, Fastify, Vercel Functions, AWS Lambda (Node.js and Python), Cloudflare Workers. Agent setup for every MCP client, and what the MCP server does.
import runheed from 'runheed';
runheed.init({ dsn: process.env.RUNHEED_DSN });
runheed.setAgent({ name: 'claude-code', sessionId });claude mcp add --transport http runheed https://runheed.com/api/mcpWhat your agent gets on every error
General error trackers were built for people reading dashboards. These are the fields an agent needs to go from report to fix without asking you.
Stack trace and source location
File, function, line and column for each frame, with your own code marked so the agent opens the right file first.
Agent context
Which agent, version and session shipped the code, and which tool or action was running when it failed.
Breadcrumbs
The steps your code records before the failure, such as requests, queries and log lines.
Grouping and regressions
Duplicates fold into one issue. A resolved error that happens again goes back to unresolved.
Trends and a health score
Error counts for 24 hours, 7 or 30 days, the top offenders and a 0 to 100 project health score your agent can check after a deploy.
Email alerts
One email when a new kind of error appears, plus usage notices at 80% and 100% of your monthly events.
Errors your agent can fix
What each one means, the usual causes and the fix, with a prompt to hand your agent.
- TypeError: Cannot read properties of undefined (reading 'x') (Node.js)
- Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. (Next.js)
- Error: connect ECONNREFUSED 127.0.0.1:5432 (Node.js)
- [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "...".] (Node.js)
- ModuleNotFoundError: No module named 'x' (Python)
- KeyError: 'email' (Python)
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) (Python)
- Error [ERR_REQUIRE_ESM]: require() of ES Module ... not supported. (Node.js)
Flat monthly pricing
Compare plansEvery plan includes the MCP server and unlimited agent keys. You are never billed for overage.
Questions
What does Runheed do?
It is an error tracker with an MCP server. Your app reports exceptions through a small SDK. Errors are grouped by fingerprint with the stack trace, breadcrumbs, request details and the agent context (agent, session, tool). Your coding agent then reads them through the MCP server, fixes the code and resolves the error with a note such as the commit hash.
Which agents and editors does it work with?
Anything that speaks the Model Context Protocol: Claude Code, Cursor, Claude Desktop, VS Code, Windsurf, Codex CLI, Gemini CLI, Zed, Cline and custom agents built on an MCP client. claude.ai and ChatGPT connect to the remote server at runheed.com/api/mcp with a sign-in; the others can use the same URL or run the server locally with an agent key.
Which languages are supported?
Node.js and TypeScript have a first-party SDK with an Express error handler. A Python SDK with FastAPI, Django and Flask hooks is included. Anything else can POST JSON to the ingest endpoint with the project key.
Is there a free plan?
No. Every plan is paid, which keeps the service small, fast and supported. Plans are monthly or yearly, and you can cancel from the billing portal any time; service runs to the end of the period you paid for.
What counts as an event?
Each error report your app sends counts as one event, including repeats of an error that is already grouped. When you reach the monthly limit, new events are rejected until the next month (UTC) and you get an email at 80% and 100%. You are never billed for overage.
How is this different from Sentry?
Sentry is a full application monitoring suite with its own MCP server. We do one job: get production errors in front of your coding agent with the context it needs, and let it close the loop. Pricing is flat with no seats to count. If you need performance tracing, session replay or release health, Sentry is the better fit.
What data do you store, and for how long?
Error type and message, stack frames, breadcrumbs, environment and release, agent context, request method and URL, and any user id or extra data your code attaches. Authorization, cookie and API-key headers are redacted on arrival. Events are deleted after your plan history window (30, 90 or 180 days).
Can I cancel any time?
Yes. Open Manage billing in Settings to cancel, switch plans, update your card or download invoices. Service runs to the end of the period you paid for.
Let your agent fix what it shipped
Two snippets and one command, and your agent can do all three. Cancel from the billing portal any time.
Start for $29/mo