Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿค– Coding Agents
  3. Leetcode MCP Server
Leetcode MCP Server logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 3:20:23 PM

Leetcode MCP Server

User RatingsBe the first to rate and review this MCP server!
View Repository143 GitHub StarsTotal stargazers on GitHub for the source repository (143 stars).Visit Website
leetcodecodingdeveloper-toolsprogramming-practice

Access LeetCode problems, searches, public profiles, submissions, rankings, and community solutions through MCP.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

This server is confirmed live โ€” we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "jinzcdev-leetcode-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jinzcdev/leetcode-mcp-server"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (9) Directory Badge Claim listing Alternatives๐Ÿค– More in Coding Agents

Overview

The jinzcdev/leetcode-mcp-server MCP server exposes LeetCode problem, user, submission, contest, and community-solution data through MCP tools. It supports both leetcode.com and leetcode.cn, with site selection through command-line options or environment variables. Most listed tools are read-only and work without authentication; a LeetCode session cookie enables authenticated, user-specific access. Use it when an MCP client needs to search programming problems, inspect problem details, review public activity, or retrieve solution articles.

Use cases

โ€ขSearch LeetCode problems by difficulty, tag, category, or keyword
โ€ขRetrieve the daily challenge for practice workflows
โ€ขInspect public profiles, rankings, and recent submissions
โ€ขRead community solution articles for a selected problem

Key features

โ€ขSearches problems with filters and pagination
โ€ขRetrieves problem statements and daily challenges
โ€ขSupports leetcode.com and leetcode.cn
โ€ขReads public profiles, rankings, and submissions
โ€ขRetrieves community solution article content
โ€ขSupports stdio and Streamable HTTP transports

Capabilities & Tool Schemas (9) ~1.9k tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Verified live Verified liveCaptured by calling this serverโ€™s live tools/list endpoint.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Leetcode MCP Server.

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 looking up arbitrary users.

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 filters.

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.

How Leetcode MCP Server works

What jinzcdev/leetcode-mcp-server MCP server does

The jinzcdev/leetcode-mcp-server MCP server connects MCP clients to LeetCode's global and China platforms. It provides tools for discovering problems, reading problem statements, checking the daily challenge, inspecting public user data, and retrieving community solution articles.

Problem tools cover three common workflows. search_problems filters problems by keywords, tags, category, and difficulty, with pagination through limit and offset values. get_problem returns a known problem's description, examples, constraints, and metadata using its title slug. get_daily_challenge returns the current day's featured problem.

User-facing read-only tools retrieve public profiles, contest rankings, recent submissions, and recent accepted submissions. Recent submission history is available only on the global site, while accepted-submission lookup works on both supported sites. Community solution access uses a two-step flow: first list articles for a problem to obtain a topic ID, then request the article content with that ID.

How it works

The server communicates with an MCP client using either standard input/output or Streamable HTTP. Stdio is the default and is intended for local client configurations. HTTP mode starts a server that listens on a configured host and port and exposes the MCP endpoint, which defaults to /mcp.

Select the LeetCode deployment with --site global or --site cn; global is the default. Command-line options override matching environment variables. The available configuration covers the site, transport, HTTP port, HTTP host, and endpoint path.

The jinzcdev/leetcode-mcp-server MCP server does not require authentication for the listed problem, public-profile, ranking, recent-submission, or solution-article lookups. Pass a LeetCode session cookie when authenticated access to private or current-user data is needed. The cookie can be supplied with --session or through the LEETCODE_SESSION environment variable.

Setup and configuration

The repository requires Node.js 20 or newer. The documented npm execution path runs the published package with npx:

Terminal
npx -y @jinzcdev/leetcode-mcp-server --site global

For LeetCode China, replace global with cn. To use HTTP transport, add --transport http and optionally set --port, --host, or --endpoint. The project also documents cloning the repository, installing dependencies, building it, and starting node build/index.js locally.

MCP client configuration can pass settings as command-line arguments or environment variables. Supported environment variables include LEETCODE_SITE, LEETCODE_SESSION, LEETCODE_TRANSPORT, LEETCODE_HTTP_PORT, LEETCODE_HTTP_HOST, and LEETCODE_HTTP_ENDPOINT. Session cookies should be treated as sensitive credentials.

Tools and capabilities

The jinzcdev/leetcode-mcp-server MCP server exposes tools for:

  • Finding problems by filters and pagination.
  • Reading complete problem details and the daily challenge.
  • Looking up public profiles and contest performance.
  • Reading recent submissions, including accepted-only history where supported.
  • Listing solution article metadata and retrieving article content.

Results are returned as JSON for the problem, profile, ranking, submission, and solution operations described in the listing. Use a title slug for direct problem retrieval and a topic ID for full solution retrieval.

Limitations and notes

Recent non-accepted submission history is limited to LeetCode Global. Solution listing returns article metadata and topic IDs rather than the article body, so a second tool call is required for full content. Authenticated features depend on a valid LeetCode session cookie and are intended for private or current-user data. The server accesses LeetCode's public and authenticated APIs, so site availability and API behavior may affect results.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Coding Agents View all alternatives
  • MCP Server Leetcode logoMCP Server Leetcode

    An MCP server that enables AI models to search, retrieve, and solve LeetCode problems. Supports metadata filtering, user profiles, submissions, and contest data access.

    ๐Ÿค– Coding Agents3 views
    Compare vs MCP Server Leetcode โ†’
  • Codegraphcontext logoCodegraphcontext

    An MCP server that indexes local code into a graph database to provide context to AI assistants with a graphical code visualizations for humans.

    ๐Ÿค– Coding Agents3 views
    Compare vs Codegraphcontext โ†’
  • Ejentum MCP logoEjentum MCP

    MCP server with reasoning, code, anti-deception, and memory tools for AI agents.

    ๐Ÿค– Coding Agents4 views
    Compare vs Ejentum MCP โ†’
  • Cli MCP Server logoCli MCP Server

    Command line interface with secure execution and customizable security policies

    ๐Ÿค– Coding Agents3 views
    Compare vs Cli MCP Server โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
143
Stargazers on the source repository.
npm downloads
1.4k
Package downloads in the last 30 days.
Last commit
2mo ago
Most recent push to the default branch.
Tools exposed
9
Callable tools this server registers over MCP.
Directory activity
5 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Leetcode MCP Server

With Node.js 20 or newer, run `npx -y @jinzcdev/leetcode-mcp-server --site global`. Use `--site cn` for LeetCode China.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLeetcode MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/jinzcdev-leetcode-mcp-server?style=directory)](https://allmcps.com/mcp/jinzcdev-leetcode-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/jinzcdev-leetcode-mcp-server"><img src="https://allmcps.com/api/badge/jinzcdev-leetcode-mcp-server?style=directory" alt="Leetcode MCP Server on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿค–Coding Agents
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
AuthOther
LicenseMIT
ClientsClaude Desktop, Cursor, Windsurf, Cline / VS Code
Last updatedSep 2, 2026
Views5
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars143
GitHub Star CountTotal stargazers on GitHub representing community popularity (143 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 12, 2026
npm downloads1,395/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
68Quality signal: Great ยท 68/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools30/30
Adoption & activity10/15
Community engagement1/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev ยท @jinzcdev/leetcode-mcp-server (npm)

โ˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿค– Coding Agents โ†’Best MCP servers for Coding Agents โ†’Alternatives to Leetcode MCP Server โ†’Install in Claude DesktopInstall in CursorInstall in VS Code