
PageGuard MCP
Wraps PageGuard's privacy compliance API into three MCP tools: local project scanning that reads package.json and config files to detect trackers and cookies without network calls, URL scanning that checks live sites for GDPR and privacy gaps with risk scoring, and document generation that writes privacy policies, terms of service, and cookie notices based on your scan results. The local scan is free and works offline. URL scanning and doc generation need a PageGuard API key and cost credits per document, ranging from $29 for basic privacy docs to $49 for the full compliance bundle. Install it with npx in Claude Code, Cursor, or Windsurf and you can ask your AI assistant to audit your project's privacy posture or generate the legal docs you need before shipping.
- GitHub stars
- 1
- tools
- 3
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- Apr 7, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
pageguard_scan_localScan a local project directory for privacy-relevant technologies.
Scan a local project directory for privacy-relevant technologies.
No parameter schema in public metadata yet.
pageguard_scan_urlScan a live website URL for privacy compliance issues.
Scan a live website URL for privacy compliance issues.
No parameter schema in public metadata yet.
pageguard_generate_docsGenerate AI-written legal compliance documents for a scanned site.
Generate AI-written legal compliance documents for a scanned site.
No parameter schema in public metadata yet.
Sponsors
Configuration
PAGEGUARD_API_KEYsecretPageGuard API key — required for URL scanning and document generation, optional for local scans
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:
{
"mcpServers": {
"pageguard": {
"command": "npx",
"args": ["pageguard-mcp"]
}
}
}
Cursor
Add to Cursor Settings > MCP Servers:
{
"mcpServers": {
"pageguard": {
"command": "npx",
"args": ["pageguard-mcp"]
}
}
}
Windsurf
Add to your MCP configuration:
Details
- Repository
- github.com/pageguard/pageguard-mcp
- Category
- Data & Analytics
- Package
pageguard-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active