search_repositories
Search GitHub repositories by query syntax to find projects by topic, language, or keywords. Specify sort, order, and pagination to refine results.
Instructions
Search for GitHub repositories using query syntax (e.g. topic, language, keywords).
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": "search_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| sort | No | Sort field | |
| order | No | Sort order | desc |
| query | Yes | Search query string (e.g. "mcp in:name user:octocat") | |
| per_page | No | Results per page (max 100) |