Search GitHub repositories, issues, code or users
github_searchGitHub search with its own query syntax (e.g. 'sqlite language:rust stars:>100'). Repositories: name, owner, stars, forks, language, topics, licence, pushed date. Issues: title, state, labels, comments, URL. Code: path, repository and link. GitHub limits search to about 30 requests a minute; a busy minute is a 503, not charged. Limit max 30. Related tools on this server, for a different need: github_issues when you need to search a GitHub repository's issues or pull requests; github_releases when you need to list a GitHub repository's latest releases. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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 | GitHub search query, GitHub search syntax (1-256 characters) | |
| type | No | repositories (default), issues, code or users | |
| limit | No | Results, 1-30 (default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| count | No | ||
| query | No | ||
| source | No | ||
| results | No | ||
| checkedAt | No | ||
| totalCount | No | ||
| incompleteResults | No |