search_code — GitHub MCP Tool Read-only
search_code
(search code) is one of 10 tools on the
GitHub
MCP server. Connect the server and your client discovers it on the handshake.
by client
How to call search_code from your client
- Claude Code GitHub search_code run in your project directory
- Claude Desktop GitHub search_code ~/Library/Application Support/Claude/claude_desktop_config.json
- Cursor GitHub search_code ~/.cursor/mcp.json
- VS Code GitHub search_code .vscode/mcp.json
- Zed GitHub search_code ~/.config/zed/settings.json
- Windsurf GitHub search_code ~/.codeium/windsurf/mcp_config.json
Fastest route
claude mcp add --transport http github-mcp-server https://api.githubcopilot.com/mcp/
Other tools on this server
Mutating and Read-only are read off each tool's name, not its schema — a hint, not a guarantee. The registry stores tool names only; connect the server for its live schemas.