leetcode-mcp-server

leetcode-mcp-server

3.5

If you are the rightful owner of leetcode-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The LeetCode MCP Server is a Model Context Protocol server that integrates with LeetCode APIs for advanced automation and interaction with LeetCode's resources.

The LeetCode MCP Server is designed to facilitate seamless integration with LeetCode's APIs, providing users with advanced automation capabilities and intelligent interaction with LeetCode's programming problems, contests, solutions, and user data. It supports both global and Chinese LeetCode platforms, allowing users to retrieve detailed problem data, access user profiles, and analyze submission details. The server also offers advanced search capabilities, enabling users to filter problems by various criteria such as tags, difficulty levels, and keywords. Additionally, it provides access to daily challenge problems, making it a comprehensive tool for LeetCode enthusiasts and developers looking to enhance their problem-solving skills.

Features

  • Multi-site Support: Supports both leetcode.com (Global) and leetcode.cn (China) platforms.
  • Problem Data Retrieval: Obtain detailed problem descriptions, constraints, examples, official editorials, and user-submitted solutions.
  • User Data Access: Retrieve user profiles, submission history, and contest performance.
  • Private Data Access: Create and query user notes, track problem-solving progress, and analyze submission details (AC/WA analysis).
  • Advanced Search Capabilities: Filter problems by tags, difficulty levels, categories, and keywords.

Tools

  1. get_daily_challenge

    Retrieves today's LeetCode Daily Challenge problem.

  2. get_problem

    Retrieves details for a specific LeetCode problem.

  3. search_problems

    Searches for LeetCode problems with multiple filter criteria.

  4. get_user_profile

    Retrieves profile information for a LeetCode user.

  5. get_user_contest_ranking

    Obtains contest ranking statistics for a user.