Skip to main content
Glama

GitHub MCP Server

search_code

Find specific code snippets across GitHub repositories with advanced search options, enabling precise filtering by query, order, page, and results 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/tuanle96/mcp-github'

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