Loading...
npx -y @smithery/cli install @jinzcdev/leetcode-mcp-server --client claude{
"mcp": {
"servers": {
"leetcode": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@jinzcdev/leetcode-mcp-server"],
"env": {
"LEETCODE_SITE": "global",
"LEETCODE_SESSION": "<YOUR_LEETCODE_SESSION_COOKIE>"
}
}
}
}
}get_daily_challengeRetrieves today's LeetCode Daily Challenge problem.
Read-only access to problem data.
get_problemRetrieves details for a specific LeetCode problem.
Read-only access to problem data.
search_problemsSearches for LeetCode problems with multiple filter criteria.
Read-only access to problem data.
get_user_profileRetrieves profile information for a LeetCode user.
Read-only access to user profile data.
get_user_contest_rankingObtains contest ranking statistics for a user.
Read-only access to contest ranking data.
get_recent_ac_submissionsRetrieves a user's recent accepted submissions.
Read-only access to submission data.
get_recent_submissionsRetrieves a user's recent submissions history.
Read-only access to submission data.
get_user_statusRetrieves current user's current status.
Read-only access to user status data.
get_problem_submission_reportProvides detailed submission analysis for a specific problem.
Read-only access to submission report data.
get_problem_progressRetrieves current user's problem-solving progress.
Read-only access to problem progress data.
get_all_submissionsRetrieves current user's submission history.
Read-only access to submission history data.
search_notesSearches for user notes with filtering options.
Read-only access to note data.
get_noteRetrieves notes for a specific problem by question ID.
Read-only access to note data.
create_noteCreates a new note for a specific problem.
Creates a new note for the user.
update_noteUpdates an existing note with new content.
Updates an existing note for the user.
list_problem_solutionsRetrieves a list of community solutions for a specific problem.
Read-only access to community solutions.
get_problem_solutionRetrieves the complete content of a specific solution.
Read-only access to solution content.
This server is generally safe for read-only operations. Accessing and modifying user notes requires authentication, which introduces a moderate risk if the session cookie is compromised. Ensure proper handling and storage of the session cookie to mitigate potential risks.