# Runheed > Runheed sends your app's production errors to Claude Code, Cursor or any MCP client, so your agent can read the stack trace, fix it and resolve it. From $29/mo. For developers who ship code with Claude Code, Cursor or another coding agent, Runheed is error tracking your agent can read. Unlike pasting stack traces into chat, it gives the agent every occurrence with its stack trace, breadcrumbs and, when you set it, the session that wrote the code, and lets the agent mark the error resolved once the fix ships. If the error comes back, the agent sees the note from its own last fix. Runheed is an error tracker with an MCP server, made by Great Work LLC. Apps report exceptions through a Node/TypeScript or Python SDK (or plain HTTP). Errors are grouped by fingerprint with stack traces, breadcrumbs, request details (secret headers redacted) and agent context (agent name, version, session, tool). Coding agents such as Claude Code, Cursor, claude.ai and ChatGPT read, search and resolve them through the MCP server, remote at https://runheed.com/api/mcp or local over stdio. Great Work LLC runs Runheed on its own products (BankBridge, CallForMe, Taskhold, Rookiefeed, Listvane and toolgate report their production errors to it). ## Pricing (USD, paid plans only, cancel any time) - Solo: $29/month or $290/year. 50,000 events/month, 3 projects, 30-day history, MCP server, unlimited agent keys. - Pro: $79/month or $790/year. 250,000 events/month, 15 projects, 90-day history, MCP server, unlimited agent keys. - Scale: $199/month or $1990/year. 1,000,000 events/month, unlimited projects, 180-day history, MCP server, unlimited agent keys. - Each plan starts with a 7-day trial: card taken up front in Stripe Checkout, nothing charged until day 7, cancel before then and nothing is charged. A workspace in its trial has the full plan. - Events over the monthly limit are rejected, never billed. ## Docs - [SKILL.md for coding agents: plans, checkout links, setup](https://runheed.com/SKILL.md) - [Setup: SDK and MCP server](https://runheed.com/docs) - [The MCP server: tools, setup, limits](https://runheed.com/mcp-server) - [Demo: a sample error, the MCP calls an agent makes to read it, and the fix (no signup)](https://runheed.com/demo) - [Full text of the setup guides, comparisons and FAQ for agents](https://runheed.com/llms-full.txt) - [Agent setup instructions (plain text for coding agents)](https://runheed.com/SETUP.txt) - [Pricing](https://runheed.com/pricing) (plain markdown for agents: https://runheed.com/pricing.md) - [Changelog](https://runheed.com/changelog) - Demo MCP server on invented sample errors, no account or key, nothing saved: https://runheed.com/api/mcp/demo (setup: https://runheed.com/demo#try) - Remote MCP server: https://runheed.com/api/mcp (OAuth sign-in; listed in Claude's connector directory at https://claude.ai/directory/connectors/runheed, listed in ChatGPT's plugin directory at https://chatgpt.com/plugins/plugin_asdk_app_6ae8e9d612b48191a9d72706a9950b5e, and works in Claude Code, Cursor, VS Code and Codex) - Install: `npm install https://runheed.com/dl/runheed-0.1.7.tgz` (Node), `pip install https://runheed.com/dl/runheed-0.1.7-py3-none-any.whl` (Python), local MCP server `npx -y https://runheed.com/dl/runheed-mcp-0.1.7.tgz` - CLI (same tools in a terminal, for agents without MCP): `curl -fsSL https://runheed.com/install.sh | sh` (Windows: `irm https://runheed.com/install.ps1 | iex`), then `runheed login`. Docs: https://runheed.com/docs#cli - MCP server card: https://runheed.com/.well-known/mcp/server-card.json - Claude Code plugin, agent skill and MCP config (public): https://github.com/getrunheed/runheed-plugin (`/plugin marketplace add getrunheed/runheed-plugin`, then `/plugin install runheed@runheed`) ## Connect a client - [Runheed + claude.ai](https://runheed.com/connect/claude-ai) - [Runheed + ChatGPT](https://runheed.com/connect/chatgpt) - [Runheed + Claude Code](https://runheed.com/connect/claude-code) - [Runheed + Cursor](https://runheed.com/connect/cursor) - [Runheed + Claude Desktop](https://runheed.com/connect/claude-desktop) - [Runheed + VS Code](https://runheed.com/connect/vs-code) - [Runheed + Windsurf](https://runheed.com/connect/windsurf) - [Runheed + Codex CLI](https://runheed.com/connect/codex) - [Runheed + Gemini CLI](https://runheed.com/connect/gemini-cli) - [Runheed + Kiro](https://runheed.com/connect/kiro) - [Runheed + Lovable](https://runheed.com/connect/lovable) - [Runheed + Replit](https://runheed.com/connect/replit) - [Runheed + Bolt](https://runheed.com/connect/bolt) - [Runheed + Antigravity](https://runheed.com/connect/antigravity) - [Runheed + Zed](https://runheed.com/connect/zed) - [Runheed + Cline](https://runheed.com/connect/cline) ## Setup by stack - [Next.js error tracking for Claude Code and Cursor](https://runheed.com/for/nextjs) - [Express and Node.js error tracking for AI agents](https://runheed.com/for/express) - [FastAPI error tracking for AI coding agents](https://runheed.com/for/fastapi) - [Django error tracking for Claude Code and Cursor](https://runheed.com/for/django) - [Flask error tracking for Claude Code and Cursor](https://runheed.com/for/flask) - [Supabase Edge Function error tracking for Lovable](https://runheed.com/for/supabase-edge-functions) - [Fastify error tracking for Claude Code and Cursor](https://runheed.com/for/fastify) - [Vercel Functions error tracking for Claude Code](https://runheed.com/for/vercel) - [AWS Lambda error tracking for Claude Code](https://runheed.com/for/aws-lambda) - [Cloudflare Workers error tracking for Claude Code](https://runheed.com/for/cloudflare-workers) - [Bun error tracking for Claude Code and Cursor](https://runheed.com/for/bun) - [Deno Deploy error tracking for Claude Code](https://runheed.com/for/deno-deploy) - [Render error tracking for Claude Code and Cursor](https://runheed.com/for/render) - [Railway error tracking for Claude Code and Cursor](https://runheed.com/for/railway) - [Go error tracking for Claude Code and Cursor](https://runheed.com/for/go) - [Ruby error tracking for Claude Code and Cursor](https://runheed.com/for/ruby) - [PHP error tracking for Claude Code and Cursor](https://runheed.com/for/php) - [.NET error tracking for Claude Code and Cursor](https://runheed.com/for/dotnet) - [Java error tracking for Claude Code and Cursor](https://runheed.com/for/java) - [React error tracking for Claude Code and Cursor](https://runheed.com/for/react) ## Guides - [How do I give my coding agent access to production errors?](https://runheed.com/guides/give-coding-agent-access-to-production-errors): Connect an error tracker that has an MCP server. Your app reports each exception with its stack trace, request and breadcrumbs, and the agent reads them through MCP tools the same way it reads files. With Runheed that is one SDK call in your app and one command or URL in Claude Code, Cursor, Codex or ChatGPT. - [How to have Claude Code find, fix and resolve production errors](https://runheed.com/guides/claude-code-fix-production-errors): Connect Runheed to Claude Code, then ask "what broke in production since the last deploy?" Claude calls runheed_get_recent, reads the stack trace with runheed_get_error, edits the code in your repo, and after you commit it marks the error resolved with the commit hash. If the error happens again, it reopens on its own. - [How do I track errors in an AI agent in production?](https://runheed.com/guides/track-errors-in-ai-agents): Report every failure with the agent context attached: which agent and version, the session, and the tool and action it was running. Add a breadcrumb for each model call and tool call, so the error arrives with the steps that led to it. Runheed's Node.js and Python SDKs have setAgent (set_agent) and breadcrumbs for this. - [Why does my Node error handler fail or crash the server in Next.js?](https://runheed.com/guides/node-error-handlers-next-js-traps): Four things catch out code that works in plain Node. A namespace import of process has no on method. Next.js keeps your unhandledRejection listeners in its own list, so listenerCount looks wrong, and exiting on that kills a server Next meant to keep up. An early return in instrumentation.ts still sends your Node imports to the Edge build. And Next bundles a package separately for instrumentation and for routes, so a module-level client isn't shared. We hit all four in Runheed's Node SDK, running it in real Next.js 16 apps, after unit tests had passed. - [Why is my Python error reporting missing errors, doubling them or leaking secrets?](https://runheed.com/guides/python-error-reporting-traps): Five mistakes come up again and again in Python error reporting. Copying request headers sends Authorization and Cookie values to your tracker. Flask's errorhandler(Exception) also catches 404s and can turn them into 500s. A framework hook and a logging handler each report the same exception. Patching Thread.run misses every subclass that overrides run. And a dropped ThreadPoolExecutor future reports nothing at all. We hit the first four in Runheed's Python SDK, running it in real FastAPI, Flask and Django apps with fake secrets, after unit tests had passed. - [Why does my error tracker show one bug as hundreds of different errors?](https://runheed.com/guides/error-grouping-fingerprints): Error trackers group repeats of a bug by a fingerprint, usually built from the error type, the message and where it was thrown. If the message holds a value that changes each time, like a user ID, an email, a timestamp or a duration, every occurrence gets a new fingerprint. You get a new-error alert per user and a list nobody can read. If the fingerprint includes the line number, an edit higher up the file makes every error below it look new. Replace the changing values before hashing, and leave the line number out. - [Why does NextResponse.redirect send users to localhost behind nginx?](https://runheed.com/guides/nextjs-redirect-localhost-behind-proxy): Under next start, a route handler's request.url is built from the address Next itself listens on, not from the Host header your proxy forwards. It does take the scheme from X-Forwarded-Proto, so behind nginx it reads https://localhost:3000/... and any redirect built with new URL(path, request.url) sends the user there. Build absolute URLs from a public origin you configure, send a relative Location header, or read the forwarded host when you trust the proxy that sets it. - [How do I see errors from my MCP server in production?](https://runheed.com/guides/mcp-server-error-tracking): Wrap each tool handler, report the exception with the tool name, and return an error result to the client. In a stdio server, never write to stdout: it carries the protocol, so stray output breaks the connection. Runheed's SDK sends errors over HTTPS and writes nothing to stdout unless you turn on debug mode. - [How to get a daily production error digest from Claude Code](https://runheed.com/guides/daily-production-error-digest-claude): Connect Runheed as a claude.ai connector, then run /schedule in Claude Code and pick your repository and a morning time. Each run reads the last 24 hours of errors over MCP, opens the files in each stack trace and writes a short digest: what is new, what got worse, the likely cause and a suggested fix. - [How to turn production errors into GitHub issues with the Claude Code GitHub Action](https://runheed.com/guides/github-action-production-errors-to-issues): Add Runheed to the Claude Code GitHub Action with an MCP config file and an agent key secret, then run it on a schedule. Each run lists new production errors, reads the stack trace, opens the files it points to in your checked-out repo and files one GitHub issue per new error with the likely cause and a proposed fix. - [How to make Claude Code check production errors before it starts](https://runheed.com/guides/claude-md-check-production-errors): Add a short block to CLAUDE.md or AGENTS.md telling the agent to check Runheed before it debugs anything and to resolve errors with the commit hash after a fix. For Claude Code, add a SessionStart hook that fetches the five newest unresolved errors, so they are already in context when the session opens. - [Can Claude Code read my production logs?](https://runheed.com/guides/can-claude-code-read-production-logs): Yes, once you give it a route. Claude Code reads files and runs commands on the machine it runs on, so production logs reach it through a shell command you approve or through an MCP server. It can't see them by default. For exceptions, an error tracker over MCP such as Runheed gives it grouped errors with no server credentials. - [Can an AI agent fix production bugs by itself?](https://runheed.com/guides/can-ai-agent-fix-production-bugs): For a bug with a clear stack trace, code it can read and a test it can run, yes, up to a pull request. An agent can read the error, find the cause, write the fix and open the pull request with nobody watching. It fails when the cause is outside the code, and it should not decide what ships. - [How do I give Cursor access to production errors?](https://runheed.com/guides/give-cursor-access-to-production-errors): Connect an error tracker's MCP server. With Runheed, add its URL to .cursor/mcp.json and sign in, and Cursor's agent can list, read and resolve the exceptions your app reports. A project rule then tells it to check those errors before it debugs. Cursor gets no access to your servers. - [Does Sentry have an MCP server, and what can it do?](https://runheed.com/guides/does-sentry-have-an-mcp-server): Yes. Sentry runs a hosted MCP server at https://mcp.sentry.dev/mcp with OAuth sign-in, and publishes a stdio package, @sentry/mcp-server, for self-hosted Sentry. Coding agents can use it to search issues, errors, logs and traces, ask Seer for analysis and, if you grant the triage skill, resolve and assign issues. - [How do I add error tracking to a Lovable, Replit or Bolt app?](https://runheed.com/guides/add-error-tracking-lovable-replit-bolt): Report errors from your app's server code, then connect the tracker to the builder's agent. On Lovable, and on Bolt with Supabase, that means one shared file in your Edge Functions. On Replit, it means the Runheed Node.js or Python SDK. Errors in the browser are captured when the frontend reports through @sentry/react with the project's Sentry SDK DSN (/for/react). - [What is an error tracking MCP server?](https://runheed.com/guides/what-is-error-tracking-mcp-server): An error tracking MCP server lets an AI coding agent read production errors directly. It exposes an error tracker's data as tools over the Model Context Protocol, so Claude Code, Cursor or ChatGPT can list errors, read stack traces and often mark them resolved, with nothing pasted into the chat and no access to your servers. - [What does error tracking cost at 50k, 250k and 1M events a month?](https://runheed.com/guides/error-tracking-pricing-compared): At 50,000 errors a month the entry plans cost $20 to $29. At about 250,000 they cost $65 to $79, and at 1 million $176 to $225, depending on vendor and billing. Price alone separates them less than retention, what happens when you go over, and whether your coding agent can read and resolve the errors. Runheed is flat: $29, $79 and $199 a month, and events over the limit are rejected, never billed. - [Keep your Sentry SDK and send its errors to your coding agent](https://runheed.com/guides/use-sentry-sdk-with-runheed): Set your existing Sentry SDK's DSN to your Runheed project's Sentry SDK DSN, shaped https://@runheed.com/. No other code changes: exceptions, messages, stack frames, breadcrumbs, user, tags, release and environment arrive in Runheed, and your coding agent reads them over MCP. - [Give an agent running on Vercel your production errors (Vercel Connect)](https://runheed.com/guides/vercel-connect-production-errors): Create a Vercel Connect connector for runheed.com (Runheed publishes OAuth discovery and dynamic client registration, so Connect registers its own client), link it to your project, then pass connectAuthProvider to the AI SDK MCP client pointed at https://runheed.com/api/mcp. The agent gets all thirteen Runheed tools, and no Runheed key lives in your environment variables. - [How do I give Codex access to my production errors?](https://runheed.com/guides/give-codex-access-to-production-errors): Connect an error tracker's MCP server to Codex. With Runheed, run codex mcp add with the server URL, then codex mcp login to sign in. Codex can then list, read and resolve the exceptions your app reports, and a few lines in AGENTS.md tell it to check them before it debugs. Codex gets no access to your servers. - [Which coding agents can read my production errors?](https://runheed.com/guides/which-coding-agents-can-read-production-errors): Any coding agent that supports MCP servers can read production errors from an error tracker that has one. 14 clients connect to Runheed with a URL and a browser sign-in, among them Claude Code, Cursor, Codex, VS Code, Gemini CLI and ChatGPT. Windsurf and Cline use the local server with an agent key. - [How do I get an alert when my app throws an error?](https://runheed.com/guides/get-alerted-when-app-throws-error): Report exceptions to an error tracker and let it alert you. Runheed groups repeats of the same bug and alerts once when an error is new, then again if it comes back after you marked it resolved. Alerts go by email, to a Slack or Discord channel, or to your own URL as a signed webhook, each with a prompt to hand to your coding agent. ## Free tools (run in the browser, nothing uploaded) - [Free tools for debugging production errors](https://runheed.com/tools) - [Source map stack trace decoder](https://runheed.com/tools/source-map-decoder): A source map maps each line and column of minified JavaScript back to the original file. Give this tool the .map file and the stack trace and it rewrites every frame to the original source location. - [Uptime and SLA downtime calculator](https://runheed.com/tools/uptime-calculator): 99.9% uptime allows about 43 minutes of downtime in a 30-day month, 10 minutes a week and 8.8 hours a year. - [Error budget calculator](https://runheed.com/tools/error-budget-calculator): An error budget is the share of requests an SLO lets fail: a 99.9% target over 10 million requests allows 10,000 failures. The burn rate is how fast you spend it compared with spending it evenly. - [Stack trace formatter](https://runheed.com/tools/stack-trace-formatter): Paste a JavaScript, Python, Ruby or Go stack trace and this tool splits it into one frame per line, marks which frames are your code and which are libraries, and puts the error message first. - [JSON log viewer](https://runheed.com/tools/json-log-viewer): NDJSON (JSON lines) logs put one JSON object on each line. This viewer reads the file in your browser, shows each line as a row and lets you filter by level or any field. - [HTTP status code reference](https://runheed.com/tools/http-status-codes): HTTP status codes are three-digit numbers a server sends with every response: 2xx means it worked, 3xx means look elsewhere, 4xx means the request was wrong and 5xx means the server failed. ## OpenAPI Specs - [Runheed API (ingest + MCP API)](https://runheed.com/openapi.json) ## Error fixes Each guide has a markdown version for agents at the same URL plus .md (or send Accept: text/markdown). - [Error: read ECONNRESET](https://runheed.com/errors/econnreset.md): Node.js - [Error: listen EADDRINUSE: address already in use :::3000](https://runheed.com/errors/eaddrinuse.md): Node.js - [TypeError: Cannot read properties of undefined (reading 'x')](https://runheed.com/errors/cannot-read-properties-of-undefined.md): Node.js - [[UnhandledPromiseRejection: This error originated either by throwing inside of an async function ...](https://runheed.com/errors/unhandled-promise-rejection.md): Node.js - [FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory](https://runheed.com/errors/heap-out-of-memory.md): Node.js - [Error [ERR_REQUIRE_ESM]: require() of ES Module ... not supported.](https://runheed.com/errors/err-require-esm.md): Node.js - [Error: connect ECONNREFUSED 127.0.0.1:5432](https://runheed.com/errors/econnrefused.md): Node.js - [Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client](https://runheed.com/errors/err-http-headers-sent.md): Node.js - [RangeError: Maximum call stack size exceeded](https://runheed.com/errors/maximum-call-stack-size-exceeded.md): Node.js - [TypeError: fetch failed](https://runheed.com/errors/fetch-failed.md): Node.js - [SyntaxError: Unexpected token '<', "