MCP.so
ログイン

MCP Server LeetCode

@MCP-Mirror

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

MCP-Mirror

MCP Server LeetCode について

Mirror of

MCP Server LeetCode の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "doggybee_mcp-server-leetcode": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@doggybee/mcp-server-leetcode",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Server LeetCode のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is MCP Server LeetCode?

MCP Server LeetCode is a Model Context Protocol (MCP) server that enables AI assistants to access LeetCode problems, user information, and contest data through a set of tools and resources.

How to use MCP Server LeetCode?

Install globally via npm install -g @mcpfun/mcp-server-leetcode and run mcp-server-leetcode. For use with Claude Desktop, add the command to claude_desktop_config.json. Alternatively, import the LeetCodeService class as a library in JavaScript projects.

Key features of MCP Server LeetCode

  • Fast access to the 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

Use cases of MCP Server LeetCode

  • Fetch the daily LeetCode challenge for practice or discussion
  • Search problems by difficulty, tags, and pagination
  • Retrieve detailed information about a specific problem
  • Look up a user’s profile, submissions, and contest rankings
  • Get contest details by slug

よくある質問

1

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`.

2

How do I install MCP Server LeetCode?

Install it globally via `npm install -g @mcpfun/mcp-server-leetcode` or locally with `npm install @mcpfun/mcp-server-leetcode`. It can also be installed through Smithery for Claude Desktop.

3

What resources are available?

Resources include `leetcode://daily-challenge`, `leetcode://problem/{titleSlug}`, `leetcode://problems{?tags,difficulty,limit,skip}`, `leetcode://user/{username}/profile`, `leetcode://user/{username}/submissions{?limit}`, and `leetcode://user/{username}/contest-ranking`.

4

How do I use it with Claude Desktop?

Add an entry to `claude_desktop_config.json` with the command `mcp-server-leetcode` (or a local path for development) under the server name `leetcode`.

5

Does the server require authentication or API keys?

The README does not mention any authentication or API keys; it appears to access public LeetCode data directly.

コメント

「その他」の他のコンテンツ