AcademyMCP serversDevelopment

XRAY MCP

Development teams that need to understand a codebase before changing a function, class or module.

  • Listedour rating
  • 53gitHub stars
  • MITlicence
  • 10 months agolast update
claude mcp add xray -- uvx --from /path/to/xray xray-mcp
README.md

Loading the file...

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

  1. 01Map the structure of an unfamiliar repository
  2. 02Find a function or class by a partial name
  3. 03List the callers of a symbol before refactoring it

Questions about
XRAY MCP.

What is XRAY MCP used for?

Development teams that need to understand a codebase before changing a function, class or module. 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.

How do I install XRAY MCP?

Run this in your terminal: claude mcp add xray -- uvx --from /path/to/xray xray-mcp

Is XRAY MCP open source?

Yes. The code is on GitHub (srijanshukla18/xray) under the MIT licence.

Is XRAY MCP safe to use?

Our automatic scan flagged points to review, so read the code before installing it. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.