ast-editor
Related Servers
Alternatives to ast-editor
- AlicenseAqualityBmaintenanceEnables 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.4495MIT
- AlicenseNot gradedqualityCmaintenanceProvides 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.37MIT
Related Servers
- AlicenseNot gradedqualityDmaintenanceA modular MCP server for code analysis using ast-grep, enabling structural pattern matching and transformations across multiple languages.MIT
- AlicenseBqualityDmaintenanceAdvanced code search and transformation MCP server for AI assistants. Combines ugrep's speed with intelligent replace capabilities, dry-run previews, and language-aware refactoring across 11 tools.110MIT
- AlicenseNot gradedqualityBmaintenanceStandalone MCP server for code structure analysis using tree-sitter. Directory trees, symbol definitions, and call graphs without reading raw source files. Supports Rust, Python, Go, Java, TypeScript, Fortran, JavaScript, C/C++, and C#. Benchmarked up to 68% fewer tokens vs native tools.7Apache 2.0
- AlicenseNot gradedqualityBmaintenanceA local MCP server that gives AI coding agents precise, symbol-level context instead of whole-file reads, packing a target symbol with its causal neighborhood (callers, callees, imports, tests) and reporting token savings versus reading the file. It also enables surgical in-place edits of only the target symbol's byte range, impact analysis before signature changes, health review, and project gate execution.MIT
- AlicenseAqualityBmaintenanceA robust, language-agnostic Model Context Protocol (MCP) server that provides AI coding agents with the ability to edit files surgically via Abstract Syntax Trees (AST) instead of relying on token-heavy, brittle search-and-replace or diff operations.2810MIT
- AlicenseAqualityDmaintenanceMCP server that combines Read+Edit file operations into single tool calls. 80-95% fewer tool calls formulti-file refactoring across Claude, Cursor, Windsurf, and more.315 npm3MIT
TDQS
Scored across 28 tools
Despite the large surface, each tool has a clearly bounded scope: replace_function versus replace_function_body versus replace_in_body are explicitly separated by edit granularity, and add_top_level versus insert_sibling versus add_method are separated by placement. The use/don't-use guidance and cross-references make misselection unlikely.
All names are snake_case and verb-first, with predictable object or context suffixes (add_import_name, remove_import_name, replace_function_body, delete_in_body). The verb variation is semantically meaningful and consistent with the operation being performed.
At 28 tools, the surface is well beyond the typically manageable 3-15 range and feels heavy for a single editing server. The granularity is intentional, but several operations could be consolidated or made more discoverable.
The set covers a broad editing lifecycle: read/list symbols and imports, edit functions, signatures, parameters, bodies, comments, imports, config keys, and arrays. Minor gaps remain, such as no direct array-element replacement and no explicit rename/copy/move symbol operation, but most work is still achievable through existing tools.