
ClauseKeeper Compliance Scanner
io.github.mityda由 GitHub 账号 mityda 发布v0.1.1更新于 Oct 24, 2026
Scan website legal docs for missing or stale compliance clauses. Rule-based, no LLM.
概览
一个本地运行的规则式扫描器,让助手检查网站法律或政策文本中缺失或过期的合规条款。
- 可以做什么
- 扫描粘贴的政策或法律文本,返回评分、等级、计数、分类以及缺失或过期条款清单
- 抓取指定网址、去除 HTML 后按同样方式扫描可见文本
- 列出内置的条款规则及其分类
- 适用场景
- 适合需要快速、确定性地检查隐私政策、服务条款等法律文档是否缺少或过时条款的场景,可直接使用粘贴的文本或线上页面地址,而不依赖大模型的判断。
- 运行要求
- 作为本地 stdio 进程运行,从 PyPI 安装 clausekeeper-mcp 并用 uvx 或 uv 启动;README 中的宿主配置指向本地 mcp 目录的绝对路径。未声明需要 API 密钥、账号或环境变量。仅网址扫描工具需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 ClauseKeeper Compliance Scanner,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ClauseKeeper MCP Server
mcp-name: io.github.mityda/clausekeeper
clausekeeper-mcp exposes ClauseKeeper's deterministic compliance scanner as Model Context Protocol (MCP) tools for Claude Desktop, Cursor, and other MCP hosts.
It is a thin wrapper around a vendored copy of the real ClauseKeeper scanner in clausekeeper_core/scanner.py and rule library in clausekeeper_core/clause_rules.py:
- no LLM calls
- no API keys
- no paid services
- stdio transport via the official Python
mcpSDK
Tools
scan_policy_text(text: str)— scans pasted policy/legal text with the vendored ClauseKeeper scanner and returns the score, grade, counts, categories, and missing/stale clause checklist.scan_policy_url(url: str)— fetches a URL, strips HTML with ClauseKeeper'shtml_to_text, then scans the visible text.list_clause_rules()— returns the vendored clause rules and categories.
Run locally
From the main ClauseKeeper repository:
uv run creates/uses the local project environment and installs the mcp SDK dependency automatically. Because this is a stdio MCP server, uv run clausekeeper-mcp waits for an MCP client on stdin/stdout.
You can also install it into an explicit virtual environment:
Or run it directly:
MCP host configuration
Use an absolute path to this mcp directory.
Claude Desktop
Add this to your Claude Desktop MCP configuration file:
Cursor or other MCP hosts
Use the same server definition in your MCP settings:
If your host does not support uv --directory, use the installed console script from a virtual environment instead:
Keeping the vendored scanner in sync
The clausekeeper_core/ package is vendored from the main app's app/scanner.py and app/clause_rules.py so the MCP package is self-contained for PyPI/registry installs. When the scanner or clause rules change in app/, update the matching vendored files here and re-run the MCP self-containment and parity checks.
Publishing metadata
No server.json is included here because the current OSS MCP Community Registry / GitHub MCP Registry metadata format should be confirmed against the registry documentation at publication time. When publishing, add the registry-required metadata file with the package name, description, license, repository URL, runtime command, and tool list.
Main project
See the main ClauseKeeper project at ../README.md.
来源:mcp/README.md,提交 7e78caa
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分