Home / Servers / Sentry API / list_project_stats
Retrieve Event Counts for a Project
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
Retrieve Event Counts for a Project Return a set of points representing a normalized timestamp and the number of events seen in the period. Query ranges are limited to Sentry's configured time-series resolutions. This endpoint may… [GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/stats/]
Name on the gateway: sentry_api__list_project_stats · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
project_id_or_slug required | string | The ID or slug of the project the resource belongs to.… |
stat | blacklisted | generated | received | rejected | The name of the stat to query. Defaults to received. |
since | number | A UNIX timestamp (in seconds) that sets the start of the query range. |
until | number | A UNIX timestamp (in seconds) that sets the end of the query range. |
resolution | 10s | 1d | 1h | An explicit time series resolution. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "sentry_api__list_project_stats",
"arguments": {
"organization_id_or_slug": "…",
"project_id_or_slug": "…"
}
}Or connect the Sentry API server directly, which lists 272 tools including this one:
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the retrieve event counts for a project tool with organization_id_or_slug set to ….