MCP Directory

Context7 MCP Server vs LeetCode MCP Server

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

 Context7 MCP Server

Up-to-date, version-specific library documentation injected into your coding agent.

Verified
stdio (local)
API key
TypeScript
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
LanguageTypeScriptTypeScript
Transportstdio (local)stdio (local)
AuthAPI keyAPI key
GitHub stars28k118
Last commit2 months ago4 months ago
Verified
Actively maintained
Installnpx -y @upstash/context7-mcpnpm install @jinzcdev/leetcode-mcp-server -g
RepoOpen Open

Verdict

Pick Context7 MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

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

Add Context7 MCP Server

Install / run
npx -y @upstash/context7-mcp

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

{
  "mcpServers": {
    "context7-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ],
      "env": {
        "CONTEXT7_API_KEY": "<optional-your-context7-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>"
      }
    }
  }
}

FAQ

Context7 MCP Server or LeetCode MCP Server — which is better?

Pick Context7 MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option. Pick LeetCode MCP Server if you need the broadest set of tools.

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

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