github_search is a focused tool for querying GitHub activity. It searches for pull requests or commits by author within a date range and returns only the essential fields — no pagination tokens, no nested objects, no raw API noise.
Unlike calling the GitHub API through fetch_external, this tool handles query construction, header setup (commits search requires a special Accept header), and response shaping automatically.
Prerequisites
GITHUB_TOKENmust be set in your environmentapi.github.commust be inPROXY_ALLOWED_DOMAINS- The token must be configured for injection in
FETCH_EXTERNAL_TOKEN_MAP:
Parameters
ISO date string. Returns items created on or after this date (e.g.
"2026-03-01"). For commits this filters by committer date.Return value
Usage examples
Example output
The GitHub commits search API requires the
Accept: application/vnd.github.cloak-preview header. This is handled automatically by the tool — you don’t need to pass it.