MCP Directory

codebase-memory-mcp vs JavaLens

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
JavaLens

Compiler-accurate Java code analysis for AI agents, built on Eclipse JDT with 75 semantic tools.

Unverified
stdio (local)
No auth
Java
CategoryDeveloper ToolsDeveloper Tools
LanguageCJava
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars16k31
Last commit1 month ago2 months ago
Verified
Actively maintained
Installcurl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bashnpx -y javalens-mcp
RepoOpen Open

Verdict

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option.

Pick JavaLens 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 JavaLens

Install / run
npx -y javalens-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "javalens": {
      "command": "npx",
      "args": [
        "-y",
        "javalens-mcp"
      ],
      "env": {
        "JAVA_PROJECT_PATH": "/path/to/your/java/project"
      }
    }
  }
}

FAQ

codebase-memory-mcp or JavaLens — which is better?

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option. Pick JavaLens if you need the broadest set of tools.

Can I use both codebase-memory-mcp and JavaLens?

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 JavaLens work with Claude, Cursor and Windsurf?

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