Sonarqube plugin for Claude Code

Apply SonarQube quality gates and defensive analysis while reviewing changes across supported languages.

How to install the Sonarqube plugin in Claude Code

Select the right project and pull request or branch before using the latest analysis.

  1. Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
  2. Open a new Claude Code session and check the Installed tab in /plugin before using plugin features.
Claude Code · Install in Claude Code
claude plugin install sonarqube@claude-plugins-official

Try 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

Homepage

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

Browse Plugins