Skip to main content
Glama

GitHub MCP Server

Official

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/modelcontextprotocol/github'

If you have feedback or need assistance with the MCP directory API, please join our Discord server