GitHub user repositories
github_user_reposList a GitHub user's public repositories with star, fork, language, and push-time details; filter forks or minimum stars and rank by stars to find relevant projects.
Instructions
List a user's public repositories with the house projection: visibility, fork status, stars, watchers, language, push time, and description; type defaults to owner. Forks are dropped by default (include_forks: true keeps them) and min_stars keeps repositories at or above the star floor; both filters are client-side, so a filtered page can come back short. sort: stars gathers up to 10 pages of 100 client-side, ranks by stars descending, and reports has_more/next_page from the filtered window with gather_truncated when the cap stopped the gather. Costs 1 core call, up to 10 with sort: stars. Returns {items[{name, full_name, private, visibility, fork, stars, watchers, language, pushed_at, description, html_url}], page, per_page, has_more, next_page, gather_truncated}.
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": {
"user": "<user>"
},
"name": "github_user_repos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 | |
| sort | No | Sort field: created, updated, pushed, full_name, or stars (stars ranks client-side) | |
| type | No | Filter by relationship to the user: all, owner, public, private, or member | |
| user | Yes | GitHub user login, like octocat (alphanumerics and hyphens) | |
| fresh | No | Bypass the local cache | |
| order | No | Sort order: asc or desc (ignored with sort: stars) | |
| per_page | No | Items per page, 1-100, default 20 | |
| min_stars | No | Keep repositories with at least this many stars (client-side filter) | |
| include_forks | No | Keep fork repositories in the results; defaults to false, pass true to include them |