SonarQube MCP Server vs codebase-memory-mcp
A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.
| SonarQube MCP Server Official SonarQube MCP server: bring code quality, security, and coverage analysis from SonarQube Server or Cloud into AI agents. Unverified stdio (local) API key Java | codebase-memory-mcp Code intelligence engine that indexes repos into a persistent knowledge graph for AI coding agents. Unverified stdio (local) No auth C | |
|---|---|---|
| Category | Developer Tools | Developer Tools |
| Language | Java | C |
| Transport | stdio (local) | stdio (local) |
| Auth | API key | None |
| GitHub stars | 586 | 16k |
| Last commit | 1 day ago | 12 hours ago |
| Verified | ||
| Actively maintained | ||
| Install | docker pull sonarsource/sonarqube-mcp | curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash |
| Repo | Open | Open |
Verdict
Pick SonarQube MCP Server if you need the broadest set of tools.
Pick codebase-memory-mcp if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.
Add SonarQube MCP Server
docker pull sonarsource/sonarqube-mcpPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"sonarqube-mcp-server": {
"command": "docker",
"args": [
"run",
"--init",
"--pull=always",
"-i",
"--rm",
"-e",
"SONARQUBE_TOKEN",
"-e",
"SONARQUBE_ORG",
"sonarsource/sonarqube-mcp"
],
"env": {
"SONARQUBE_TOKEN": "<your-token>",
"SONARQUBE_ORG": "<your-org>"
}
}
}
}Requires Docker to be installed and running.
Add codebase-memory-mcp
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bashPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"codebase-memory-mcp": {
"command": "/path/to/codebase-memory-mcp",
"args": []
}
}
}FAQ
SonarQube MCP Server or codebase-memory-mcp — which is better?
Pick SonarQube MCP Server if you need the broadest set of tools. Pick codebase-memory-mcp if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.
Can I use both SonarQube MCP Server and codebase-memory-mcp?
Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.
Do SonarQube MCP Server and codebase-memory-mcp work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.