Install SonarQube in Claude Code
claude mcp add sonarqube -e SONARQUBE_TOKEN=... -- docker run -i --rm -e SONARQUBE_TOKEN docker.io/sonarsource/sonarqube-mcp{
"mcpServers": {
"sonarqube": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"docker.io/sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the SonarQube MCP server do?
Provides seamless integration with SonarQube Server or Cloud, and enables analysis of code snippets directly within the agent context
Is the SonarQube MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does SonarQube run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add SonarQube to Claude Code?
Run: claude mcp add sonarqube -e SONARQUBE_TOKEN=... -- docker run -i --rm -e SONARQUBE_TOKEN docker.io/sonarsource/sonarqube-mcp
More ai agents & coding agents MCP servers
View allSandBase Harness
sandbaseai/sandbase-harness
Stdio MCP bridge for SandBase Harness agents, sessions, turns, artifacts, and cancellation.
Semgrep
semgrep/mcp
Enable AI agents to secure code with Semgrep.
Iterm
ferrislucas/iterm-mcp
Access iTerm: run commands and ask questions about what is shown in the terminal.
Buoy
Buoy-gg/buoy
Let AI agents read and drive a running React Native or Flutter app through Buoy's devtools.
Oracle3 prediction-market arbitrage checks
YichengYang-Ethan/oracle3-prediction-market-agent
Kalshi and Polymarket data, venue fees, no-arbitrage checks and paper execution for AI agents.
Nova3D
RareSense/Nova3D
Structured, part-aware 3D generation for AI agents. Named-part GLB, preview URL, Blender script.