# ast-grep vs RuboCop

**Leader by Vioscale score:** RuboCop

| Attribute | ast-grep | RuboCop |
|---|---|---|
| **Vioscale score** | 59.5 (45% (low)) | 69.7 (53% (medium)) |
| activity.commits_last_30d | 49 | 100 |
| adoption.dependent_repos | 177 | 115,529 |
| adoption.github_stars | 15,649 | 12,899 |
| deployment.options | `{"self_hosted":true}` | - |
| description.long | 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. | RuboCop is an open-source Ruby linter and formatter that enforces code style based on the Ruby community style guide. It detects code quality issues and can automatically fix many of them, with extensive configuration options and extensibility through community plugins. |
| features.capabilities | `{"autofix":true,"function":"static_analyzer","deployment":"cli_local","open_source":"oss","config_model":"rule_packs","custom_rules":true,"impl_language":"Rust","pricing_model":"free","language_scope":"multi_language","editor_integration":true}` | `{"autofix":true,"function":"linter_formatter","deployment":"cli_local","open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"Ruby","pricing_model":"free","language_scope":"single_language","editor_integration":true}` |
| integrations.count | - | 14 |
| integrations.list | - | `[{"name":"rubocop-performance"},{"name":"rubocop-rails"},{"name":"rubocop-rspec"},{"name":"rubocop-minitest"},{"name":"rubocop-rake"},{"name":"rubocop-sequel"},{"name":"rubocop-thread_safety"},{"name":"rubocop-capybara"},{"name":"rubocop-factory_bot"},{"name":"rubocop-rspec_rails"},{"name":"rubocop-i18n"},{"name":"Eglot"},{"name":"Helix"},{"name":"Flycheck"}]` |
| language.primary | Rust | Ruby |
| license.spdx | MIT | MIT |
| platform.support | `{"cli":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://ast-grep.github.io","retrievedAt":"2026-08-14T09:19:23.517Z"}` | `{"type":"open_source","summary":"Free and open source","freeTier":true,"sourceUrl":"https://rubocop.org/","retrievedAt":"2026-08-14T08:31:22.550Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | commercial |
| pricing.price_level | free | free |
| pricing.transparent | - | yes |
| release.cadence_days | 14 | 16 |
| release.history | `[{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.45.2","date":"2026-08-23T19:48:48Z","type":"stable","version":"0.45.2"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.45.1","date":"2026-08-07T15:13:34Z","type":"stable","version":"0.45.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.45.0","date":"2026-07-23T16:07:00Z","type":"stable","version":"0.45.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.44.1","date":"2026-07-04T14:06:40Z","type":"stable","version":"0.44.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.44.0","date":"2026-06-22T01:49:47Z","type":"stable","version":"0.44.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.43.0","date":"2026-05-25T17:54:30Z","type":"stable","version":"0.43.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.42.3","date":"2026-05-19T15:18:18Z","type":"stable","version":"0.42.3"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.42.2","date":"2026-05-10T21:58:34Z","type":"stable","version":"0.42.2"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.42.1","date":"2026-04-04T16:01:20Z","type":"stable","version":"0.42.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.42.0","date":"2026-03-16T03:29:14Z","type":"stable","version":"0.42.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.41.1","date":"2026-03-10T14:04:27Z","type":"stable","version":"0.41.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.41.0","date":"2026-02-22T18:57:13Z","type":"stable","version":"0.41.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.5","date":"2026-01-10T17:57:43Z","type":"stable","version":"0.40.5"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.4","date":"2026-01-05T01:22:05Z","type":"stable","version":"0.40.4"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.3","date":"2025-12-15T15:38:42Z","type":"stable","version":"0.40.3"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.2","date":"2025-12-14T22:38:05Z","type":"stable","version":"0.40.2"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.1","date":"2025-12-11T05:41:28Z","type":"stable","version":"0.40.1"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.40.0","date":"2025-11-16T04:57:10Z","type":"stable","version":"0.40.0"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.39.9","date":"2025-11-07T02:08:26Z","type":"stable","version":"0.39.9"},{"url":"https://github.com/ast-grep/ast-grep/releases/tag/0.39.7","date":"2025-10-27T16:06:30Z","type":"stable","version":"0.39.7"}]` | `[{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.90.0","date":"2026-08-24T11:40:21Z","type":"stable","version":"v1.90.0"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.89.0","date":"2026-08-04T09:00:37Z","type":"stable","version":"v1.89.0"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.88.2","date":"2026-07-08T06:22:30Z","type":"stable","version":"v1.88.2"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.88.1","date":"2026-07-01T09:52:01Z","type":"stable","version":"v1.88.1"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.88.0","date":"2026-06-16T05:10:59Z","type":"stable","version":"v1.88.0"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.87.0","date":"2026-05-30T08:52:19Z","type":"stable","version":"v1.87.0"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.86.2","date":"2026-05-14T05:26:06Z","type":"stable","version":"v1.86.2"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.86.1","date":"2026-04-09T06:12:37Z","type":"stable","version":"v1.86.1"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.86.0","date":"2026-03-23T10:39:38Z","type":"stable","version":"v1.86.0"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.85.1","date":"2026-03-05T10:22:56Z","type":"stable","version":"v1.85.1"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.85.0","date":"2026-02-26T09:50:24Z","type":"stable","version":"v1.85.0"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.84.2","date":"2026-02-12T07:25:18Z","type":"stable","version":"v1.84.2"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.84.1","date":"2026-02-03T01:55:56Z","type":"stable","version":"v1.84.1"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.84.0","date":"2026-01-27T09:57:17Z","type":"stable","version":"v1.84.0"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.82.1","date":"2025-12-24T08:47:02Z","type":"stable","version":"v1.82.1"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.82.0","date":"2025-12-17T10:25:17Z","type":"stable","version":"v1.82.0"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.81.7","date":"2025-10-31T09:01:14Z","type":"stable","version":"v1.81.7"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.81.6","date":"2025-10-21T07:34:59Z","type":"stable","version":"v1.81.6"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.81.1","date":"2025-09-26T13:35:08Z","type":"stable","version":"v1.81.1"},{"url":"https://github.com/rubocop/rubocop/releases/tag/v1.81.0","date":"2025-09-25T12:50:13Z","type":"stable","version":"v1.81.0"}]` |
| security.scorecard | - | 5.6 |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=%40ast-grep%2Fnapi&per_page=100","last_12m":0,"max_severity":null}` | `{"count":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=rubygems&package_name=rubocop&per_page=100","last_12m":0,"max_severity":"LOW"}` |

## Capabilities (Code Quality Tools)

| Capability | ast-grep | RuboCop |
|---|:--:|:--:|
| **Core** |  |  |
| Function | Static analyzer | Linter + formatter |
| Language scope | Multi-language | Single-language |
| Implementation language | Rust | Ruby |
| **Capability** |  |  |
| Autofix | ✓ | ✓ |
| **Config** |  |  |
| Config model | Rule packs | Config file |
| **Extensibility** |  |  |
| Custom rules | ✓ | ✓ |
| **Deployment** |  |  |
| Deployment | CLI-local | CLI-local |
| **Delivery** |  |  |
| Editor integration | ✓ | ✓ |
| CI / VCS gating | - | - |
| **Insight** |  |  |
| Code metrics | - | - |
| **Performance** |  |  |
| Incremental / monorepo aware | - | - |
| **Licensing** |  |  |
| Open-source | OSS | OSS |
| **Commercial** |  |  |
| Pricing model | Free | Free |

*Source: Vioscale. Generated 2026-09-01T15:13:43.949Z. "-" = undocumented, not absent.*
