MCP Directory

JavaLens vs codebase-memory-mcp

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

 JavaLens

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

Unverified
stdio (local)
No auth
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)
AuthNoneNone
GitHub stars3116k
Last commit11 days ago12 hours ago
Verified
Actively maintained
Installnpx -y javalens-mcpcurl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
RepoOpen Open

Verdict

Pick JavaLens if you need the broadest set of tools.

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

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"
      }
    }
  }
}

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

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

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

Can I use both JavaLens 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 JavaLens and codebase-memory-mcp work with Claude, Cursor and Windsurf?

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