Loading…
ast-grep is a fast and polyglot tool for code structural search, lint, rewriting at large scale.
ast-grep is an MCP server entry in ChatHome Skills, sourced from Docker MCP Registry and scored 100/100. As a Model Context Protocol server, it exposes tools that MCP-compatible LLM clients such as Claude, Cursor, and Copilot can call directly, extending an agent's reach beyond its built-in capabilities. ChatHome Skills discovered this entry through its daily ingest of official registries and GitHub discovery queries, and re-verifies repository facts, freshness signals, and install metadata on every run. The quality score weighs official-registry presence, a working install command, license clarity, GitHub star trajectory, and repository freshness — the full formula is on the Sources page. The install command above is ready to copy. Review the last-pushed date and repository status before adding ast-grep to a production agent workflow; the snapshot facts below are point-in-time values from the most recent ingest.
docker run -i --rm mcp/ast-grepReview the upstream source before running this command.
{
"raw": "name: ast-grep\nimage: mcp/ast-grep\ntype: server\nmeta:\n category: code\n tags:\n - code\n - refactoring\n - grep\nabout:\n title: ast-grep\n description: ast-grep is a fast and polyglot tool for code structural search, lint, rewriting at large scale.\n icon: https://avatars.githubusercontent.com/u/114017360?s=200&v=4\nsource:\n project: https://github.com/dgageot/mcp-ast-grep\n commit: c0a1edaf9cd6b168f2b59bc5a0161ad49a793099\nrun:\n volumes:\n - \"{{ast-grep.path|volume-target}}:/src\"\n disableNetwork: true\nconfig:\n description: The MCP server is allowed to access this directory\n parameters:\n type: object\n properties:\n path:\n type: string\n default: /Users/demo/sources\n required:\n - path\n",
"path": "servers/ast-grep/server.yaml"
}