This MCP server provides programmatic access to LeetCode's problems, solutions, and public data. It connects to leetcode.com and leetcode.cn, offering optional authentication for user-specific features. Developers use it to automate problem retrieval, solution submission, and data analysis.
This MCP server provides programmatic access to LeetCode's problems, solutions, and public data. It connects to leetcode.com and leetcode.cn, offering optional authentication for user-specific features. Developers use it to automate problem retrieval, solution submission, and data analysis.
npx -y @jinzcdev/leetcode-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"jinzcdev-leetcode-mcp-server-github": {
"command": "npx",
"args": [
"-y",
"npx -y @jinzcdev/leetcode-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from leetcode?"
API Key Required
This server requires an API key from leetcode. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| LEETCODE_API_KEY | Yes | Your leetcode API key |
"What resources are available in leetcode?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in leetcode"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in leetcode with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.