Home / MCP servers / Developer tools / leetcode-mcp-server

leetcode-mcp-server

leetcode-mcp-server is a MCP server by jinzcdev that access LeetCode problems, solutions, submissions and public data, with optional login for user features such as notes; supports the global and China sites.

Updated 2026-07-12

What is leetcode-mcp-server?

leetcode-mcp-server is a MCP server by jinzcdev that access LeetCode problems, solutions, submissions and public data, with optional login for user features such as notes; supports the global and China sites. It is listed under Developer tools and has 154 GitHub stars.

TypeMcp server
Authorjinzcdev
Repositoryjinzcdev/leetcode-mcp-server
Popularity154 GitHub stars
CategoryDeveloper tools
SecurityReview before installing (68/100)
Rank#488 of 4,418 MCP servers; #137 in Developer tools
LicenseMIT
Last commit2026-07-12
RunsCloud service
LanguageTypeScript

Is leetcode-mcp-server safe to install?

leetcode-mcp-server scores 68/100 on the MCPMods security check: Review before installing. Things to review: sends your data to a cloud service; executes code or shell commands. It passed 2 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Sends your data to a cloud serviceReview
Needs an API key or account loginNote
Read-only by descriptionPass
Executes code or shell commandsReview
Source on GitHubPass

How do I install leetcode-mcp-server?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/jinzcdev/leetcode-mcp-server
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add leetcode-mcp-server -- <command from README>
    claude mcp add --transport http leetcode-mcp-server <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs leetcode-mcp-server for you:

Add the "leetcode-mcp-server" MCP server from https://github.com/jinzcdev/leetcode-mcp-server to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.