What it does
XRAY is an MCP server that reads a codebase with ast-grep. It maps the project structure with symbol skeletons, finds functions and classes with fuzzy search, and lists where a symbol is referenced so you can see what a change might affect. It works with Python, JavaScript, TypeScript and Go.
Use cases
- 01Map the structure of an unfamiliar repository
- 02Find a function or class by a partial name
- 03List the callers of a symbol before refactoring it