Enterprise DNA
M MCP Servers Developer low

srijanshukla18/xray

by Various

XRAY MCP provides progressive code intelligence and navigation capabilities for AI assistants through structural code analysis using ast-grep

S

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

  • uv
  • ast-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
Free 27-page guide

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.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks