MCP Directory

codebase-memory-mcp vs LeetCode 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
LeetCode MCP Server

Integrate LeetCode problems, solutions, contests, and user data into MCP clients, supporting leetcode.com and leetcode.cn.

Unverified
stdio (local)
API key
TypeScript
CategoryDeveloper ToolsDeveloper Tools
LanguageCTypeScript
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars16k118
Last commit1 month ago4 months ago
Verified
Actively maintained
Installcurl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bashnpm install @jinzcdev/leetcode-mcp-server -g
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 LeetCode 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 LeetCode MCP Server

Install / run
npm install @jinzcdev/leetcode-mcp-server -g

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

{
  "mcpServers": {
    "leetcode-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jinzcdev/leetcode-mcp-server"
      ],
      "env": {
        "LEETCODE_SITE": "global",
        "LEETCODE_SESSION": "<YOUR_LEETCODE_SESSION_COOKIE>"
      }
    }
  }
}

FAQ

codebase-memory-mcp or LeetCode 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 LeetCode MCP Server if you need the broadest set of tools.

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

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