Leetcode MCP Server logo

Leetcode MCP Server

Verified

by jinzcdev

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.

Set up this server

01 / Choose your client

02 / Before you connect

Authentication is not specified. Check the project instructions before connecting.

Install the runtime required by the project and make it available to your client.

Project instructions

Use names from the project instructions, separated by commas. Enter names only, never secret values.

03 / Add the configuration

Source: generated from public install instructions

claude mcp add --transport stdio 'leetcode-mcp-server' -- 'npx' '-y' '@jinzcdev/leetcode-mcp-server' '--site' 'global'

Run in your terminal after replacing any placeholders.

04 / Check it in your client

Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.

aialgorithmlcleetcodellmmcpmcp-server

More in AI & ML

Browse the full directory

Badge

Show this listing on your README and website

You are one of MCPVault's first 100 verified servers: verified for good, badge or no badge. Put it on your README or site if you want a live Verified proof link for visitors.

Security profile

Exposure: Minimal

Stays within its own process: at most external requests and local configuration.

What this server can reach, from a static read of the shipped code. Nothing was executed and nothing here is a verdict: a browser tool has to run commands and an API wrapper has to call its API. Decide what fits your setup.

NVIDIA SkillSpector v2.11.0, MCPVault MCP-server policy. Scanned 4 days ago @ 05bac95.

Detected

Nothing in the shipped code matched a capability pattern.

Not detected: reads environment variables in bulk, sends conversation content outward, runs shell commands, reads or writes other agents' configuration, accesses credential files, uses elevated privileges, installs itself to run later, matches a known malicious pattern.

Dependencies with known advisories

  • brace-expansion 2.1.2 High, CVE-2026-102276, CVE-2026-14257, CVE-2026-102277
  • body-parser 2.3.0 High, CVE-2026-111181
  • brace-expansion 1.1.16 High, CVE-2026-102276, CVE-2026-14257, CVE-2026-102277
  • fast-uri 3.1.3 High, CVE-2026-110725, CVE-2026-75931, CVE-2026-18446
  • ip-address 10.2.0 High, CVE-2026-54272, CVE-2026-101910, CVE-2026-69198
  • js-yaml 4.3.0 High, CVE-2026-84375, GHSA-5P4M-2WFM-XMQJ
  • @hono/node-server 1.19.14 Low, GHSA-FRVP-7C67-39W9, CVE-2026-118663
  • @humanfs/node 0.16.6 Low, GHSA-P498-V437-472G

4 more in the owner dashboard.

Left out of the profile

42 pattern matches in documentation, configuration or CI files were recorded but are not part of the profile, because they do not run when the server does. The owner dashboard lists them.

How the profile works Maintainers see file, line and a fix for each item in their dashboard.
9Tools reported by the last successful handshake

19 of 19 tools · Observed tool names: 9/9

Observed tool names (9)

Reported by a complete handshake for the current saved configuration. Tools were listed, not invoked.

· 1.3.0

get_daily_challengeget_problemget_problem_solutionget_recent_ac_submissionsget_recent_submissionsget_user_contest_rankingget_user_profilelist_problem_solutionssearch_problems

Documented tools (19)

From project documentation. A server handshake does not verify each tool’s description or behavior.

Tool change history

Compared across complete checks of the same configuration. Tools were listed, not invoked. Input-schema changes are not measured here.

  1. Nov 9, 2026, 03:24 AM UTC

    Compared with Nov 2, 2026, 03:23 AM UTC

    No tool-name changes

  2. Nov 2, 2026, 03:23 AM UTC

    Compared with Oct 25, 2026, 03:22 AM UTC

    No tool-name changes

  3. Oct 25, 2026, 03:22 AM UTC

    Compared with Oct 18, 2026, 02:23 AM UTC

    No tool-name changes

  4. Oct 18, 2026, 02:23 AM UTC

    Compared with Oct 10, 2026, 02:23 AM UTC

    No tool-name changes

  5. Oct 10, 2026, 02:23 AM UTC

    Compared with Sep 30, 2026, 02:23 AM UTC

    No tool-name changes

FAQ

Questions about Leetcode MCP Server

How do I connect Leetcode MCP Server to Claude?
Run `claude mcp add leetcode-mcp-server -- npx -y @jinzcdev/leetcode-mcp-server --site global` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
Is Leetcode MCP Server free?
The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
What can Leetcode MCP Server do?
Leetcode MCP Server documents 19 tools to the agent, including create_note, get_all_submissions, get_daily_challenge. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.