Analyze and debug code structure using AST patterns to identify issues, specify a programming language, and optionally enable detailed query or tree context analysis within a secure sandboxed environment.
Transform code by matching and replacing AST patterns in specified files. Supports multiple languages, preview mode, and interactive confirmation for secure and precise modifications.
Search code patterns using AST matching across specified paths for multiple programming languages, with adjustable strictness and context lines, integrated into the MCP-REPL server.
Execute grep with custom arguments for advanced text search operations, enabling precise pattern matching and file filtering using command-line parameters.
Execute custom grep commands with advanced arguments to search files and directories efficiently. Supports regex and tailored search options for precise text retrieval.
Analyzes local codebases to provide focused context for understanding, debugging, or tracing code. Uses AST parsing and query-aware retrieval to deliver relevant code snippets and actionable insights without external dependencies.
Enables AI assistants to search and analyze codebases using Abstract Syntax Tree (AST) pattern matching with ast-grep. Supports structural code search, pattern testing, and AST visualization across multiple programming languages.
Provides advanced code structure and semantic analysis through Abstract Syntax Trees (AST) and Abstract Semantic Graphs (ASG) across multiple programming languages. It enables tasks like incremental parsing, complexity analysis, and AST diffing to help models understand and navigate codebases.
A server implementation that exposes grep functionality through the Model Context Protocol, allowing MCP-compatible clients to search for patterns in files using regular expressions.