Free toolGenerate .mcp.json configs for Claude Code, Cursor & Codex →
SonarQube logo

SonarQube for AI coding agents

Testing & code quality · www.sonarsource.com

Claude Code fit
4/5
Visit site →

Official Anthropic-marketplace plugin with 10 skills (no bundled MCP server).

Automatically enforce SonarQube code quality and security in the agent coding loop — 7,000+ rules, secrets scanning, agentic analysis, and quality gates across 40+ languages. PostToolUse hooks run analysis after every file edit. Pre-tool secrets scanning prevents 450+ patterns from reaching the LLM. Slash commands give on-demand access to quality gate status, coverage, duplication, and dependency risks. Includes SonarQube CLI, MCP Server, skills, hooks, and slash commands.

How SonarQube works in each agent

Scores appear only after we verify them, with a source and date. Methodology

Agent-Ready
4.2/5
AgentScoreMCPRemote / OAuthSkill / pluginVerified
C Claude Code 4/5 No Unknown Yes Oct 16, 2026
X OpenAI Codex Not verified.
▲ Cursor Not verified.
G GitHub Copilot Not verified.
A Google Antigravity 5/5 Yes Unknown Yes Oct 16, 2026

Setup by agent

Claude Code
/plugin install sonarqube@claude-plugins-official

Source: https://code.claude.com/docs/en/discover-plugins

Trust: Official Listed in Anthropic's official plugin marketplace

Evidence

Bundled skills (10)

sonar-analyzesonar-coveragesonar-dependency-riskssonar-duplicationsonar-fix-issuesonar-integratesonar-list-issuessonar-list-projectssonar-quality-gatesonar-triage-dependency-risks

Checked plugin files at https://github.com/SonarSource/sonarqube-agent-plugins (.mcp.json / plugin.json mcpServers; skills/*/SKILL.md), Oct 16 2026

Claude Code support

Plugin
Yes
Official marketplace
Yes
MCP server
No
Skills
Yes · 10