Back to directory
@jinzcdev/leetcode-mcp-server

@jinzcdev/leetcode-mcp-server

@jinzcdev108

An MCP server enabling automated access to LeetCode's problems, solutions, and public data with optional authentication for user-specific features, supporting leetcode.com & leetcode.cn sites.

leetcodemcp-servercontext-protocolcontext

Installation & Configuration

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

Information

Transport
stdio
Language
TypeScript
Created
2025/4/12
Updated
2026/6/8