GitHub repository search
github_search_reposSearch GitHub repositories with GitHub search syntax, sort by stars, forks, help-wanted issues, or update date, and return paginated public or authorized private results.
Instructions
Search repositories by GitHub search syntax. Supports stars, forks, help-wanted-issues, and updated sorting. public_only defaults to true; pass false to include private repositories the token can see. Returns {total_count, incomplete_results, filtered_count, items[{full_name, description, private, visibility, stars, forks, language, topics, license, updated_at, created_at, pushed_at, html_url}], page, per_page, has_more, next_page}.
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": {
"query": "<query>"
},
"name": "github_search_repos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 | |
| sort | No | Sort field: stars, forks, help-wanted-issues, or updated | |
| fresh | No | Bypass the local cache | |
| order | No | Sort order: asc or desc | |
| query | Yes | GitHub repository search syntax, like stars:>100 language:rust | |
| per_page | No | Items per page, 1-100, default 20 | |
| public_only | No | Drop private repositories from the results; defaults to true, pass false to include private items the token can see |