Back to MCP Servers

Server Leetcode

An MCP server that enables AI models to search, retrieve, and solve LeetCode problems. Supports metadata filtering, user profiles, submissions, and contest data access.

coding-agentsai

Installation

npx -y mcp-server-leetcode

Configuration

{
  "mcpServers": {
    "mcp-server-leetcode": {
      "command": "npx",
      "args": ["-y", "mcp-server-leetcode"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub