mcp-server-leetcode

mcp-server-leetcode

3.4

If you are the rightful owner of mcp-server-leetcode 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.

A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.

The MCP Server LeetCode is a specialized server designed to facilitate seamless interaction with LeetCode's vast repository of coding problems, user data, and contest information. It provides a robust interface for AI assistants to access and manipulate LeetCode data efficiently. The server supports both command-line interface (CLI) and programmable API, making it versatile for different use cases. With full support for MCP tools and resources, it allows users to perform a variety of tasks such as searching for problems, retrieving daily challenges, and accessing user profiles and contest rankings. The server is easy to install and integrate with platforms like Claude for Desktop, providing a streamlined experience for developers and AI enthusiasts.

Features

  • Fast access to LeetCode API
  • Search problems, retrieve daily challenges, and check user profiles
  • Query contest data and rankings
  • Full support for MCP tools and resources
  • Provides both CLI and programmable API

Tools

  1. get-daily-challenge

    Get the daily challenge

  2. get-problem

    Get details for a specific problem

  3. search-problems

    Search for problems based on criteria

  4. get-user-profile

    Get user information

  5. get-user-submissions

    Get user submission history

  6. get-user-contest-ranking

    Get user contest rankings

  7. get-contest-details

    Get contest details