Home / Servers / GitHub API / api_insights_get_summary_stats_by_user
Get summary stats by user
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Get summary stats by user Get overall statistics of API requests within the organization for a user. Under normal conditions, you can expect API data to appear within 4–6 hours after making a request. During incidents or… [GET /orgs/{org}/insights/api/summary-stats/users/{user_id}]
Name on the gateway: github_api__api_insights_get_summary_stats_by_user · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
user_id required | string | The ID of the user to query for stats |
min_timestamp required | string | The minimum timestamp to query for stats. This is a timestamp in ISO 8601… |
max_timestamp | string | The maximum timestamp to query for stats. Defaults to the time 30 days ago.… |
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": "github_api__api_insights_get_summary_stats_by_user",
"arguments": {
"org": "…",
"user_id": "…",
"min_timestamp": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get summary stats by user tool with org set to ….