MCPVault

ast_search

MCP tool from Code Graph MCP by sdsrss

Search AST nodes by text and/or structural filters (type, return type, params)

How to use it

ast_search is exposed by the Code Graph MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the ast_search tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Code Graph MCP

$claude mcp add code-graph-mcp -- npx -y @sdsrs/code-graph
FULL CODE GRAPH MCP LISTING