OlympHill
mcp-server-leetcode logo

mcp-server-leetcode这款服务器将您的 AI 助手连接到 LeetCode,帮助它找到编程问题、追踪日常挑战以及查看用户分数。只需安装该工具、添加到配置中,并开始询问。

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

一个用于 LeetCode 的 Model Context Protocol (MCP) 服务器,提供快速访问 LeetCode API 的功能。它使 AI 助手能够搜索题目、获取每日挑战、查看用户资料,以及查询竞赛数据和排名。该服务器提供 CLI 和可编程 API,并设计为与 MCP 工具和资源配合使用。 要安装服务器,可以使用 Smithery for Claude Desktop 或者全局/本地安装 npm。安装完成后,便可用它获取每日挑战、搜索问题、获取用户资料、查看用户提交历史或获取用户竞赛排名。 此外,服务器提供与题目、用户及比赛相关的工具,并通过 GraphQL 访问题目与用户资源。该项目采用 MIT 许可证,旨在与启用 MCP 协议的 AI 助手(如 Claude for Desktop)无缝协作。 该服务器是开源的,可克隆、安装并在开发模式下运行。可用的工具和资源包括 get-daily-challenge、get-problem、search-problems、get-user-profile、get-user-submission、get-user-contest-ranking、get-contest-details、problem list、user profile、user submissions 和 user contest ranking。

主要功能

  • 问题搜索
  • 日常挑战检索
  • 用户资料查询
  • 比赛数据查询
  • MCP 协议支持

价格

模型
Free
评分
暂无评价

使用场景

人工智能编程助手

将该服务器与编程助手集成,提供 LeetCode 问题和挑战的访问。

自动化 LeetCode 问题解决

使用该服务器自动找到和解决 LeetCode 问题

比赛排名跟踪

使用该服务器跟踪用户比赛排名并提供性能见解

优点 & 缺点

优点

  • LeetCode API 快速访问
  • 搜索问题并检索日常挑战
  • 查询比赛数据和排名

缺点

  • 需要安装和配置
  • 错误处理和支持信息有限

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What are the limitations of this tool?

It requires manual installation and configuration, and documentation provides limited details on error handling and support, which may affect ease of use for some users.

Asked by Freya Solberg · Dec 12, 2025

Does it integrate with other MCP tools?

Yes, mcp-server-leetcode is designed to work with other MCP tools and resources, allowing seamless integration within a larger AI assistant ecosystem.

Asked by Ximenez Alvarado · Oct 7, 2025

What kind of data can the server retrieve from LeetCode?

The server lets you search problems, get daily challenges, look up user profiles and submission history, and query contest data and rankings. All these can be accessed through its CLI or programmable GraphQL API.

Asked by Gunnar Eriksson · Sep 28, 2025

How do I install mcp-server-leetcode?

You can install it using Smithery for Claude Desktop or via npm either globally or locally, depending on your environment. After installation, add it to your config to start using it.

Asked by Jamal Carter · Sep 17, 2025

提问

服务配缩器 的替代品