GitHub search: find repositories
github_searchGitHub repository search: find public repositories by keyword, optionally in one language, ordered by best match, stars, forks or last update, with each result's stars, forks, language, topics, license and last-push date; 1-20 results. Repositories only, no user profile data. Use to find a library for a task, discover the popular projects on a topic or check what already exists before building. Example: q=x402 payments. Price $0.002/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
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": {
"q": "<q>"
},
"name": "github_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search words, e.g. x402 payments (GitHub search qualifiers such as topic:mcp or stars:>100 work too) | |
| sort | No | best-match (default), stars, forks or updated | |
| count | No | Number of results, 1-20 (default 10) | |
| language | No | Only repositories mainly in this language, e.g. TypeScript |