{"slug":"ast-grep/ast-grep-mcp","name":"ast-grep MCP","description":"An experimental MCP server that uses the ast-grep CLI for code structural search, linting, and rewriting.","category":"development","tags":[],"official":false,"stars":413,"transport":null,"install":[{"cmd":"uvx --from","imports":[]}],"tools":[{"name":"dump_syntax_tree","description":"Visualize the Abstract Syntax Tree structure of code snippets. Essential for understanding how to write effective search patterns."},{"name":"test_match_code_rule","description":"Test ast-grep YAML rules against code snippets before applying them to larger codebases."},{"name":"find_code","description":"Search codebases using simple ast-grep patterns for straightforward structural matches."},{"name":"find_code_by_rule","description":"Advanced codebase search using complex YAML rules that can express sophisticated matching criteria."}],"env_vars":[],"auth_type":"none","github":"https://github.com/ast-grep/ast-grep-mcp","homepage":"","server_url":"","status":"active","source":"mcpservers.org","updated_at":"Thu May 28"}