原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Dsa Coach MCP

作者:aaryagodbole版本 0.2.0i★ –i在你的电脑上运行
注册名称io.github.aaryagodbole/dsa-coach-mcp

安装

概览

作者提供的说明(英文原文)

DSA coach for LeetCode, Codeforces and more: spaced-repetition revision and a mistake journal.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "dsa-coach": {
      "command": "uvx",
      "args": [
        "dsa-coach-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add dsa-coach -- uvx dsa-coach-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "dsa-coach": {
      "command": "uvx",
      "args": [
        "dsa-coach-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "dsa-coach": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dsa-coach-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 aaryagodbole 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18643 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18643 个服务器的 88% 更新
  • 基础检查结果等于或优于此分类中其他 18643 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Dsa Coach MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.0)于5天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Cosas Guapas: buscador de regalos

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

Cosas Guapas: buscador de regalos

Regalos originales por ocasión, persona y presupuesto, con enlaces a guías completas (España).

作者:cosasguapas.com起步阶段今天更新

在云端运行✓ cosasguapas.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

dsa-coach-mcp

An MCP server that turns your LeetCode and Codeforces history into a DSA coach inside Claude, Cursor or any MCP client: see where you stand across platforms, get problems to try next, and revise what you solved on a spaced-repetition schedule, with a mistake journal that remembers *why* you got things wrong and builds your next practice set around it.

A real session, recorded by examples/demo.py : it starts the server over stdio and calls its tools on live data.

Why

Practice data is split across sites, and each grades difficulty its own way (LeetCode's Easy/Medium/Hard, Codeforces' 800-3500 ratings). Most trackers count problems; few tell you what you are forgetting. This server puts both platforms behind one interface and schedules revision with FSRS, so the model you already talk to can coach you.

FSRS predicts the chance you still remember each problem and brings it back just before that chance drops below 90%. In the open spaced-repetition benchmark over ~10k Anki collections, FSRS predicted recall better than SM-2 for the large majority of users. Once you have a review history, personalize_schedule fits its parameters to how fast you forget.

Counting solved problems hides the real signal: the same few mistakes, repeated. Every review can carry the mistakes behind it, and the model turns those patterns into practice sets and revision quizzes aimed at exactly what you keep missing.

Design

The server returns data, not decisions. It never hardcodes what counts as a weak topic or the next level up; the model reads your profile and the platform's own vocabulary and decides.

flowchart LR

Client["MCP client (Claude, Cursor)"] -->|tools| Server["server.py validates against platform vocabulary"] Server --> Registry["platforms/ adapter registry"] Registry --> LC["LeetCodeAdapter GraphQL"] Registry --> CF["CodeforcesAdapter REST"] Server --> SRS["scheduling.py FSRS"] --> Store[("SQLite cards, reviews, mistakes")]

  • Adapters translate one platform's API into shared models (Problem, Profile, PlatformInfo). Nothing outside an adapter names a platform.
  • Data comes from the platforms. Tags and levels are read from each platform's API, and a review takes the problem's title, link and tags from the platform rather than from the model, so nothing in your history is invented. Platforms' own tag lists are incomplete, so search_problems accepts a tag outside them and only reports it when nothing matched.
  • Profiles say what they can't see. Each profile carries limitations, e.g. LeetCode only exposes your 20 most recent accepted submissions publicly.

Tools

ToolWhat it does
list_platformsConnected platforms, with the tags and levels each accepts as filters
get_profileYour level, solved and unsolved counts per tag, and recent submissions
search_problemsProblems with every given tag at a given level, optionally skipping ones you solved
log_reviewRecords how you did (again / hard / good / easy), journals the mistakes behind it, and schedules the next revision with FSRS. Title, link and tags come from the platform
revisions_dueProblems due now, the one you are least likely to remember first, each with FSRS's recall estimate
schedule_infoThe FSRS parameters in use, whether they are personalised, and how many reviews are logged
personalize_scheduleFits FSRS to your own review history (needs dsa-coach-mcp[optimizer])
record_problemRecords a problem from any other platform (HackerRank, GeeksforGeeks, CodeChef, AtCoder, ...) as read from its page
progressPer platform: problems reviewed, reviews logged, and problems due now
show_dashboardProgress, revisions due by risk of forgetting, and a mistake heatmap, as an interactive view in hosts that support MCP Apps
mistake_kindsEvery mistake label used so far, so new mistakes reuse the same words
list_mistakesJournaled mistakes, filterable by label, tag, platform or recent days
mistake_patternsMistake counts per label, broken down by tag, platform and month
Prompts
PromptWhat it does
practice_planBuilds the next practice set from your recurring mistakes and progress
revision_quizQuizzes you on today's revisions using what you got wrong before
Dashboard

show_dashboard is an MCP App: hosts that support them (Claude, Claude Desktop, VS Code Copilot, Goose and others) render it inside the conversation; every other host gets the same data as the tool's result. The view is one self-contained HTML file with no external scripts, follows the host's light or dark theme, and talks to the host over the MCP Apps postMessage protocol.

Rendered from sample data by examples/dashboard_host.py , which plays the host's side of the protocol.

Any platform

LeetCode and Codeforces have adapters that read from their APIs. Every other platform works through the page you are looking at: pair this server with a browser MCP server such as Playwright MCP in extension mode, which lets the model read the tab open in your own browser, logged in. The model reads the problem page and calls record_problem with its URL, title, tags and difficulty; from then on it is reviewed, scheduled and journaled like any other problem.

{

"mcpServers": { "dsa-coach": { "command": "uvx", "args": ["dsa-coach-mcp"] }, "playwright": { "command": "npx", "args": ["@playwright/mcp@latest", "--extension"] } } }

No platform is listed in the code: the platform is the problem URL's host, and its problem id is the URL's path. Problems recorded this way are marked "source": "reported", because they come from a page the model read rather than from the platform's API, and a host that has an adapter is always sent to its adapter.

Mistake journal

There is no fixed list of mistake types. The model labels each mistake in a few words and is shown every label used before, so it reuses yours instead of inventing new ones; your journal's vocabulary grows from your own reviews. The server only stores and counts them; spotting the pattern is the model's job.

You:    Redid Course Schedule. Forgot to detect the cycle again, and used DFS recursion

that would overflow on 10^5 nodes. Claude: (log_review rated "hard" with two mistakes, reusing your existing "missed cycle detection" label) That's the third time cycle detection has slipped on graph problems ...

Install

Requires uv.

Claude Desktop: add to claude_desktop_config.json:

{

"mcpServers": { "dsa-coach": { "command": "uvx", "args": ["dsa-coach-mcp"] } } }

Claude Code:

claude mcp add dsa-coach -- uvx dsa-coach-mcp

Cursor: same command and args as above in .cursor/mcp.json.

Agent skill

skills/dsa-coach/SKILL.md tells the agent when to reach for these tools and how to use them well: how to rate a review, to reuse existing mistake labels, and to record problems from other platforms only from a page it read. For Claude Code, copy it into your skills:

mkdir -p ~/.claude/skills/dsa-coach

curl -fsSL https://raw.githubusercontent.com/aaryagodbole/dsa-coach-mcp/main/skills/dsa-coach/SKILL.md \ -o ~/.claude/skills/dsa-coach/SKILL.md

Configuration
VariableDefaultPurpose
DSA_COACH_DB~/.dsa-coach/coach.dbWhere cards, reviews and mistakes are stored

To personalise the schedule, install the optimizer extra (it pulls in PyTorch): uvx --from 'dsa-coach-mcp[optimizer]' dsa-coach-mcp.

Privacy

No login and no API keys. The server only calls the platforms' public APIs with the handles you give it, and revision cards stay in a local SQLite file.

Adding a platform

  1. Write src/dsa_coach_mcp/platforms/ .py with a class implementing PlatformAdapter: name, describe(), profile() and search().
  2. Add the class to ADAPTERS in platforms/__init__.py.
  3. Add tests with a mocked API, like tests/test_codeforces.py.

The server and tools need no changes.

Evals

Unit tests check the code; evals/ checks whether a model can actually coach with these tools. A model drives the real server over the MCP protocol, against a fixture world (one practice platform, a seeded history, a fixed clock), on tasks such as planning from a profile, logging a review with its mistakes, reusing an existing mistake label, recording a problem from another platform, and staying silent when no tool is needed.

Grading is deterministic, with no LLM judge: each task lists the tool calls it expects with predicates on their arguments, the tools it must not touch, and a call budget. A run reports pass rate, tool-selection accuracy, argument accuracy, tool error rate, calls per task and token usage.

The model is configuration, not code. Any API that speaks the chat completions format works, whether a hosted free tier, a paid API or a model served on your own machine:

EVALS_BASE_URL=<api base url> EVALS_MODEL=<model> EVALS_API_KEY=<key, if needed> \

uv run python -m evals.run

The loop talks to models through a small AgentBackend interface (evals/backends/base.py); an API with a different wire format is one more backend module. Runs never start on their own: run it locally, or start the Agent evals workflow from the Actions tab after setting the EVALS_BASE_URL and EVALS_MODEL repository variables (and an EVALS_API_KEY secret if your API needs one). The graders, the fixture, the loop and the backend are unit-tested in CI without calling any model.

Development

uv sync

uv run pre-commit install uv run pytest uv run ruff check . && uv run ruff format --check . uv run mypy

Re-record the demo at the top of this page against live data:

uv run python examples/demo.py --leetcode <username> --codeforces <handle>

Tests never hit the network: adapters are tested against mocked API responses. See CONTRIBUTING.md.

License

MIT

问 PopNx