
PageGuard MCP
io.github.pageguard由 GitHub 账号 pageguard 发布v1.0.1更新于 Oct 24, 2026
Privacy compliance scanning for AI coding tools. Detects tracking tech, cookies, and data gaps.
概览
PageGuard MCP 让 AI 编程助手扫描项目和线上网站以检查隐私合规问题,并生成法律文档。
- 可以做什么
- 扫描本地项目目录,从 package.json、配置文件和 .env 文件中检测跟踪技术、Cookie 和第三方数据收集,无需联网或 API 密钥。扫描线上网站 URL 的隐私合规问题,返回风险评分和合规差距分析。基于此前的 URL 扫描结果生成 AI 撰写的法律文档,如隐私政策、服务条款和 Cookie 政策。
- 适用场景
- 适合让助手检查代码库或网站的隐私与跟踪问题,或根据网站扫描结果起草隐私政策及相关法律文档时使用。
- 运行要求
- 通过 npx 在本地运行(需要 Node.js)。本地扫描无需密钥或网络。URL 扫描和文档生成需要环境变量 PAGEGUARD_API_KEY;PAGEGUARD_API_URL 可覆盖 API 基础地址。文档生成需要付费额度。
安装
在 SourceWeft 中
- 打开 控制台中的 PageGuard MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
pageguard-mcp
MCP (Model Context Protocol) server that exposes PageGuard privacy compliance scanning as tools for AI coding assistants. Works with Claude Code, Cursor, Windsurf, ChatGPT, and any MCP-compatible environment.
What it does
- Local scan — Detects tracking technologies, cookies, and third-party data collection from your project's
package.json, config files, and.envfiles. No API key needed, no network requests. - URL scan — Scans a live website for privacy compliance issues including risk scoring and compliance gap analysis.
- Document generation — Generates AI-written legal documents (privacy policy, terms of service, cookie policy, etc.) tailored to your detected technologies.
Installation
Claude Code
Add to your project's .mcp.json or global MCP config:
Cursor
Add to Cursor Settings > MCP Servers:
Windsurf
Add to your MCP configuration:
Environment variables
Tools
pageguard_scan_local
Scan a local project directory for privacy-relevant technologies.
Input:
path(optional) — Absolute path to project directory. Defaults to current working directory.
Output: ComplianceReport JSON with detected technologies, data types, cookies, and third-party processors.
pageguard_scan_url
Scan a live website URL for privacy compliance issues.
Input:
url(required) — Full URL to scan, e.g.https://example.com
Output: ComplianceReport JSON with risk score, detected technologies, and compliance gaps.
pageguard_generate_docs
Generate AI-written legal compliance documents for a scanned site.
Input:
scanId(required) — Scan ID from a priorpageguard_scan_urlresultdocumentType(optional) — One of:single($29),bundle($49),addon_security($19),addon_a11y($19),addon_schema($19),app_bundle($39),submission_guide($19). Defaults tobundle.
Output: Generated document content.
Pricing
Scanning is free. Document generation requires credits:
- Privacy Docs ($29) — Privacy Policy + Terms of Service + Cookie Policy
- Fix Everything ($49) — All docs + Security Guide + Accessibility Report + Schema Markup
- App Bundle ($39) — Privacy docs + App Store Submission Guide
- Add-ons ($19 each) — Security Guide, Accessibility Report, Schema Markup, Submission Guide
- Bulk packs — 5 for $79, 15 for $149, 50 for $349
Get an API key at getpageguard.com/#pricing.
License
MIT
来源:README.md,提交 0561a5f
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分