LeetCode
Summary
This LeetCode MCP server provides AI assistants with structured access to LeetCode's problem database, user profiles, and contest information through GraphQL queries. Built with TypeScript and the Model Context Protocol SDK, it offers tools for retrieving daily challenges, searching problems by difficulty and tags, accessing user submissions, and fetching contest rankings. The implementation features comprehensive error handling and a modular architecture with clearly defined resources using custom URI schemes. It's particularly useful for developers and coding interview candidates who want to explore LeetCode problems, track their progress, or analyze contest performance through natural language interactions.
Available Actions(7)
get-daily-challenge
Get the daily challenge. Parameters: None
get-problem
Get details for a specific problem. Parameters: titleSlug (string)
search-problems
Search for problems based on criteria. Parameters: tags (optional), difficulty (optional), limit (default 20), skip (default 0)
get-user-profile
Get user information. Parameters: username (string)
get-user-submissions
Get user submission history. Parameters: username (string), limit (optional, default 20)
get-user-contest-ranking
Get user contest rankings. Parameters: username (string)
get-contest-details
Get contest details. Parameters: contestSlug (string)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论