development
location
documentation
public
AI
LeetCode
What is A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.?
MCP Server LeetCode provides fast access to LeetCode API, allowing users to search problems, retrieve daily challenges, check user profiles, and query contest data and rankings. It supports both CLI and programmable API, making it versatile for developers.
Documentation
MCP Server LeetCode
A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.
Features
🚀 Fast access to LeetCode API
🔍 Search problems, retrieve daily challenges, and check user profiles
🏆 Query contest data and rankings
🧩 Full support for MCP tools and resources
📦 Provides both CLI and programmable API
Installation# Installing via Smithery
To install mcp-server-leetcode for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @doggybee/mcp-server-leetcode --client claude
Global Installation
npm install -g @mcpfun/mcp-server-leetcode
Once installed, you can run it directly from the command line:
mcp-server-leetcode
Local Installation
npm install @mcpfun/mcp-server-leetcode
Usage# Integration with Claude for Desktop
Add the following to your Claude for Desktop claude_desktop_config.json file: