Skip to main content
Glama

search_code

Search across GitHub repositories to find specific code snippets. Use query parameters to filter results, control pagination, and sort order for efficient code discovery.

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/MissionSquad/mcp-github'

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