Home / Servers / GitHub API / repos_get_punch_card_stats
Get the hourly commit count for each day
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Get the hourly commit count for each day Each array contains the day number, hour number, and number of commits: * 0-6: Sunday - Saturday * 0-23: Hour of day * Number of commits For example, [2, 14, 25] indicates that there were 25 total… [GET /repos/{owner}/{repo}/stats/punch_card]
Name on the gateway: github_api__repos_get_punch_card_stats · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
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__repos_get_punch_card_stats",
"arguments": {
"owner": "…",
"repo": "…"
}
}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 the hourly commit count for each day tool with owner set to ….