GitHub & Code
searchCode
Search Code
Search code across the user's GitHub repositories with GitHub code-search syntax.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "find code that does X", and it calls searchCode.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"query": "<query>"
},
"name": "searchCode"
}Arguments
perPagenumberoptionalResults per pagequerystringrequiredGitHub code search query (e.g., 'addClass repo:jquery/jquery')
Returns
The registry does not declare a return shape.
Declared limits
perPage: minimum 1perPage: maximum 100
Ask for it
The Cloud routes these requests to this verb.
- find code that does X
- search GitHub for Y
Pair it with
The verbs that finish the job.
Questions
What does searchCode do?
Search code across the user's GitHub repositories with GitHub code-search syntax. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use searchCode from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "find code that does X", and it calls searchCode.
Is searchCode safe to let an AI call?
searchCode is read-only: it changes nothing. It reaches a system outside The Cloud on your behalf.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.