Contribution calendar of a GitHub user
github_user_contributionsA GitHub user’s contribution calendar for a year: daily counts and the total.
The contributions calendar from the user’s profile: one row per day with its count and shade level (0-4), and the total GitHub states. Without year, the last 12 months; with year, that calendar year.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"handle": "<handle>"
},
"name": "github_user_contributions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Calendar year (default: the last 12 months). | |
| handle | Yes | GitHub username, with or without the @, or a profile URL. |