A tutorial and working MCP server that connects to your LeetCode profile, enabling AI assistants to check solved problems and recommend new ones by topic and difficulty.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.LEETCODE_SESSION— and LEETCODE_CSRF (optional but recommended) → theseLEETCODE_CSRF— LEETCODE_SESSION and (optional but recommended) → theseLEETCODE_USERNAME— → your username from leetcode.com/u/<username>/.[](https://m8ven.ai/mcp/akshaya-cp-leetcode-mcp-1plhj6)