MCP Directory

codebase-memory-mcp vs SonarQube MCP Server

A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.

 codebase-memory-mcp

Code intelligence engine that indexes repos into a persistent knowledge graph for AI coding agents.

Unverified
stdio (local)
No auth
C
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
CategoryDeveloper ToolsDeveloper Tools
LanguageCJava
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars16k586
Last commit1 month ago1 month ago
Verified
Actively maintained
Installcurl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bashdocker pull sonarsource/sonarqube-mcp
RepoOpen Open

Verdict

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

Pick SonarQube MCP Server if you need the broadest set of tools.

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": []
    }
  }
}

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.

FAQ

codebase-memory-mcp or SonarQube MCP Server — which is better?

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option, and you want zero-setup with no API key. Pick SonarQube MCP Server if you need the broadest set of tools.

Can I use both codebase-memory-mcp and SonarQube MCP Server?

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 codebase-memory-mcp and SonarQube MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.