What is ast-grep?
A structural code search and rewriting tool that uses AST analysis to locate and modify code patterns across thousands of files, with support for linting and programmatic access via Node.js bindings.
ast-grep pricing
We don't have ast-grep's full plan breakdown yet (its pricing page resisted automated reading). Here's what we could confirm. Always check live pricing for exact numbers.
What ast-grep does
The capabilities that matter for code quality tools, normalised so it lines up with every alternative. “-” means we haven't confirmed it, not that it's missing.
- Function
- Static analyzer
- Language scope
- Multi-language
- Implementation language
- Rust
- Autofix
- ✓
- Config model
- Rule packs
- Custom rules
- ✓
- Deployment
- CLI-local
- Editor integration
- ✓
- CI / VCS gating
- -
- Code metrics
- -
- Incremental / monorepo aware
- -
- Open-source
- OSS
- Pricing model
- Free
Platform & deployment
Independently observed- CLI
- Self-hosted
Security & compliance
Known vulnerabilities: 0 (0 in the last 12 months) sourcea count reflects scale & disclosure, not quality
ast-grep FAQ
Common questions about ast-grep, answered from independent, dated evidence.
What is ast-grep?
A structural code search and rewriting tool that uses AST analysis to locate and modify code patterns across thousands of files, with support for linting and programmatic access via Node.js bindings. It is indexed under Code Quality Tools.
Source: https://ast-grep.github.io
Is ast-grep free to use?
ast-grep is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.
Source: https://ast-grep.github.io
What platforms does ast-grep support?
ast-grep supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.
Source: https://ast-grep.github.io
Can ast-grep be self-hosted?
Yes. ast-grep can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.
Source: https://ast-grep.github.io
Is ast-grep open source?
Yes. ast-grep is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.
ast-grep alternatives
Other code quality tools we track, ranked by the same independent score.
- PrettierA code formatter that automatically enforces consistent style across projectshigh · 79%
- StyleLintA tool for checking CSS code for errors and style inconsistenciesmedium · 72%
- ESLintStatic analysis tool that identifies and fixes issues in JavaScript codehigh · 78%
- Ruffmedium · 68%
- BlackAn opinionated Python code formatter that automatically reformats code to a consistent stylehigh · 79%
- BiomeA unified code formatter and linter for web developmentmedium · 67%
Compare ast-grep
Side by side against other code quality tools, attribute by attribute, with a source on every value.
The vioscaleAI score: one lens on the evidence
Not user reviews and not a paid placement: a confidence-weighted blend of the independent signals below (adoption, activity, security posture, and more), which you can sort and re-weight yourself. Vendors can correct their listing but can never move their rank, and stars are weighted low as a vanity metric. It is one way to read the evidence for ast-grep, not the verdict.
| Signal | Score | Weight | Contribution | Evidence |
|---|---|---|---|---|
| Release cadence | 92 | 0.07 | 6.2 | ✓ |
| Development activity | 50 | 0.12 | 6.0 | ✓ |
| Capabilities | 58 | 0.08 | 4.8 | ✓ |
| Dependent projects | 38 | 0.08 | 3.0 | ✓ |
| Stars | 79 | 0.03 | 2.6 | ✓ |
| Integrations | 0 | 0.05 | 0.0 | - |
| Security posture | 0 | 0.09 | 0.0 | - |
| Package downloads | 0 | 0.17 | 0.0 | - |
| Security score | 0 | 0.05 | 0.0 | - |
| Developer Q&A activity | 0 | 0.08 | 0.0 | - |
Computed . Re-weight it by intent, or see the full method.
All data & sourcesshow ↓
Every value we hold, with its source, retrieval date, and confidence. This is the evidence behind the score: don't trust it, verify it.
Activity
| Attribute | Value | Evidence |
|---|---|---|
| Commits last 30d | 38 | mediumsource · 2026-09-10 · 65% |
Adoption
Content
| Attribute | Value | Evidence |
|---|---|---|
| Faq | 5 items | mediumsource · 2026-09-10 · 67% |
Features
| Attribute | Value | Evidence |
|---|---|---|
| Capabilities | Autofix: Yes · Function: static_analyzer · Deployment: cli_local · Open source: oss · Config model: rule_packs · Custom rules: Yes | mediumsource · 2026-08-14 · 60% |
Language
| Attribute | Value | Evidence |
|---|---|---|
| Primary | Rust | highsource · 2026-09-10 · 90% |
License
| Attribute | Value | Evidence |
|---|---|---|
| Spdx | MIT | highsource · 2026-09-10 · 95% |
Pricing
Release
Security
| Attribute | Value | Evidence |
|---|---|---|
| Vulnerabilities | Count: 0 · Source: https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=%40ast-grep%2Fnapi&per_page=100 · Last 12m: 0 | highsource · 2026-08-26 · 90% |
Is ast-grep the right choice for you?
Tell us the job, the constraints and what you weigh most, and we will rank ast-grep against the rest of the code quality tools we index, using the same dated evidence weighted your way.
Free to run, no account needed to start. How the evaluation works
Is this your product?
This profile was built from public sources without asking you. You can take the badge below and use it anywhere, and you can claim the profile to correct anything we got wrong. Both are free, and neither moves ast-grep up or down: nobody can buy rank here, including you.
Take the badge
Live, always current, and free to use on your own site. It shows ast-grep's independent score and links back to this profile.
<a href="https://www.vioscale.ai/software/ast-grep" target="_blank" rel="noopener">
<img src="https://www.vioscale.ai/badge/software/ast-grep.svg" alt="ast-grep, verified on vioscaleAI" width="330" height="76" loading="lazy" />
</a>Markdown, for a README →
[](https://www.vioscale.ai/software/ast-grep)Claim the profile
Verify you control the domain and you can correct the facts, add the sources we should be reading, and see how AI assistants are describing ast-grep. Free, and it does not change the score.
- Correct anything wrong, with evidence
- Point our crawler at the pages that matter
- See which AI systems are reading this profile
Not the owner? How vendor profiles work