Skip to main content
Glama

Using ast-grep to Modify Code Programmatically MCP tools

Production-ready MCP servers that extend AI capabilities through file access, database connections, APIs, and contextual services.

65,685 tools. Last updated 2026-01-28 10:36
  • 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.
    MIT License
  • Transform code by matching and replacing AST patterns in specified files. Supports multiple languages, preview mode, and interactive confirmation for secure and precise modifications.
    MIT License
  • 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.
    MIT License
  • Validate and enforce code quality using customizable YAML rules. Specify paths, severity levels, and output formats to streamline linting in a secure JavaScript REPL environment.
    MIT License
  • Automatically synchronize documentation with code changes using AST-based drift detection to maintain accuracy between source code and documentation.
    MIT License

Interested in MCP?

Join the MCP community for support and updates.

RedditDiscord

Matching MCP servers