Search code using abstract syntax tree (AST) patterns via ast-grep. Provide a pattern and target language to locate matching code constructs.
136,059 tools. Last updated 2026-05-26 00:34
"Using ast-grep to Modify Code Programmatically" matching MCP tools:
- Debug code rules by inspecting syntax tree structures. Use to discover correct syntax kinds and analyze how patterns are interpreted in ast-grep.MIT
- Search code using structural pattern matching to find specific syntax patterns across multiple programming languages for refactoring, security auditing, and code analysis.MIT
- Search source code with AST context to understand how matches fit within functions, classes, and code structures.MIT
- Search codebases using advanced AST pattern matching with YAML rules to locate complex code structures like nested or related syntax elements.MIT
- Search code in a project folder using AST patterns to locate specific code structures across multiple programming languages.MIT
Matching MCP Servers
- AlicenseAqualityDmaintenanceEnables 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.Last updated4404MIT
- MIT
Matching MCP Connectors
Parallel regex across all Boolsai scans — discover new vendor patterns, niche signals. 4 tools.
Cloudflare Workers MCP server: code-explainer
- Parse JavaScript or TypeScript code from files or strings into an AST structure for subsequent code analysis and transformation tasks.MIT
- Analyze source code using AST parsing to extract functions, classes, and imports, generate Mermaid diagrams (class, flowchart, dependency), and optionally apply AI for quality insights, security issues, and improvement suggestions.MIT
- 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.MIT
- Generate code to add credits to users programmatically by specifying transaction types like purchase, refund, or bonus.MIT
- Test code against ast-grep YAML rules to verify pattern matching before applying to projects. Validate rule accuracy by scanning code samples.MIT
- Parse source files using AST to extract targeted code context and relevant imports, optimizing token usage for AI-based code analysis and assistance. Supports TypeScript, JavaScript, Python, Go, and Rust.MIT
- Analyze code structure by generating an Abstract Syntax Tree (AST) summary to understand program architecture and relationships between components.MIT
- Convert WebDriverIO tests to Playwright syntax using AST transformation. Supports partial migrations, preserves existing code, and generates TypeScript or JavaScript output.
- Analyze source code to generate context-aware documentation using AST and knowledge graph insights. Supports tutorial, how-to, reference, and explanation formats with customizable detail and output.MIT
- Search for specific code patterns within GitHub repositories using grep-like functionality to locate relevant files and content.
- Detect code-documentation drift using AST analysis. Preview, apply, or auto-sync updates to keep documentation aligned with code changes.MIT
- Performs static analysis of Python FLOX strategy code: verifies required hooks (on_trade, on_bar) and detects forbidden patterns (eval, exec). Does not execute code.MIT
- Detect lookahead bias in backtest code by statically analyzing the AST for negative shifts, forward indexing, and future-dated attributes, catching common errors before trusting results.MIT
- Search task activity logs for specific patterns using grep-style filtering. Return only matching lines with optional surrounding context.Mozilla Public 2.0