github-mcp-server search_commits
Introduced 2026-05-28 · score 0.97
HOW TO USE IT
When debugging, auditing, or investigating a release, search commits with `search_commits` using GitHub commit search syntax. Include a scope qualifier such as `repo:<owner>/<repo>` in the required `query`.
search_commits({"query":"repo:<owner>/<repo> fix panic","page":1,"perPage":30})WHY THIS HELPS
Find commits relevant to debugging, auditing, or investigating a release.
BEFORE THIS CHANGE
List repository commits and use that listing to find specific commits.
REQUIREMENTS AND LIMITATIONS
- Version: v1.1.0
- query (required): Commit search REST query. Use `repo:owner/repo`, `org:`, or `user:` to scope; supports author, committer, date, merge, hash, tree, parent, and `is:public` qualifiers. Searches commit messages on the default branch only.
- page: Page number, minimum 1.
- perPage: Results per page, from 1 to 100.
- order: Sort order.
- sort: Sort by author or committer date; defaults to best match.
- Prerequisite: The tool requires OAuth scope `repo`.
- Search uses GitHub search syntax.
FIRST-PARTY EVIDENCE
- https://github.com/github/github-mcp-server/releases/tag/v1.1.0
- https://github.com/github/github-mcp-server/blob/v1.1.0/README.md
Check the installed version and the source before using it. Entry JSON