Skip to content

Sentry

The Sentry skill gives Claude access to your error tracking data. Claude can list unresolved issues, drill into specific errors with full stack traces, and run Discover queries for cross-project event analysis.

FieldValue
IDsentry
Categoryobservability
Required env varsSENTRY_AUTH_TOKEN, SENTRY_ORG
Optional env varsSENTRY_BASE_URL (default: https://sentry.io)
ToolDescription
sentry_list_issuesList recent issues for a Sentry project, with optional search query
sentry_get_issueGet detailed information about a specific Sentry issue
sentry_get_issue_eventsGet recent events (occurrences) for an issue, including full stack traces
sentry_search_eventsSearch events across a project using Sentry Discover query syntax
  1. Go to Sentry > Settings > Auth Tokens (or sentry.io/settings/auth-tokens/).
  2. Create a new auth token with the following scopes:
    • project:read — list and query project issues
    • event:read — read event details and stack traces
    • org:read — required for Discover queries
  3. Set the environment variables:
Terminal window
export SENTRY_AUTH_TOKEN="sntrys_..."
export SENTRY_ORG="my-org"

If you run a self-hosted Sentry instance, set the base URL:

Terminal window
export SENTRY_BASE_URL="https://sentry.internal.example.com"

When SENTRY_BASE_URL is not set, the skill defaults to https://sentry.io.

Triage workflow:

  • gather — Pull error details, stack traces, and recent events around the time of the alert. The sentry_list_issues and sentry_get_issue_events tools give Claude the raw data it needs for root cause analysis.