OlympHill
L

leetcode-mcp-serverThis server lets your AI assistant search LeetCode problems, run your test code, and check community solutions without leaving your workspace. Add your account cookie to also track daily challenges an

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

The LeetCode MCP Server is a Model Context Protocol (MCP) server that integrates with LeetCode APIs, enabling automation and intelligent interaction with LeetCode's programming problems, contests, solutions, and user data. It allows users to search LeetCode problems, run test code, and check community solutions within their workspace. The server supports both leetcode.com (Global) and leetcode.cn (China) platforms and offers features such as problem data retrieval, user data access, and advanced search capabilities. Users can also track daily challenges by adding their LeetCode session cookie for authenticated API access.

Key features

  • Multi-site Support
  • Problem Data Retrieval
  • User Data Access
  • Advanced Search Capabilities
  • Daily Challenge Access

Pricing

Model
Free
Category
MCP Servers
Rating
No reviews yet

Use cases

AI Assistant

Integrate the LeetCode MCP Server with an AI assistant to search LeetCode problems, run test code, and check community solutions within the workspace.

Automated Workflow

Use the LeetCode MCP Server to automate workflows, such as retrieving problem data, user data, and submission history.

Pros & Cons

Pros

  • Seamless integration with LeetCode APIs
  • Advanced automation and intelligent interaction with LeetCode problems
  • Supports both global and China LeetCode platforms
  • Detailed problem descriptions and constraints
  • User data access and submission history

Cons

  • Requires Node.js (v20.x or above) for installation
  • Optional LeetCode session cookie for authenticated API access
  • Manual configuration required for Visual Studio Code integration

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

What transport modes are available?

The server supports two transport modes: stdio (default) and Streamable HTTP server for web-based integrations.

Asked by Olamide Fashola · Nov 5, 2025

How do I install it?

You can install it via npm using 'npm install @jinzcdev/leetcode-mcp-server' or by cloning the repository and running it locally.

Asked by Priyanka Menon · Oct 14, 2025

What features does it support?

The server supports multi-site support, problem data retrieval, user data access, advanced search capabilities, and daily challenge access.

Asked by Beatriz Costa · Aug 22, 2025

What are the prerequisites?

The LeetCode MCP Server requires Node.js (v20.x or above) for installation. A LeetCode session cookie is optional for authenticated API access.

Asked by Carlos Mendoza · Aug 12, 2025

Ask a question

MCP Servers alternatives