Sentry plugin for Claude Code — triage, debug, and fix live crashes instantly with AI
Sentry captures every unhandled exception, crash, and promise rejection from your running application. Our background monitor polls for critical P1/P2 errors every 60 seconds and alerts Claude automatically — no manual checking required.
Claude fetches the full stack trace, reads your actual source files, and cross-references both to pinpoint the exact line causing the crash. Not just the symptom — the real root cause.
Claude proposes a precise, minimal code fix with a before/after diff. You review, approve, and Claude applies it directly to your codebase. Optionally marks the Sentry issue resolved automatically.
List your top unresolved production errors ranked by frequency. See error level, affected file, event count, and last seen time.
Deep-dive into any issue. Claude reads your code + the full stack trace together and proposes a targeted fix.
Search across all your Sentry issues by error message, function name, or any keyword.
Runs silently in every Claude Code session. Alerts you automatically when new critical or fatal errors are detected.
Yes. The plugin works at the Sentry API level, so it works with any language Sentry supports — JavaScript, TypeScript, Python, PHP, Ruby, Go, and more.
Yes. Claude Code stores sensitive config values in your system keychain (not in any file). It is never logged or transmitted anywhere except directly to the Sentry API.
Any Sentry plan works including the free tier. You just need API access which is available on all plans.
Only if you explicitly ask. The resolve action (marking an issue resolved) is the only write operation and requires your confirmation.
Yes. Set a default project in config, or pass a project slug directly to any command like /sentry:triage my-project
No. It runs as a lightweight background process polling every 60 seconds. CPU and memory impact is negligible.