leetcode mcp for Cursor
io.github.mrfentmen/leetcode-mcp
LeetCode problem database: list problems by difficulty, search by title.
client:Cursor
transport:stdio
runtime:npm
Install leetcode mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"leetcode-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mrfentmen/leetcode-mcp"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs