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.
| Type | Mcp server |
|---|---|
| Author | jinzcdev |
| Repository | jinzcdev/leetcode-mcp-server |
| Popularity | 154 GitHub stars |
| Category | Developer tools |
| Security | Review before installing (68/100) |
| Rank | #488 of 4,418 MCP servers; #137 in Developer tools |
| License | MIT |
| Last commit | 2026-07-12 |
| Runs | Cloud service |
| Language | TypeScript |
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.
| Check | Result |
|---|---|
| Community-built server | Note |
| Sends your data to a cloud service | Review |
| Needs an API key or account login | Note |
| Read-only by description | Pass |
| Executes code or shell commands | Review |
| Source on GitHub | Pass |
How do I install leetcode-mcp-server?
- 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
- 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>
- 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.