Interactive Leetcode MCP Server

Interactive LeetCode MCP server with authorization and submission capabilities for seamless problem-solving with Claude

Local serverstdioPython

What is the Interactive Leetcode MCP Server?

Interactive LeetCode MCP server with authorization and submission capabilities for seamless problem-solving with Claude

The short version

  • 🔐 AI-guided authentication - Claude walks you through one-time credential setup
  • 🎓 Learning-guided mode - AI provides hints before solutions to maximize learning
  • 📝 Solution submission - Submit code and get instant results
  • 💬 Conversational workflow - Practice naturally with Claude Code
  • 🌍 Multi-language support - Java, Python, C++, JavaScript, TypeScript, and more
  • 📊 Detailed feedback - Runtime stats, memory usage, failed test cases

What it needs from you

  • Node.js v20.x or above - LeetCode account - Any modern web browser (Chrome, Firefox, Safari, Edge, etc.)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ParametersproblemSlug, code, language
Returnsacceptance status, runtime, memory, or failed test case

How to install the Interactive Leetcode MCP Server

{
  "mcpServers": {
    "leetcode": {
      "command": "npx",
      "args": [
        "-y",
        "@sperekrestova/interactive-leetcode-mcp@latest"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js v20.x or above - LeetCode account - Any modern web browser (Chrome, Firefox, Safari, Edge, etc.)

Example prompts to try

  • “Use Interactive Leetcode MCP to Parameters.”
  • “Use Interactive Leetcode MCP to Returns.”
  • “Use Interactive Leetcode MCP to Authorization.”

Frequently asked questions

Interactive LeetCode MCP server with authorization and submission capabilities for seamless problem-solving with Claude Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.