Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By SonarSource Verified Orgv2.7.0SSAL-1.0In 12 marketplaces
Finds and fixes code quality and security issues in your project before they merge, and checks SonarQube quality gates. Needs a SonarQube account and the sonar CLI; its installed hooks run secrets scanning.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
12 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Made by Sonar
SonarQube is the AI code quality and security verification platform used by millions of developers to catch bugs, vulnerabilities, and leaked secrets. This plugin enforces those standards in the agent coding loop: 7,500+ distinct issue types, secrets scanning, agentic analysis, and quality gates across 40+ languages.
SonarQube combines deterministic checks with AI-assisted workflows so quality rules apply consistently to code from both developers and agents. Where your stack supports it, analysis and secrets scanning can run inside the agent loop instead of only in CI.
The Plugin helps agents connect to SonarQube CLI and SonarQube MCP Server for issue detection, checking project metrics such as test coverage and duplications, fetch dependency risks, etc. Claude Code, Copilot CLI, Codex, Antigravity, Devin, Pi, and OpenCode (through SonarQube CLI) install agent hooks for secrets scanning and, when entitled, Vortex analysis.
How to use: Run /sonarqube:sonar-integrate after installation for guided setup: CLI integration and hooks locally, or a hosted MCP connection in cloud environments. From there, use slash commands like /sonarqube:sonar-quality-gate to check quality gates or interact naturally with prompts like "analyze my code for issues," "show open SonarQube findings," or "check my coverage." With Vortex analysis enabled, verification happens automatically after each edit with no manual invocation required.
sonar) on your machine for local analysis and full integration.For CLI integration, authenticate once with sonar auth login (browser flow; credentials stay in your OS keychain). The CLI-managed MCP server uses that login.
Check auth anytime:
sonar auth status
SonarQube CLI can wire everything for you:
sonar integrate claude # Claude Code: MCP, hooks, secrets scanning, etc.
sonar integrate copilot # GitHub Copilot CLI: MCP, hooks, secrets scanning, etc.
sonar integrate codex # Codex: MCP, hooks, secrets scanning, Vortex analysis hook
sonar integrate antigravity # Antigravity: hooks, instructions, CAG, MCP (after plugin install)
sonar integrate cursor # Cursor: MCP, secret-scanning hooks, Vortex analysis instructions
sonar integrate devin # Devin: MCP, hooks, secrets scanning, Vortex analysis
sonar integrate pi # Pi: MCP, hooks, secrets scanning, Vortex analysis
sonar integrate opencode # OpenCode: MCP, hooks, secrets scanning, Vortex analysis
Run these after sonar auth login. Use the /sonarqube:sonar-integrate skill if you prefer a guided flow (install/update CLI, login, then integrate).
Install from Anthropic's marketplace claude-plugins-official:
/plugin install sonarqube@claude-plugins-official
claude plugin install sonarqube@claude-plugins-official
scripts/setup.js)./sonarqube:sonar-integrate or sonar auth login + sonar integrate claude.sonar auth login by scenario:
| Scenario | Command |
|---|---|
| SonarQube Cloud (EU) | sonar auth login -o <org-key> |
| SonarQube Cloud (US) | sonar auth login -o <org-key> -s https://sonarqube.us |
| SonarQube Cloud (AU) | sonar auth login -o <org-key> -s https://sonarqube.au |
| SonarQube Server | sonar auth login -s <server-url> |
Optional: add sonar-project.properties in the project root with sonar.projectKey, sources, etc.
Plugin bundle: .github/plugin/.
Install sonarqube from the pre-packaged awesome-copilot plugins catalog:
/plugin install sonarqube@awesome-copilot
Run sonar integrate copilot, or invoke the /sonarqube:sonar-integrate skill.
Same workflows as Usage once MCP is connected.
Plugin bundle: .cursor-plugin/.
/add-plugin sonarqube
sonar integrate cursor, or invoke the /sonarqube:sonar-integrate skill.7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub sonarsource/sonarqube-agent-plugins --plugin sonarqube