# LeetCode MCP Server

Access LeetCode problems, user information, and contest data seamlessly. Enhance your AI assistants with fast and efficient queries to LeetCode's extensive resources. Utilize both CLI and programmabl…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add doggybee/mcp-server-leetcode

# Browse available tools
npx -y @smithery/cli@latest tool list doggybee/mcp-server-leetcode

# Get full schema for a tool
npx -y @smithery/cli@latest tool get doggybee/mcp-server-leetcode get-daily-challenge

# Call a tool
npx -y @smithery/cli@latest tool call doggybee/mcp-server-leetcode get-daily-challenge '{}'
```

## Tools (7)

- `get-daily-challenge`
- `get-problem`
- `search-problems`
- `get-user-profile`
- `get-user-submissions`
- `get-contest-details`
- `get-user-contest-ranking`

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get doggybee/mcp-server-leetcode <tool-name>
```

## Resources

- `leetcode://daily-challenge`

---

Source: https://github.com/doggybee/mcp-server-leetcode | License: MIT
