
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 分