OlympHill
mcp-server-leetcode logo

mcp-server-leetcodeThis server connects your AI assistant to LeetCode so it can find coding problems, track daily challenges, and look up user scores. Just install the tool, add it to your config, and start asking about

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

Overview

A Model Context Protocol (MCP) server for LeetCode that provides fast access to LeetCode API. It enables AI assistants to search problems, retrieve daily challenges, and check user profiles, as well as query contest data and rankings. The server offers both CLI and programmable API and is designed to work with MCP tools and resources. To install the server, one can use Smithery for Claude Desktop or npm globally or locally. Once installed, it can be used to get daily challenges, get or search problems, get user profiles, get user submission history, or get user contest rankings. Additionally, the server provides problem-related, user-related, and contest-related tools, as well as problem and user resources that can be accessed through GraphQL. The project uses the MIT license and is designed to work seamlessly with MCP protocol enabled AI assistants like Claude for Desktop. The server is open-source and can be cloned, installed, and run in development mode. Available tools and resources include get-daily-challenge, get-problem, search-problems, get-user-profile, get-user-submission, get-user-contest-ranking, get-contest-details, problem list, user profile, user submissions, and user contest ranking.

Key features

  • Problem search
  • Daily challenge retrieval
  • User profile lookup
  • Contest data querying
  • MCP protocol support

Pricing

Model
Free
Category
MCP Servers
Rating
No reviews yet

Use cases

AI-powered coding assistant

Integrate this server with an AI coding assistant to provide users with access to LeetCode problems and challenges.

Automated LeetCode problem solving

Use this server to automate the process of finding and solving LeetCode problems.

Contest ranking tracking

Utilize this server to track user contest rankings and provide insights on performance.

Pros & Cons

Pros

  • Fast access to LeetCode API
  • Search problems and retrieve daily challenges
  • Query contest data and rankings

Cons

  • Requires installation and configuration
  • Limited information on error handling and support

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

What are the limitations of this tool?

It requires manual installation and configuration, and documentation provides limited details on error handling and support, which may affect ease of use for some users.

Asked by Freya Solberg · Dec 12, 2025

Does it integrate with other MCP tools?

Yes, mcp-server-leetcode is designed to work with other MCP tools and resources, allowing seamless integration within a larger AI assistant ecosystem.

Asked by Ximenez Alvarado · Oct 7, 2025

What kind of data can the server retrieve from LeetCode?

The server lets you search problems, get daily challenges, look up user profiles and submission history, and query contest data and rankings. All these can be accessed through its CLI or programmable GraphQL API.

Asked by Gunnar Eriksson · Sep 28, 2025

How do I install mcp-server-leetcode?

You can install it using Smithery for Claude Desktop or via npm either globally or locally, depending on your environment. After installation, add it to your config to start using it.

Asked by Jamal Carter · Sep 17, 2025

Ask a question

MCP Servers alternatives