Search GitHub Repositories
developer.github.searchSearch GitHub repositories by keyword, language, stars, or topics. Filter results by criteria like stars >1000, sort by stars or forks, and get repository details including name, description, stars, forks, language, license, and owner.
Instructions
Search GitHub repositories by keyword, language, stars, topics. Returns name, description, stars, forks, language, license, owner. Sort by stars/forks/updated. 86K+ MCP repos, 372M+ total repos (GitHub API)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (e.g. "mcp server", "react framework", "language:python stars:>1000") | |
| sort | No | Sort by: stars (default), forks, updated, help-wanted-issues | stars |
| limit | No | Max results (1-30, default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |