Model Context Protocol server for LeetCode using GraphQL
Model Context Protocol server for LeetCode using GraphQL. The leetcode mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 7 defined tools rather than through you.
A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.
The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Everything the assistant can do here goes through one of these:
get-daily-challenge — Get the daily challengeget-problem — Get details for a specific problemsearch-problems — Search for problems based on criteriaget-user-profile — Get user informationget-user-submissions — Get user submission historyget-user-contest-ranking — Get user contest rankingsget-contest-details — Get contest detailsAmong the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Leetcode's toolset — get-daily-challenge, get-problem, search-problems and 4 more — is a fair guide to whether it matches your workflow. It is maintained by doggybee; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Leetcode's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get-daily-challenge | Get the daily challenge |
| get-problem | Get details for a specific problem |
| search-problems | Search for problems based on criteria |
| get-user-profile | Get user information |
| get-user-submissions | Get user submission history |
| get-user-contest-ranking | Get user contest rankings |
| get-contest-details | Get contest details |
{
"mcpServers": {
"leetcode": {
"command": "mcp-server-leetcode"
}
}
}Configuration as documented by the project. Restart the client after saving.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.