doggybee_mcp-server-leetcode

doggybee_mcp-server-leetcode

1

The MCP Server LeetCode is a server that supports the Model Context Protocol to provide AI assistants with access to LeetCode data, including problems, user information, and contest details. It offers fast access via an API and can be used both as a command line tool and as a programmable library.

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.

Global Installation

npm install -g @mcpfun/mcp-server-leetcode

Usage

Integration with Claude for Desktop

Add the server to the claude_desktop_config.json file.

Available Tools

Problem-related Tools

Tool NameDescriptionParameters
get-daily-challengeGet the daily challengeNone
get-problemGet details for a specific problemtitleSlug (string)

User-related Tools

Tool NameDescriptionParameters
get-user-profileGet user informationusername (string)

Contest-related Tools

Tool NameDescriptionParameters
get-contest-detailsGet contest detailscontestSlug (string)

License

MIT