GitHub 仓库搜索
github_search搜索 GitHub 开源仓库(按 Star/更新时间排序),返回仓库简介、语言、Star/Fork 数与链接。用于查找开源项目、代码库或比较类库流行度。Example: {"query":"mcp server","sort":"stars","per_page":5}
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sort": "stars",
"query": "mcp server",
"per_page": 5
},
"name": "github_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | 排序:stars/forks/updated,默认 stars | stars |
| query | Yes | 搜索关键词,如 "mcp server" | |
| per_page | No | 返回条数 1-10,默认 5 |