ClaimGate starter kit - set up a publish gate

io.github.caseone115由 GitHub 账号 caseone115 发布v0.1.0更新于 Oct 27, 2026

Set up a publish gate for AI-assisted marketing copy: policy, evidence folder and CI job.

发布方自己的服务:Publish.fun

已验证STDIO仅桌面效率与工作流开发者工具

概览

AI 生成的概览

ClaimGate 入门套件:在本地搭建发布前审核关卡,用自有证据、政策规则和 AI 披露要求检查 AI 辅助撰写的营销文案。

可以做什么
  • 创建入门项目:在指定目录写入政策文件、证据文件夹、草稿模板、发布前检查清单和 GitHub Actions 任务
  • 离线运行审核关卡,无需 API 密钥和网络,仅执行确定性检查
  • 报告无法举证的声明、证据中不存在的数字,以及违反政策规则的内容
  • 将缺失的 AI 披露要求作为草稿属性进行标记
适用场景
适用于借助 AI 撰写营销或面向客户的文案、并希望在发布前进行可重复检查的场景,尤其是 CI 任务或提交前钩子。适合已持有举证材料、希望直接拦截草稿而非事后记录的团队。
运行要求
作为本地进程在用户机器上运行(仅桌面端),以 MCP 捆绑包形式分发。入门套件的离线关卡无需 API 密钥和网络;README 说明完整引擎使用 DEEPSEEK_API_KEY 进行模型判定。证据以文本、Markdown 或 HTML 文件目录或 JSON 数组形式提供。
安装前请注意
它不做事实核查也不联网搜索,只判断你提供的证据是否支持某条声明,并执行你编写的政策,不构成法律意见。入门套件免费,但 README 称完整引擎为一次性付费下载(发布期 39 美元,之后 149 美元)。PyPI 上的同名裸包属于无关项目,应按说明从指定来源安装。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ClaimGate starter kit - set up a publish gate,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ClaimGate

A publish gate for AI-assisted marketing content.

Point it at the copy you are about to publish and the evidence your organisation actually holds. It tells you which claims you cannot substantiate, which of your own policy rules you are breaking, and whether the asset is missing a disclosure the law now requires.

Exit code 1 means blocked. That makes it usable in CI, a pre-commit hook, or a publishing pipeline — which is where a gate stops mistakes instead of documenting them afterwards.

console
$ claimgate check campaign.md --evidence substantiation/ --policy policy.json
Claims requiring substantiation (14)  ✗ [attribution] According to research at a leading university, 94% of finance teams waste more      unsupported: the figure(s) 94% in this claim do not appear in any supplied evidence  ✗ [statistic] thousands of businesses, and we are fully ISO 27001 certified.      contradicted: evidence states "Acme Invoicing is not certified under ISO 27001"  ~ [statistic] Meridian Freight cut their reconciliation time from 22 hours to 9 hours a week      partially_supported: the case study confirms 22 hours and 9 hours, but not "always"      try: Meridian Freight's finance team reduced reconciliation from 22 hours a week to 9
Policy findings (3)  ✗ [prohibited] guaranteed      absolute guarantees are unenforceable and are treated as misleading advertising  ✗ [disclosure] AI disclosure missing      required under EU AI Act Article 50 (in force 2 Aug 2026) and platform labelling rules
BLOCKED — 14 unsupported claim(s), 3 blocking policy finding(s).

Why this exists

Generative AI is now how a large share of marketing copy gets written, and the controls did not scale with it. The recurring finding across 2025–2026 is not that models are bad at writing. It is that a reviewer cannot tell a hallucinated statistic from a real one — there is no grammatical signal that separates them — so hallucinated content passes a casual read. Organisations that scaled AI content without a review gate did not reduce their content risk, they accelerated it.

The existing tools do not close this. Detectors tell you a text was AI-written, which is not the question. Generators produce more copy. Governance platforms tell you at the end of the quarter that you had incidents.

ClaimGate answers the question that actually decides whether an asset can ship: can this specific claim be traced to something we can point at?

The three checks

1. Substantiation. Every checkable claim in the draft is extracted, then adjudicated against your evidence. The important part is how:

  • A number in a claim must appear in the evidence. That is a string search, not a judgement call, and no model gets to overrule it. A fabricated statistic cannot be talked into a pass.
  • Semantic support is decided by a model given only the claim and the evidence, required to name the evidence it relied on, and allowed to answer unsupported or unverified.
  • If the model is unavailable, the key is missing, or the reply is malformed, the verdict is unverified — which blocks. It never fails towards "supported".

2. Policy. Your prohibited and restricted claims, written down once and enforced on every draft: guarantees, medical and financial claims, unsourced superlatives, named competitors, personal data.

3. Disclosure. From 2 August 2026 the EU AI Act (Article 50) requires disclosure of AI-generated content in specified circumstances, and Meta, TikTok and Google each require an AI label on realistic synthetic media in ads. A customer-facing AI-assisted asset with no disclosure is non-compliant however good the copy is — so it is checked as a property of the draft, not left to whoever uploads it.

Install

No dependencies. Python 3.9+.

bash
pip install "claimgate @ git+https://github.com/caseone115/claimgate"

Not a bare pip install claimgate. That name on PyPI belongs to a different, unrelated project (an AI-agent test harness), so the bare name installs that tool, in which claimgate check does not exist. This product installs from its own source repository, which is also where its licence and its tests live. From a checkout, pip install -e . is equivalent.

Start here: the free starter kit

bash
claimgate init my-project && cd my-projectclaimgate check DRAFT-template.md --evidence evidence/ --policy policy.json --no-model

That writes a policy file you can edit, an evidence folder, a blank draft template, a six-question pre-publish checklist (including the AI-disclosure section) and a GitHub Actions job that gates every pull request. --no-model needs no API key and no network: it runs the deterministic checks, and it does catch inventing — a figure that appears in the draft and not in your evidence blocks, whatever wrote it.

The kit is free and stays free: https://github.com/caseone115/claimgate.

The full engine — model adjudication of every claim, JSON output for pipelines, the whole test suite — is a one-off download at https://teeterbot.gumroad.com/l/claimgate/LAUNCH39: US$39 while the launch is running, US$149 after it. It is the same code as this repository, MIT licensed; nothing is held back from the source.

Use

bash
claimgate init my-project                  # the free starter kitclaimgate init-policy policy.json          # a starter policy to editclaimgate claims draft.md                  # just list the claimsclaimgate check draft.md --evidence ./evidence/claimgate check draft.md --evidence evidence.json --policy policy.json --jsonclaimgate check draft.md --no-model        # facts and policy only, no API calls

Evidence is any directory of .txt/.md/.html files, or a JSON array:

json
[{"id": "spec", "title": "Product spec", "text": "..."}, {"id": "case-1", "title": "Meridian case study", "url": "..."}]

Set DEEPSEEK_API_KEY for adjudication. Without it, --no-model still runs the deterministic checks — which is where the fabricated-figure guarantee lives.

What this is not

  • Not a fact-checker. It does not search the web or decide what is true. It decides whether you can substantiate what you wrote, against evidence you supply. That is the question a compliance review actually asks, and it is the only one answerable without pretending to authority the tool does not have.
  • Not a detector. It does not guess whether a text was AI-written.
  • Not a lawyer. It enforces the policy you write. It flags where AI disclosure obligations appear to apply; it does not give legal advice.

Use it from an MCP client

The same checks run as an MCP server, so an agent can gate a draft before it publishes instead of a human remembering to. mcp/server.py needs no install — uv fetches its one dependency. Add this to your client's config:

json
{  "mcpServers": {    "claimgate": {      "command": "uv",      "args": ["run", "--directory", "<repo>/mcp", "<repo>/mcp/server.py"]    }  }}

It exposes check_draft, check_draft_json, list_claims, check_policy_only and about. See mcp/README.md, including what it deliberately refuses to do.

The free starter kit is a second registry entry, io.github.caseone115/claimgate-kit. init_kit writes the policy file, the evidence folder, the checklist and the GitHub Actions job into a directory you name; check_kit then runs that gate offline with no API key. See mcp-kit/.

Tests

bash
python tests/test_claimgate.py     # 55 checks — the enginepython tests/test_outreach.py      # 21 checks — the outreach guardrailspython tests/test_kit.py           # 44 checks — the starter kitpython scripts/test_mcp_server.py  # 19 checks — the MCP server, over real stdio

The suite is written against the product's promises, not its implementation: that no claim is invented, that a number absent from the evidence is never reported as supported, that anything uncheckable blocks, and that the same input always gives the same answer. tests/test_kit.py also runs the shipped README through the shipped policy, because a claim-checking product whose own front page carries a prohibited claim is the worst demonstration there is.

Licence

MIT.

来源:README.md,提交 7b759fb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 1, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Publish 集成