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 and ChatGPT's plugin directory: click Connect or Install plugin, sign in, and your assistant reads your errors.
One click: Add to claude.ai · Add to Cursor · Add to VS Code · Add to Replit. Your agent connects first; it gives you the setup link.
Or let your agent set it up. Paste this into Claude Code, Cursor or Codex:
Read https://runheed.com/SETUP.txt and set up Runheed error tracking in this project.We run it on our own products: six of them report their errors here.
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, Bun (Bun.serve), Deno Deploy, Render (Node.js and Python), Railway (Node.js and Python), Go, Ruby, PHP, .NET and ASP.NET Core, Java and Spring Boot, React and browser JavaScript. 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, and your agent sees the note it was resolved with, so it knows what the last fix tried. After a fix it reports whether the fix held: no events since, the releases deployed since, and whether the fixing commit is live.
What to fix first
After a deploy your agent asks for project health and gets a 0 to 100 score, the error to fix first by ID, and any error that came back after a fix, with the note from last time.
Thirteen tools named for each job
Recent errors, search, one error in full, its context, trends, project health, resolve, ignore and unignore (one or a hundred at a time), merge duplicates, and three that let it set up a project and send a test event. Your agent calls the one it needs by name, with no search-then-execute step in between.
Already on Sentry? Change one line
Keep the Sentry SDK you have and set its DSN to your Runheed project. Node, Python, Go, Ruby, PHP, Java, .NET and browser apps report without new code.
Alerts where you work
Email, Slack, Discord or a signed webhook when an error is new or comes back, so you can start an agent run the moment something breaks.
Read only, if you prefer
Connect an agent with read-only access and it can read every error but not resolve, ignore or create anything.
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, and Python has one with FastAPI, Django and Flask hooks. Any other language works through its Sentry SDK: keep the Sentry SDK you already use (or add it) and set its DSN to the project's Sentry SDK DSN. 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. Your first plan starts with a 7-day trial: Stripe takes your card up front and nothing is charged for 7 days. 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 happens when the trial ends?
On day 7 your card is charged for the plan you picked ($29, $79 or $199 a month, or the yearly price), then every month or year until you cancel. Cancel from the billing portal before day 7 and you pay nothing. During the trial your workspace has the full plan: projects, events and the MCP server.
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. When an error your agent resolved comes back, it sees the note from its own last fix, and the health tool names which error to fix first. 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. Your workspace's first plan starts with a 7-day trial; cancel from the billing portal any time.
7-day trial, then $29/mo