Install Sonar in Claude Code
claude mcp add sonar -e SONAR_URL=... -e SONAR_TOKEN=... -- docker run -i --rm -e SONAR_URL -e SONAR_TOKEN ghcr.io/igorolv/sonar-mcp-server:0.1.0{
"mcpServers": {
"sonar": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SONAR_URL",
"-e",
"SONAR_TOKEN",
"ghcr.io/igorolv/sonar-mcp-server:0.1.0"
],
"env": {
"SONAR_URL": "...",
"SONAR_TOKEN": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the Sonar MCP server do?
Read-only access to self-hosted SonarQube Community Build: issues, security hotspots, rules and code snippets so an agent can fix findings locally.
Is the Sonar 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 Sonar run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Sonar to Claude Code?
Run: claude mcp add sonar -e SONAR_URL=... -e SONAR_TOKEN=... -- docker run -i --rm -e SONAR_URL -e SONAR_TOKEN ghcr.io/igorolv/sonar-mcp-server:0.1.0
More developer tools MCP servers
View allspreadsheet-kit
PSU3D0/spreadsheet-mcp
Token-efficient spreadsheet analysis and editing (xlsx/xlsm) with region detection, structured reads, formula and style inspection, forking and recalculation.
skimread
avikchakraborty060-create/The-top-innovation
Lossless context guard for coding agents: outlines large files with line ranges and digests noisy command output (tests, builds, installs), with full output always retrievable. pipx install skimread
Symfony Agent
shakaran/symfony-agent-mcp
Read-only introspection of Symfony codebases: routes, controllers, services, entities, schema, migrations, Doctrine, Messenger, Twig and API Platform.
SigRank SignalAF
SunrisesIllNeverSee/sigrank-mcp
Leaderboard ranking AI coding operators by token efficiency, with signed submissions, diagnostics and simulations; only token counts leave the machine.
Tuning Engines
cerebrixos-org/tuning-engines-cli
Fine-tune open-source LLMs (Qwen, Llama, DeepSeek, Mistral, Gemma) on your data with LoRA, QLoRA or full fine-tuning, plus cost estimation and S3 export.
Ros 2
wise-vision/mcp_server_ros_2
ROS 2 integration for AI-driven robotics applications and services.