github_search_repos
Find GitHub repositories by query syntax; sort matches by stars, forks, or updated date and control result count.
Instructions
搜索 GitHub 仓库。
Args: query: GitHub 搜索语法,例如 "language:python mcp"。 sort: 排序字段,可选 stars、forks、updated。 per_page: 返回数量,1-100;0 表示使用配置值。
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 | ||
| per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |