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
What to search for. Must be either
"prs" (pull requests) or "commits".Repository in
owner/repo format (e.g. "thezem/reacher").GitHub username to filter by (e.g.
"thezem").ISO date string. Returns items created on or after this date (e.g.
"2026-03-01"). For commits this filters by committer date.Number of results to return. Min
1, max 100. Defaults to 25.Return value
true on a successful GitHub API response.Array of result objects. Shape depends on
type.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.