Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Wraps the MasteryTrace CLI as a single generic MCP tool for skill-mastery tracking.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"masterytrace": {
"command": "uvx",
"args": [
"masterytrace-cli",
"masterytrace-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add masterytrace -- uvx masterytrace-cli masterytrace-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"masterytrace": {
"command": "uvx",
"args": [
"masterytrace-cli",
"masterytrace-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"masterytrace": {
"type": "stdio",
"command": "uvx",
"args": [
"masterytrace-cli",
"masterytrace-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 RudrenduPaul 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.4)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Intervals MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Remote MCP server for intervals.icu run data and analysis
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MasteryTrace ships as two independent, equally first-class packages that implement the same two models (BKT, 2PL IRT) and the same CLI contract.
npm (TypeScript CLI + library):
npm install -g masterytrace-cli
Requires Node.js 18 or later.
pip (Python CLI + library): a full, independent Python port of this repo's TypeScript source lives in python/ -- same two models, same CLI contract, its own 75-test pytest suite, built and verified end to end from a real wheel install.
pip install masterytrace-cli
This installs the same four subcommands (init, record, score, report) as a masterytrace console script, plus an importable masterytrace library, a genuine, independent port of this repo's TypeScript source, not a wrapper around the Node binary. See python/README.md for Python-specific usage.
[!NOTE]
The npm and pip distributions return equivalent data but with different JSON key casing (
camelCasefrom the TypeScript CLI,snake_casefrom the Python CLI). Account for this if you parse output from both in the same pipeline.
theta) per learner and item difficulty/discrimination per skill. Run either or both with --model bkt|irt|both.masterytrace-cli, TypeScript) and the PyPI package (masterytrace-cli, Python) are a real line-for-line port of each other, not a Python wrapper around the Node binary; this audit ran the same 58-event sample through both and got identical mastery scores.--json flag, report also takes --format markdown, and there's a real three-value exit code contract (0 success, 1 usage error, 2 bad event data) instead of a single generic failure code.theta, item difficulty, and item discrimination..masterytrace/ directory next to where you run the CLI. Scoring 100,000 events takes under a second on a single core.masterytrace init
masterytrace record events.json masterytrace score masterytrace report
init scaffolds a sample events.json (3 learners, 3 skills, several responses each) and a default masterytrace.config.json in the current directory. Real output from that flow:
$ masterytrace init
Created: events.json, masterytrace.config.json Next: run 'masterytrace record events.json' to load it, then 'masterytrace score'.
$ masterytrace record events.json Stored 58 event(s) to /path/to/.masterytrace/events.json (record replaces any previously stored event log; see --help for details.)
$ masterytrace score Scored 58 event(s) with model(s): both Wrote /path/to/.masterytrace/scores.json
$ masterytrace report learner skill model metric value responses
learner-ada fractions bkt posterior_mastery_probability 0.9994 6 learner-ada fractions irt ability_theta 0.7349 6 learner-ada linear-equations bkt posterior_mastery_probability 0.9746 7 learner-brook fractions bkt posterior_mastery_probability 0.0612 6 learner-cyrus reading-comprehension bkt posterior_mastery_probability 0.9947 7 ...
[!WARNING]
masterytrace recordalways replaces the entire previously stored event log; there is no append mode. If you need to add new responses without losing existing ones, merge them into one file and re-runrecordwith the full, combined log.
report also takes --format markdown or --format json, and every command accepts a global --json flag for machine-readable output on stdout, with a real exit code contract (0 success, 1 general/usage error, 2 bad event data) so a script or agent invoking this CLI can branch on the result without parsing text.
Your own event log is a JSON array of { learnerId, skillId, correct, timestamp } objects, or a CSV with header learner_id,skill_id,correct,timestamp. timestamp must be ISO 8601; correct is a boolean (JSON) or true/false/1/0 (CSV), and any other value in a CSV correct cell is rejected as a validation error rather than silently treated as false. Event log files over 100 MB are rejected up front with a clear error; event logs are small structured records and have no legitimate reason to approach that size.
| Command | Arguments | Options | Does |
|---|---|---|---|
masterytrace init | --force | Scaffolds a sample events.json and masterytrace.config.json in the current directory. Skips files that already exist unless --force is passed. | |
masterytrace record | : JSON or CSV event log | Validates an event log and stores it to .masterytrace/events.json. Always replaces any previously stored log. | |
masterytrace score | --model (default both) | Fits and scores the stored event log, writing the result to .masterytrace/scores.json. | |
masterytrace report | --format (default table) | Reads .masterytrace/scores.json and prints a per-learner, per-skill mastery table. |
Global option: --json forces machine-readable JSON on stdout for any command, overriding --format on report.
Exit codes: 0 success, 1 general or usage error (bad flag, missing file), 2 validation error (the event log itself is malformed).
MasteryTrace ships a Model Context Protocol (MCP) server, so an agent (Claude Desktop, Claude Code, or any other MCP client) can invoke the CLI directly instead of shelling out itself.
Install the Python package with the mcp extra:
pip install "masterytrace-cli[mcp]"
Then point an MCP client at the masterytrace-mcp console script. Claude Desktop config example (claude_desktop_config.json):
{
"mcpServers": { "masterytrace": { "command": "masterytrace-mcp" } } }
The server exposes a single tool, run(args: list[str]) -> dict, which shells out to the installed masterytrace CLI with the given argument list and returns its parsed output -- any subcommand or flag the CLI supports is reachable through it. Example call: run(["score", "--model", "bkt", "--json"]) fits a BKT model against the stored event log and returns the parsed JSON mastery report.
Everything below is exported from masterytrace-cli's package entry point (src/index.ts, re-exporting src/core/* and src/models/*):
import {
// Event schema and validation ResponseEventSchema, parseResponseEvents, EventValidationError, type ResponseEvent,
// Shared model types type ScoringModel, type FittedModel, type MasteryReport, type MasteryLearnerEntry, type MasterySkillEntry,
// Engine: runs one or both models runScoring, type ModelSelector, type EngineConfig, type EngineResult,
// BKT BktModel, BKT_DEFAULT_PARAMS, runForwardRecursion, fitSkillParamsByGridSearch, type BktParams, type BktConfig, type BktFittedModel,
// IRT IrtModel, probabilityCorrect, type IrtItemParams, type IrtLearnerResult, type IrtConfig, type IrtFittedModel,
// Generic JSON/CSV event log adapter genericAdapter, parseCsv, type EventAdapter, } from 'masterytrace-cli';
A minimal library usage example:
import { runScoring, parseResponseEvents } from 'masterytrace-cli';
const events = parseResponseEvents([ { learnerId: 'l1', skillId: 'fractions', correct: true, timestamp: '2026-01-01T00:00:00Z' }, { learnerId: 'l1', skillId: 'fractions', correct: false, timestamp: '2026-01-02T00:00:00Z' }, ]);
const { reports } = runScoring(events, 'both'); // reports[0].model === 'bkt', reports[1].model === 'irt' // each learner's report.learners[i].skills[j].value is the mastery estimate
BktModel and IrtModel both implement the same ScoringModel interface (fit(events) then score(fittedModel)), so the engine, and your own code, can treat them interchangeably.
MasteryTrace implements two independent psychometric models. They answer different questions and produce different kinds of numbers, so masterytrace score --model both runs them side by side rather than picking one.
BKT models one learner's mastery of one skill as a hidden binary state (knows it / does not know it yet) and updates a probability of "knows it" after every response, using four parameters:
pInit: probability the learner already knows the skill before any evidence.pTransit: probability of learning the skill between one attempt and the next.pSlip: probability of an incorrect answer despite knowing the skill.pGuess: probability of a correct answer despite not knowing the skill.For each response, the forward recursion first updates the belief given the observed outcome (Bayes' rule), then advances it for possible learning before the next attempt:
after correct: P(know | obs) = P(know) * (1 - pSlip) / [P(know) * (1 - pSlip) + (1 - P(know)) * pGuess]
after incorrect: P(know | obs) = P(know) * pSlip / [P(know) * pSlip + (1 - P(know)) * (1 - pGuess)] P(know)_next = P(know | obs) + (1 - P(know | obs)) * pTransit
MasteryTrace runs this recursion per learner per skill, in chronological order, and reports the final posterior as that learner's mastery probability for that skill. If you set "bkt": { "fit": true } in masterytrace.config.json, each skill's four parameters are fit from your own data by a coarse grid search (7 x 7 x 5 x 5 candidate combinations) that minimizes squared error between predicted and observed correctness, instead of using the textbook defaults (pInit=0.4, pTransit=0.3, pSlip=0.1, pGuess=0.2).
IRT models one continuous learner ability (`theta
只显示了开头部分;其余内容请在仓库中阅读