a year ago
developer-toolsA Model Context Protocol (MCP) server for LeetCode that provides access to problems, user data, and contest information through GraphQL
Overview
what is LeetCode MCP Server?
LeetCode MCP Server is a Model Context Protocol (MCP) server that provides structured access to LeetCode problems, user data, and contest information through GraphQL queries.
how to use LeetCode MCP Server?
To use the LeetCode MCP Server, install the dependencies, build the project, and run the server. You can then interact with the server using various tools to access problems, user profiles, and contest details.
key features of LeetCode MCP Server?
- Access to LeetCode problems, user information, and contest data
- Structured access through MCP tools and resources
- Comprehensive error handling
- Modular architecture with various tools for problem, user, and contest data
use cases of LeetCode MCP Server?
- Retrieving daily challenge problems from LeetCode.
- Accessing detailed information about specific problems.
- Fetching user profile and submission history.
- Getting contest details and user rankings.
FAQ from LeetCode MCP Server?
- What programming language is used for the server?
The server is implemented using TypeScript.
- How can I install the server?
You can install it by running
npm installafter cloning the repository.
- Is there a clean installation script available?
Yes, you can use the provided
clean-install.shscript for a fresh setup.