
Interactive Leetcode Mcp
Connects Claude directly to LeetCode's platform with full authentication, problem fetching, and solution submission. You can search and retrieve problems by slug or daily challenge, submit code in Java, Python, C++, JavaScript, TypeScript and get back runtime stats, memory usage, and failed test cases. Also exposes user profile data, submission history, and contest rankings. The learning mode prompts are a nice touch: Claude walks you through browser cookie extraction for auth, then provides progressive hints before showing solutions. Reach for this when you want to practice coding problems conversationally without leaving your editor, or if you're building an AI tutoring flow around competitive programming.
- GitHub stars
- 12
- tools
- 24
- transport
- STDIO
- last updated
- Sep 15, 2026
Tools
24 toolsPublic tool metadata for what this MCP can expose to an agent.
get_startedReturns the server usage guide, learning flow, authentication flow, and submission language map
Returns the server usage guide, learning flow, authentication flow, and submission language map
No parameter schema in public metadata yet.
start_leetcode_authInitiates authentication flow
Initiates authentication flow
No parameter schema in public metadata yet.
save_leetcode_credentialsValidates and saves your LeetCode credentials
Validates and saves your LeetCode credentials
No parameter schema in public metadata yet.
check_auth_statusChecks if you're authenticated
Checks if you're authenticated
No parameter schema in public metadata yet.
get_daily_challengeFetch today's daily coding challenge
Fetch today's daily coding challenge
No parameter schema in public metadata yet.
get_problemGet detailed problem information by slug
Get detailed problem information by slug
No parameter schema in public metadata yet.
search_problemsSearch problems by difficulty, tags, keywords
Search problems by difficulty, tags, keywords
No parameter schema in public metadata yet.
start_problemOpens or resumes a tutoring session for a problem
Opens or resumes a tutoring session for a problem
No parameter schema in public metadata yet.
request_hintAdvances progressive hint levels for the active session
Advances progressive hint levels for the active session
No parameter schema in public metadata yet.
get_session_stateShows current hint level and session metadata
Shows current hint level and session metadata
No parameter schema in public metadata yet.
reset_sessionResets hint progress for a problem
Resets hint progress for a problem
No parameter schema in public metadata yet.
runner_doctorReports which local runtimes are available for supported languages
Reports which local runtimes are available for supported languages
No parameter schema in public metadata yet.
run_local_testsRuns user code against sample tests in a local subprocess sandbox
Runs user code against sample tests in a local subprocess sandbox
No parameter schema in public metadata yet.
list_problem_solutionsLists community/editorial solution articles for a problem
Lists community/editorial solution articles for a problem
No parameter schema in public metadata yet.
get_problem_solutionFetches a specific solution article
Fetches a specific solution article
No parameter schema in public metadata yet.
submit_solutionSubmit code and get real-time results
Submit code and get real-time results
No parameter schema in public metadata yet.
get_user_profileRetrieve user profile information
Retrieve user profile information
No parameter schema in public metadata yet.
get_recent_submissionsGet submission history with filtering
Get submission history with filtering
No parameter schema in public metadata yet.
get_recent_ac_submissionsGet recent accepted submissions
Get recent accepted submissions
No parameter schema in public metadata yet.
get_user_statusGet authenticated user's status/profile summary
Get authenticated user's status/profile summary
No parameter schema in public metadata yet.
get_problem_submission_reportGet submission report for one problem
Get submission report for one problem
No parameter schema in public metadata yet.
get_problem_progressGet solved/attempted progress for a problem
Get solved/attempted progress for a problem
No parameter schema in public metadata yet.
get_all_submissionsGet paginated submission history
Get paginated submission history
No parameter schema in public metadata yet.
get_user_contest_rankingView contest performance and rankings
View contest performance and rankings
No parameter schema in public metadata yet.
Sponsors
Readme
Interactive LeetCode MCP
Current project is under active development and may not work perfectly
Features
Details
- Repository
- github.com/sperekrestova/interactive-leetcode-mcp
- Category
- Security & Pentesting
- Package
@sperekrestova/interactive-leetcode-mcp- Transport
- STDIO
- Registry
- MCP registry, active