MCP Directory

LeetCode MCP Server vs Serena

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

 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
Serena

LSP-powered coding agent toolkit: semantic symbol search, references and structural edits.

Verified
stdio (local)
No auth
Python
CategoryDeveloper ToolsDeveloper Tools
LanguageTypeScriptPython
Transportstdio (local)stdio (local)
AuthAPI keyNone
GitHub stars11812k
Last commit3 months ago15 days ago
Verified
Actively maintained
Installnpm install @jinzcdev/leetcode-mcp-server -guvx --from git+https://github.com/oraios/serena serena start-mcp-server
RepoOpen Open

Verdict

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

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

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

Add Serena

Install / run
uvx --from git+https://github.com/oraios/serena serena start-mcp-server

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

{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/oraios/serena",
        "serena",
        "start-mcp-server"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

FAQ

LeetCode MCP Server or Serena — which is better?

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

Can I use both LeetCode MCP Server and Serena?

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 LeetCode MCP Server and Serena work with Claude, Cursor and Windsurf?

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