Fetch a GitHub user's contribution calendar and totals
github_get_contributionsFetch a GitHub user's contribution calendar and totals. Read-only: returns public data and changes nothing. Costs 1 credit per request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO-8601 end of the contribution window (inclusive), e.g. "2025-12-31T00:00:00Z". Defaults to now. | |
| from | No | ISO-8601 start of the contribution window (inclusive), e.g. "2025-01-01T00:00:00Z". Defaults to one year ago. Must be within one year of `to`. | |
| username | Yes | GitHub username (login), or the profile link, e.g. "torvalds" or "https://github.com/torvalds". |