AHM215/LeetCode-MCP
If you are the rightful owner of LeetCode-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The LeetCode MCP Server is an MCP-compatible server that provides tools to interact with the LeetCode API, enabling users to automate tasks such as fetching problems, generating code templates, and submitting solutions.
Tools
Functions exposed to the LLM to take actions
fetch_problem_plain_text
Fetches the plain text content of a LeetCode problem given its URL.
generate_template
Generates a language-specific code template for a given LeetCode problem.
run_code
Executes code against the example test cases for a LeetCode problem.
submit_code
Submits code for a LeetCode problem for evaluation against the full test suite.
get_daily_challenge
Retrieves today's LeetCode Daily Challenge problem.
get_problem
Retrieves details about a specific LeetCode problem.
search_problems
Searches for LeetCode problems based on various filters.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client