GitHub MCP Server

search_code

Search for code snippets across GitHub repositories to locate specific files, functions, or syntax quickly. Filter results by order, page, and items per page.

Instructions

Search for code across GitHub repositories

Input Schema

NameRequiredDescriptionDefault
orderNo
pageNo
per_pageNo
qYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "order": { "enum": [ "asc", "desc" ], "type": "string" }, "page": { "minimum": 1, "type": "number" }, "per_page": { "maximum": 100, "minimum": 1, "type": "number" }, "q": { "type": "string" } }, "required": [ "q" ], "type": "object" }

You must be authenticated.

Other Tools from GitHub MCP Server

Related Tools

ID: 782x50kvuh