github_search_repos
Search GitHub repositories by query with support for qualifiers like language, stars, and topic. Specify sort order and result limits to find matching code projects.
Instructions
Search GitHub repositories by query.
Supports GitHub search qualifiers: language:python, stars:>100, topic:mcp, etc.
Args: query: Search query (e.g., 'mcp server language:python stars:>10') sort: Sort by — 'stars', 'forks', 'updated', 'help-wanted-issues' (default: stars) max_results: Maximum results (default: 20) session_name: GitHub session to use
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 |
|---|---|---|---|
| sort | No | stars | |
| query | Yes | ||
| max_results | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |