ast-grep vs SonarQube MCP Server
ast-grep is an MCP server published by dgageot. Marketplaces we read that list it: 1 (Docker MCP Catalog). SonarQube MCP Server is an MCP server published by SonarSource. Marketplaces we read that list it: 2 (Official MCP Registry, Docker MCP Catalog). As of our marketplace pass on 2026-10-19. This pair was picked by a reader, not by our comparison rule, so search engines are asked not to index the page.
Where each is published
| Marketplace | ||
|---|---|---|
| Docker MCP Catalog | Listed Version: sha256:5fc3f2e9dcf2 Forks (GitHub): 0 Pulls (Docker Hub): 101 322 Stars (Docker Hub): 2 Stars (GitHub): 5 Not marked · First seen |
Listed Version: sha256:925c88bc7cab Forks (GitHub): 105 Pulls (Docker Hub): 1 543 661 Stars (Docker Hub): 23 Stars (GitHub): 665 Not marked · First seen |
| Official MCP Registry | Not listed | Listed Version: 1.21.0 Forks (GitHub): 105 Stars (GitHub): 665 Not marked · First seen |
Each figure is the marketplace's own and is never added up across marketplaces. A marketplace that publishes no figure shows none: no number is not zero.
The facts side by side
| Fact | ast-grep | SonarQube MCP Server |
|---|---|---|
| Marketplaces that list it (differs) | 1 (worse) | 2 (better) |
| Stars (GitHub) (differs) | 5 (worse) | 665 (better) |
| Pulls (Docker Hub) (differs) | 101 322 (worse) | 1 543 661 (better) |
| Forks (GitHub) (differs) | 0 (worse) | 105 (better) |
| Last release | Not published | Not published |
| Where it runs (differs) | On your machine (mcp/ast-grep) | On your machine (docker.io/sonarsource/sonarqube-mcp) |
| Transport | stdio | stdio |
| Tools it declares (differs) | 1 | 25 |
| Environment variables it asks for (differs) | Not published | 3, secrets among them: 3 |
| Licence (differs) | Apache-2.0 | NOASSERTION |
| Repository (differs) | github.com/dgageot/mcp-ast-grep | github.com/sonarsource/sonarqube-mcp-server |
| Changes in the last 7 days | 0 | 0 |
| First seen | 2026-10-11 | 2026-10-11 |
Lines where the two differ have a tinted background and bold values. Where the data itself says which value is better (more marketplaces, a larger figure of the same marketplace, a fresher release, a verified mark on a marketplace that lists both), the better one is also marked green with ▲ and the worse one red with ▼. Where it runs, the transport, the tools, the settings, hooks, the bundle's parts, the licence and the week's changes are marked only as different: more or fewer is not better in itself.
What each says it does
ast-grep
ast-grep is a fast and polyglot tool for code structural search, lint, rewriting at large scale.
SonarQube MCP Server
Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.
How to run each
ast-grep As a local MCP server: Docker image
claude mcp add --transport stdio ast-grep -- docker run -i --rm mcp/ast-grep
SonarQube MCP Server As a local MCP server: Docker image
claude mcp add --env "SONARQUBE_ORG=<YOUR_SONARQUBE_ORG>" --env "SONARQUBE_TOKEN=<YOUR_SONARQUBE_TOKEN>" --env "SONARQUBE_URL=<YOUR_SONARQUBE_URL>" --transport stdio sonarqube-mcp-server -- docker run -i --rm -e SONARQUBE_ORG -e SONARQUBE_TOKEN -e SONARQUBE_URL docker.io/sonarsource/sonarqube-mcp
Requires: SONARQUBE_ORG (secret), SONARQUBE_TOKEN (secret), SONARQUBE_URL (secret)
Commands built only from what the marketplaces declare; the full set for every client is on each card.
Tools each declares
Only ast-grep declares
ast-grep
Only SonarQube MCP Server declares
analyze_code_snippetanalyze_file_listchange_sonar_issue_statuscreate_webhookget_component_measuresget_project_quality_gate_statusget_raw_sourceget_scm_infoget_system_healthget_system_infoget_system_logsget_system_status
Show the remaining 13
list_enterpriseslist_languageslist_portfolioslist_quality_gateslist_rule_repositorieslist_webhooksping_systemsearch_dependency_riskssearch_metricssearch_my_sonarqube_projectssearch_sonar_issues_in_projectsshow_ruletoggle_automatic_analysis
Both declare
None
Tool names as each marketplace publishes them. More tools is not better in itself: compare what each needs for the job.
Settings each asks for
The marketplaces of ast-grep publish no settings it asks for, so we do not compare settings.
What it can do: ast-grep · What it can do: SonarQube MCP Server · Compare two other plugins
Data comes from the Docker MCP Catalog (desktop.docker.com/mcp/catalog) and Docker Hub. Data comes from the Official MCP Registry (registry.modelcontextprotocol.io), CC0 1.0. Figures come from our own regular passes over the marketplaces, last read on . We publish no contact details for plugin publishers.