structural_search
AST pattern matching — find .unwrap() calls, new instantiations, specific patterns
How to use it
Project documentation lists structural_search for the Octocode MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Octocode
claude mcp add octocode -- octocode mcp --path /path/to/your/projectOther tools in Octocode (6)
Query relationships — "what calls this function?", "what does this module import?"
Find all usages of a symbol across the workspace (requires --with-lsp)
Jump to a symbol's definition (requires --with-lsp)
Type info and documentation for a symbol (requires --with-lsp)
Find code by meaning — "authentication flow", "error handling", "database queries"
View file structure — function signatures, class definitions, imports