leetcode-mcp-server

leetcode-mcp-server

17

LeetCode MCP Server provides an interface for interacting with LeetCode APIs, enabling features like problem data retrieval and user analysis. It supports both global and Chinese platforms and includes tools for searching problems and accessing user data.

What platforms does the LeetCode MCP Server support?

The server supports both leetcode.com (Global) and leetcode.cn (China) platforms.

Is authentication required to use the server?

Authentication is optional but required for accessing private user data. It can be done using a LeetCode session cookie.

How can I install the LeetCode MCP Server?

You can install it via Smithery using the command npx -y @smithery/cli install @jinzcdev/leetcode-mcp-server --client claude or manually using npm.

What are the prerequisites for running the server?

The server requires a Node.js runtime environment and optionally a LeetCode session cookie for authenticated API access.

How can I integrate the server with Visual Studio Code?

You can integrate it by adding a JSON configuration to your User Settings file, using either environment variables or command line arguments.