search_code
Pack: github · Endpoint: https://gateway.pipeworx.io/github/mcp
Search CODE across public GitHub repositories — find where a function/symbol/string is defined or used. PREFER OVER WEB SEARCH for “find code that does X”, “which repos use
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Code search query, e.g. “NewCmdRoot repo:cli/cli”, “createRoot language:typescript”, “addEventListener org:facebook”. |
per_page | number | no | Number of results to return (default 10, max 30). |
Example call
curl -X POST https://gateway.pipeworx.io/github/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_code","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"github": {
"url": "https://gateway.pipeworx.io/github/mcp"
}
}
}
See Getting Started for client-specific install steps.