doggybee/mcp-server-leetcode
A Model Context Protocol (MCP) server for LeetCode that provides access to problems, user data, and contest information through GraphQL
Platform-specific configuration:
{
"mcpServers": {
"mcp-server-leetcode": {
"command": "npx",
"args": [
"-y",
"mcp-server-leetcode"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://www.npmjs.com/package/@mcpfun/mcp-server-leetcode) [](https://github.com/doggybee/mcp-server-leetcode/blob/main/LICENSE) [](https://github.com/doggybee/mcp-server-leetcode/releases) [](https://smithery.ai/server/@doggybee/mcp-server-leetcode)
A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.
To install mcp-server-leetcode for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @doggybee/mcp-server-leetcode --client claudenpm install -g @mcpfun/mcp-server-leetcodeOnce installed, you can run it directly from the command line:
mcp-server-leetcodenpm install @mcpfun/mcp-server-leetcodeAdd the following to your Claude for Desktop claude_desktop_config.json file:
{
"mcpServers": {
"leetcode": {
"command": "mcp-server-leetcode"
}
}
}For local development:
{
"mcpServers": {
"leetcode": {
"command": "node",
"args": ["/path/to/dist/index.js"]
}
}
}import { LeetCodeService } from '@mcpfun/mcp-server-leetcode';
// Initialize Loading reviews...