Command-line interface for SonarQube with AI agent integration. Scan for secrets and get fast feedback on code quality and security from your terminal.
https://cli.sonarqube.com/ โ// momentum
// why it's here
- Active: last commit today
// how to help
// readme
SonarQube CLI
SonarQube CLI integrates SonarQube Server and SonarQube Cloud into terminal and AI coding-agent workflows.
To learn more about Sonar products, visit sonarsource.com.
Overview
The SonarQube CLI integrates enterprise-grade static analysis into your development workflow:
- ๐ Secret Detection โ Scan code for hardcoded credentials and prevent secrets from being sent to LLM providers
- โก Fast Feedback Loop โ Get server-side issue detection on your local changes without waiting for CI/CD
- ๐ค AI-Assisted Fixes โ Generate remediation suggestions for security vulnerabilities (SonarQube Cloud)
- ๐ Agent Integration โ Seamless hooks for Claude Code, GitHub Copilot CLI, Codex, Cursor, Antigravity, OpenCode, Devin, and Pi
- ๐ Scriptable โ Query and manage SonarQube issues programmatically with JSON output
Use it standalone or integrate with: Git hooks, Claude Code, GitHub Copilot CLI, Codex, Cursor, Antigravity, OpenCode, Devin, Pi, CI/CD pipelines, custom automation