Skip to content
English

Switch theme

// Understand codebases

ast-grep0.50.0

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

Open source Maintained For agents

OFFICIAL DOWNLOADDirect official link

0.51.0 · 2026-10-15

Every button links straight to the official file (github.com). AIMap does not host or modify installers. Checked 2026-10-23. All files, checksums & install steps →

IN ONE PARAGRAPH

ast-grep is ⚡A CLI tool for code structural search, lint and rewriting. Written in Rust.

Good for: Developers who want their agent (Claude Code, Codex, Cursor…) to understand codebases.

01How to start

  1. 1Read the official README for requirements and permissions.
  2. 2Install it from the official package registry: npm install @ast-grep/clipip install ast-grep-cli
  3. 3Add it to your agent’s MCP config — Claude Code: claude mcp add; Cursor: .cursor/mcp.json; Codex: ~/.codex/config.toml.

crates.io: ast-grepnpm: @ast-grep/cliPyPI: ast-grep-cli

02Alternatives & comparison

Compare side by side →

03Related

Versions, why it is listed, for AI to read

Recent releases

For AI agents

Data updated: AI software & hot ranks · Software profiles & needs · Official software downloads(UTC+8)