
Speccheck
io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 3, 2026
验证每项规格要求都有对应的 issue、PR 或代码引用,并列出缺口。
AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。
原文描述
Verify every spec requirement is claimed by an issue, PR, or code reference; list gaps.
概览
Speccheck 的本地 MCP 服务;无需登录;STDIO。
暂无 AI 概览:以下信息来自注册中心条目和服务本身。
安装
在 SourceWeft 中
- 打开 控制台中的 Speccheck,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
speccheck
A spec is only as good as the work that actually answers it. Requirements get written, issues get filed, pull requests get merged, code lands — and somewhere in that pile the mapping between "what the spec asked for" and "what claims to have done it" quietly rots. speccheck audits that mapping. You supply the spec's requirements and the claims made against them, and it reports which requirements are covered, which are not, which claims point at requirements that do not exist, and how many claims each requirement collected.
Nothing is fetched. A requirement counts as covered the moment at least one claim names its id; the claiming source can be an issue, a pull request, or a code reference, and duplicate claims each count — three issues claiming the same requirement is a fact worth seeing in the count, not noise to deduplicate. A claim naming an id that no requirement has is dangling: it is echoed back in full, in the order the claims arrived, and it counts nowhere — not toward coverage, not toward any requirement's total. It usually means a renamed requirement or a typo, and either way it is the spec owner's problem to see, not the tool's to guess at.
The verdict compresses the report into one word. If
every requirement is claimed, the spec is
fully_covered. Otherwise the coverage percentage —
covered over total, rounded to the nearest integer —
decides: 80 or above is mostly_covered, 50 or above is
partial, and anything lower is sparse. The counts
always travel with the verdict, so the word never has to
be taken on faith.
Malformed input is a validation error naming the
offending path, with no partial result: requirements
must be a non-empty array of objects each carrying a
non-empty id and text, requirement ids must be
unique (a duplicate is an error naming the id), and
claims must be an array — possibly empty — of objects
each carrying a non-empty requirement_id and
source_ref plus a source_kind of issue, pr, or
code. Unknown extra fields are ignored. The computation
is pure and local: no network, no configuration, and no
repository is read or touched.
CLI
args.json contains the full arguments object:
The result is printed as JSON:
claim_counts carries an entry for every requirement,
including zeros, with keys in the order the requirements
were supplied. Exit codes: 0 on success, 1 on a
runtime error (including an unreadable or invalid input
file, or invalid input), 2 on a usage error.
MCP server
MCP client config:
Tools
-
check_spec_coverage— Verify a spec's requirements are claimed by issues, pull requests, or code, from caller-supplied requirement and claim facts.requirements(array, required, at least 1 item) — the spec's requirements; each item is an object with a non-emptyidandtext, and ids must be uniqueclaims(array, required, may be empty) — claims that an issue, pull request, or code reference addresses a requirement; each item is an object with a non-emptyrequirement_id, asource_kindofissue,pr, orcode, and a non-emptysource_ref
Returns
{covered, uncovered, dangling_claims, claim_counts, coverage_percent, verdict, requirement_count, claim_count}.
Docker
Development
License
MIT — Copyright (c) 2026 Rene Turcios
来源:README.md,提交 d55b3cf
工具
0版本历史
1- v0.1.0最新Nov 3, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分