MCP Directory

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
CategoryDeveloper ToolsDeveloper Tools
LanguageJavaC
Transportstdio (local)stdio (local)
AuthAPI keyNone
GitHub stars58616k
Last commit1 day ago12 hours ago
Verified
Actively maintained
Installdocker pull sonarsource/sonarqube-mcpcurl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
RepoOpen 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

Install / run
docker pull sonarsource/sonarqube-mcp

Paste 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

Install / run
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

Paste 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.