MCP Server LeetCode
@doggybee
About MCP Server LeetCode
A Model Context Protocol (MCP) server for LeetCode that provides access to problems, user data, and contest information through GraphQL
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"leetcode": {
"command": "npx",
"args": [
"@mcpfun/mcp-server-leetcode"
],
"env": {}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Server LeetCode?
A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.
How to use MCP Server LeetCode?
Install globally via npm install -g @mcpfun/mcp-server-leetcode or automatically through Smithery for Claude Desktop. Then run the server using the mcp-server-leetcode command. Integration with Claude Desktop requires adding a leetcode entry to claude_desktop_config.json. It can also be used as a Node.js library by importing LeetCodeService.
Key features of MCP Server LeetCode
- Fast access to the LeetCode API
- Search problems by tags, difficulty, and limit
- Retrieve the daily challenge
- Fetch user profiles, submissions, and contest rankings
- Query contest details
- Full support for MCP tools and resources
- Provides both CLI and programmable API
Use cases of MCP Server LeetCode
- Automatically fetch the daily LeetCode challenge for practice
- Search for problems with specific tags or difficulty
- Look up a user’s profile, submission history, or contest ranking
- Get details about an upcoming or past contest
- Integrate LeetCode data into AI‑assisted coding workflows
FAQ from MCP Server LeetCode
How do I install MCP Server LeetCode?
Install globally with npm install -g @mcpfun/mcp-server-leetcode or via Smithery using npx -y @smithery/cli install @doggybee/mcp-server-leetcode --client claude.
How do I integrate MCP Server LeetCode with Claude for Desktop?
Add a leetcode entry to your claude_desktop_config.json with "command": "mcp-server-leetcode" (or point to the local build with node and the path).
What tools does MCP Server LeetCode provide?
Tools include get-daily-challenge, get-problem, search-problems, get-user-profile, get-user-submissions, get-user-contest-ranking, and get-contest-details.
Can I use MCP Server LeetCode as a library?
Yes, import LeetCodeService from the package and call methods like getDailyChallenge() or searchProblems() programmatically.
What runtime dependencies does MCP Server LeetCode require?
It requires Node.js (installed via npm) and depends only on the MCP protocol; no external authentication or database is needed.
Frequently asked questions
How do I install MCP Server LeetCode?
Install globally with `npm install -g @mcpfun/mcp-server-leetcode` or via Smithery using `npx -y @smithery/cli install @doggybee/mcp-server-leetcode --client claude`.
How do I integrate MCP Server LeetCode with Claude for Desktop?
Add a `leetcode` entry to your `claude_desktop_config.json` with `"command": "mcp-server-leetcode"` (or point to the local build with `node` and the path).
What tools does MCP Server LeetCode provide?
Tools include `get-daily-challenge`, `get-problem`, `search-problems`, `get-user-profile`, `get-user-submissions`, `get-user-contest-ranking`, and `get-contest-details`.
Can I use MCP Server LeetCode as a library?
Yes, import `LeetCodeService` from the package and call methods like `getDailyChallenge()` or `searchProblems()` programmatically.
What runtime dependencies does MCP Server LeetCode require?
It requires Node.js (installed via npm) and depends only on the MCP protocol; no external authentication or database is needed.
Basic information
More Other MCP servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
Comments