srijanshukla18/xray
by Various
XRAY MCP provides progressive code intelligence and navigation capabilities for AI assistants through structural code analysis using ast-grep
MCP
srijanshukla18/xray
Added 1 June 2026
Overview
XRAY MCP is a Python tool that gives AI assistants structural code intelligence by analyzing codebases with ast-grep. It enables navigation and understanding of code through progressive analysis of syntax trees.
Best for
Best for
Developers building AI coding assistants that need structural code understanding
Use cases
- Enabling AI assistants to navigate and understand large codebases
- Performing structural code searches and pattern matching
- Providing context-aware code intelligence for development workflows
How to use
Install
curl -fsSL https://raw.githubusercontent.com/srijanshukla18/xray/main/install.sh | bash Tools exposed
uvast-grep
Tested with
Claude Desktop, Claude Code, Cursor, VS Code
Notes
XRAY MCP is a Python tool that gives AI assistants structural code intelligence by analyzing codebases with ast-grep. It enables navigation and understanding of code through progressive analysis of syntax trees.
49 stars on GitHub. Last updated 2025-12-11. Licensed MIT.
Use cases
- Enabling AI assistants to navigate and understand large codebases
- Performing structural code searches and pattern matching
- Providing context-aware code intelligence for development workflows
Pros
- Leverages ast-grep for fast, reliable structural analysis
- Lightweight Python implementation with clear focus
- Open source with active community (49 stars)
Cons
- Limited to Python runtime and ast-grep supported languages
- Small user base may mean fewer integrations and examples
- Requires ast-grep to be installed separately
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Leverages ast-grep for fast, reliable structural analysis
- Lightweight Python implementation with clear focus
- Open source with active community (49 stars)
Cons
- Limited to Python runtime and ast-grep supported languages
- Small user base may mean fewer integrations and examples
- Requires ast-grep to be installed separately
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.