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.
Overview
What is LeetCode MCP Server?
The LeetCode MCP Server is a Model Context Protocol (MCP) server that integrates with LeetCode APIs, allowing for advanced automation and intelligent interaction with LeetCode's programming problems, contests, solutions, and user data.
How to use LeetCode MCP Server?
To use the LeetCode MCP Server, install it via npm and run the server with the desired configuration. You can also integrate it with Visual Studio Code for enhanced functionality.
Key features of LeetCode MCP Server?
- Multi-site support for leetcode.com and leetcode.cn
- Detailed problem data retrieval including descriptions and examples
- Access to user data such as profiles and submission history
- Advanced search capabilities for filtering problems
- Daily challenge tracking
Use cases of LeetCode MCP Server?
- Automating problem retrieval and submission processes.
- Analyzing user performance in contests.
- Facilitating daily coding challenges.
FAQ from LeetCode MCP Server?
- What platforms does it support?
It supports both leetcode.com and leetcode.cn.
- Is authentication required?
Authentication is optional but recommended for accessing private user data.
- What programming languages are supported?
The server supports multiple programming languages as specified in the LeetCode API.