Skip to content
SPECIFICTION
Get listed

ast-grep vs Sensegrep

ast-grep

ast-grep.github.io

Sensegrep

github.com

Side by side

Figureast-grepSensegrep
Price fromFree—
Free planYes—
Free trial——
Open source——
WebYes—
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYesYes
Self-hosted—Yes
Plans published10
Spec score · Code Search Tools9.1 (#1)6.8 (#29)
IntegrationsThe documentation describes editor integrations, including a VS Code extension and language server support for editors such as Vim and Neovim.The project provides plugins or setup instructions for Claude Code, Cursor, Codex, VS Code, and generic MCP clients.
LanguagesThe project says it supports 20+ languages and allows custom languages to be loaded.The documented built-in languages are TypeScript/JavaScript, Python, Java, and Vue.
Purposeast-grep is a fast, polyglot tool for structural code search, linting, and rewriting at scale.Sensegrep searches source code by meaning using AI embeddings and tree-sitter AST parsing.

Plans

ast-grep

  • ast-grepFree

ast-grep pricing →

Sensegrep

No plans published.

Sensegrep pricing →

In their own words

ast-grep

ast-grep is a free, open-source tool for structural code search, linting, and rewriting. It matches patterns against syntax-tree nodes, helping developers locate and change code across a codebase rather than searching plain text. Its CLI can preview and apply rewrites interactively, and scan configurable YAML rules with error, warning, info, or hint severity. Rules can combine pattern, kind, regex, relational, and composite conditions, and CLI commands help create and snapshot-test them. The project says it supports more than 20 languages and can load custom languages. JavaScript and WebAssembly APIs allow programmatic syntax-tree work; a browser playground offers a way to try patterns without local installation. Editor options include a VS Code extension and language-server setups, including for Vim and Neovim. The tool is free, has a web interface, and is distributed through package managers or built from source. Its FAQ notes that some advanced static-analysis information is unsupported, and one rule cannot target multiple languages at once.

Visit ast-grep.github.io

Sensegrep

Sensegrep has no write-up on Specifiction yet; its figures are above.

Visit github.com