Leetcode MCP Server

by jinzcdev• 155•• Scanned•Claim this listing•Request removal
Productivity & Workflowaialgorithmlcleetcodellm

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.

Leetcode MCP Server is an open-source mcp server by jinzcdev, written mainly in TypeScript, with 155 GitHub stars and the MIT license. Its code was last updated Oct 18, 2026. The latest npm release is @jinzcdev/leetcode-mcp-server 1.5.1, published Nov 12, 2026, with 763 downloads last week.

Scan summary: scanned Nov 5, 2026 at commit 05bac95. No capabilities flagged by our checks. Scan policy

How to install Leetcode MCP Server

Built from the start command in the project's README: npx -y @jinzcdev/leetcode-mcp-server. Check the README for required keys or settings.

Claude Code · Terminal
claude mcp add leetcode-mcp-server -- npx -y @jinzcdev/leetcode-mcp-server
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "leetcode-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jinzcdev/leetcode-mcp-server"
      ]
    }
  }
}
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "leetcode-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jinzcdev/leetcode-mcp-server"
      ]
    }
  }
}
VS Code · Terminal
code --add-mcp '{"name":"leetcode-mcp-server","command":"npx","args":["-y","@jinzcdev/leetcode-mcp-server"]}'

What Leetcode MCP Server can touch

  • Run shell commandsNot seen in this scan
  • Run dynamic codeNot seen in this scan
  • Read or write filesNot seen in this scan
  • Read environment and secretsNot seen in this scan
  • Control a web browserNot seen in this scan
  • Connect to databasesNot seen in this scan
  • Read or send messagesNot seen in this scan
  • Touch money or tradingNot seen in this scan
  • Connect to the internetNo connections seen while running

"Not seen" means our checks did not find it, and the tool may still do it. Covers commit 05bac95, Nov 5, 2026. See the scan policy.

Before you install Leetcode MCP Server

AgenticMart scanned Leetcode MCP Server on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.

What it can access

  • An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.

Before you install

  1. Pin the version you reviewed instead of always installing the latest release.
  2. Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
  • Maintained by jinzcdev on GitHub, 155 stars and 30 forks. Popularity is not proof of safety.
  • Last code change: Oct 18, 2026.
  • Open-source license: MIT.

Tools Leetcode MCP Server exposes (9)

Listed by the server itself during our scan of commit 05bac95.

  • get_daily_challenge

    Retrieves today's Daily Challenge problem with full description (read-only, no auth). Returns problem details for the current date as JSON. Use get_problem when you know a specific titleSlug; use search_problems to discover problems by filters.

  • get_problem

    Retrieves a single LeetCode problem by titleSlug (read-only, no auth). Returns description, examples, constraints, and metadata as JSON. Use search_problems to find problems by keyword/tag/difficulty; use get_daily_challenge for today's featured problem.

  • search_problems

    Searches LeetCode problems by category, tags, difficulty, and keywords (read-only, no auth). Supports pagination via limit/offset. Returns matching problem list as JSON. Use get_problem when you already know the titleSlug; use this to browse or discover problems.

  • get_user_profile

    Retrieves any user's public profile by username (read-only, no auth). Returns ranking, avatar, bio, submission stats, and platform-specific progress. Use this to look up other users or public stats. Use get_user_status (requires auth) instead to verify the current session user's login state—not for

  • get_recent_submissions

    Retrieves a user's recent submission history on LeetCode Global (read-only, no auth). Includes both accepted and failed submissions. Global only—not available on CN. Use get_recent_ac_submissions for accepted-only results, or get_all_submissions (auth, current user) for paginated full history with f

  • get_recent_ac_submissions

    Retrieves a user's recent accepted (AC) submissions (read-only, no auth). Available on both Global and CN. Use get_recent_submissions (Global only) to include failed attempts, or get_all_submissions (auth, current user) for full paginated history.

  • get_user_contest_ranking

    Retrieves a user's contest ranking and participation history (read-only, no auth). Returns overall rating, ranking, and per-contest performance as JSON. Use get_user_profile for general stats and ranking; use this specifically for contest performance data.

  • list_problem_solutions

    Lists community solution articles for a problem (read-only, no auth). Returns metadata only (topicId)—not full content. Use get_problem_solution with the returned topicId to read the full article. Do not call this when you already have a topicId and need the solution text.

  • get_problem_solution

    Retrieves full content of a community solution article (read-only, no auth). Requires topicId from list_problem_solutions. Returns article text, author, and metadata as JSON. Use list_problem_solutions first to discover solutions and obtain topicId.

Leetcode MCP Server is an open-source mcp server by jinzcdev, written mainly in TypeScript. 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.

At a glance

Stars
155
Forks
30
Language
TypeScript
License
MIT
Created
Apr 2025
Last update
Oct 18, 2026
Type
MCP Server
Price
Free

Topics

aialgorithmlcleetcodellmmcpmcp-server

Questions about Leetcode MCP Server

What is Leetcode MCP Server?

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.

Who maintains Leetcode MCP Server?

Leetcode MCP Server is maintained by jinzcdev on GitHub (jinzcdev/leetcode-mcp-server). AgenticMart lists it from public repository data.

Is Leetcode MCP Server safe to use?

AgenticMart scanned Leetcode MCP Server on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.

What license does Leetcode MCP Server use?

It is published under the MIT license.

Leetcode MCP Server alternatives

View more →

Similar mcp servers in Productivity & Workflow, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Leetcode MCP Server (this page)
jinzcdev
155MITOct 18, 2026Scanned, no flagged issues
N8n MCP
czlonkowski
23kMITOct 27, 2026Scanned, no flagged issues
Trigger Dev
triggerdotdev
17kApache-2.0Oct 31, 2026Scanned, no flagged issues
Skill Seekers
yusufkaraaslan
15kMITSep 30, 2026Scanned, no flagged issues
Windows MCP
CursorTouch
11kMITNov 1, 2026Scanned, no flagged issues
Mobile MCP
mobile-next
10kApache-2.0Oct 30, 2026Scanned, no flagged issues