Skip to content
Claude Code

leetcode mcp for Claude Code

io.github.mrfentmen/leetcode-mcp

LeetCode problem database: list problems by difficulty, search by title.

client:Claude Code transport:stdio runtime:npm

Install leetcode mcp in Claude Code

run in your project directory

claude mcp add leetcode-mcp -- npx -y @mrfentmen/leetcode-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

leetcode mcp in other clients