leetcode-mcp-server
v1.5.1MCP Server for LeetCode API (supports leetcode.com and leetcode.cn)
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add leetcode-mcp-server -- npx -y @jinzcdev/leetcode-mcp-server@1.5.1Add to
claude_desktop_config.json{
"mcpServers": {
"leetcode-mcp-server": {
"args": [
"-y",
"@jinzcdev/leetcode-mcp-server@1.5.1"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"leetcode-mcp-server": {
"args": [
"-y",
"@jinzcdev/leetcode-mcp-server@1.5.1"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"leetcode-mcp-server": {
"args": [
"-y",
"@jinzcdev/leetcode-mcp-server@1.5.1"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.leetcode-mcp-server]
command = "npx"
args = ["-y", "@jinzcdev/leetcode-mcp-server@1.5.1"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_daily_challenge, get_problem, search_problems, get_user_profile, get_recent_submissions, get_recent_ac_submissions, get_user_contest_ranking, list_problem_solutions, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json