search_code
Search for functions, classes, variables by name
How to use it
search_code is exposed by the Tree Sitter MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the search_code tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Tree Sitter MCP
$
npm install -g @nendo/tree-sitter-mcp