How to install the Sonarqube plugin in Claude Code
Select the right project and pull request or branch before using the latest analysis.
- Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
- Open a new Claude Code session and check the Installed tab in /plugin before using plugin features.
claude plugin install sonarqube@claude-plugins-officialTry a first task
Review a patch that failed its quality gate. Link the failing condition to the relevant changed files and compare the gate after fixing one confirmed issue.
Package components
- sonar-analyze
- sonar-coverage
- sonar-dependency-risks
- sonar-duplication
- sonar-fix-issue
- sonar-integrate
- sonar-list-issues
- sonar-list-projects
- sonar-quality-gate
- sonarqube-reviewer
Publisher references
sonar-analyze Analyze a file for quality and security issues using SonarQube
sonar-coverage Find files with low test coverage and inspect uncovered lines in a
sonar-dependency-risks Search for software composition analysis (SCA) dependency
sonar-duplication Find files with code duplications in a SonarQube project and