Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
problem-categories | A list of all problem classification categories in LeetCode platform, including difficulty levels (Easy, Medium, Hard) and algorithmic domains. These categories help organize and filter coding problems for users based on their complexity and topic area. Returns an array of all available problem categories. |
problem-tags | A detailed collection of algorithmic and data structure tags used by LeetCode to categorize problems. These tags represent specific algorithms (like 'dynamic-programming', 'binary-search') or data structures (such as 'array', 'queue', 'tree') that are relevant to solving each problem. Returns an array of all available problem tags for filtering and searching problems. |
problem-langs | A complete list of all programming languages officially supported by LeetCode for code submission and problem solving. Returns an array of all available programming languages on the platform. |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_daily_challenge | Retrieves today's LeetCode Daily Challenge problem with complete details, including problem description, constraints, and examples |
get_problem | Retrieves details about a specific LeetCode problem, including its description, examples, constraints, and related information |
search_problems | Searches for LeetCode problems based on multiple filter criteria including categories, tags, difficulty levels, and keywords, with pagination support |
get_user_profile | Retrieves profile information about a LeetCode user, including user stats, solved problems, and profile details |
get_recent_submissions | Retrieves a user's recent submissions on LeetCode Global, including both accepted and failed submissions with detailed metadata |
get_recent_ac_submissions | Retrieves a user's recent accepted (AC) submissions on LeetCode Global, focusing only on successfully completed problems |
get_user_contest_ranking | Retrieves a user's contest ranking information on LeetCode, including overall ranking, participation history, and performance metrics across contests |
list_problem_solutions | Retrieves a list of community solutions for a specific LeetCode problem, including only metadata like topicId. To view the full content of a solution, use the 'get_problem_solution' tool with the topicId returned by this tool. |
get_problem_solution | Retrieves the complete content and metadata of a specific solution, including the full article text, author information, and related navigation links |