PageGuard MCP logo

PageGuard MCP

Scans local projects and live sites for privacy risks, then generates compliance documents from scan results.

Install PageGuard MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pageguard-mcp": {
      "command": "npx",
      "args": [
        "pageguard-mcp"
      ],
      "env": {
        "PAGEGUARD_API_KEY": "YOUR_VALUE_HERE",
        "PAGEGUARD_API_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 3 tools correctly (8d ago).

Overview

PageGuard MCP MCP server scans local project files and live website URLs for privacy-related technologies, cookies, data collection, and compliance gaps. Local scans inspect package.json, configuration files, and .env files without an API key or network requests. URL scans return risk scoring and gap analysis, while document generation creates AI-written compliance documents from a prior site scan. Use it when an AI coding assistant needs privacy checks during development or review.

Use cases

  • Scan a local project for tracking technologies and cookies
  • Check a live website for privacy compliance gaps
  • Generate privacy documents from a completed site scan
  • Review third-party processors before deployment

Key features

  • Local project privacy scanning
  • Live URL compliance scanning
  • Risk scoring and gap analysis
  • Detection of cookies and tracking technologies
  • AI-written compliance document generation
  • MCP tools for coding assistants

Tools3

What PageGuard MCP lets your agent do. Expand a tool for its parameters.

Verified live~508 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

11/11 checks healthy over the last 56d

What it can do

From the 3 tools this server returned when we ran it.

Handles credentials · 3Makes network requests · 2Read-only tools · 3
Unusual tool instructions. 1 tool description contain text aimed at the AI model rather than at you (reaches for local secrets). Read the tool descriptions before connecting.
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age207 days
Maintainers1

Observed 2026-10-31 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · pageguard-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads120Package downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How PageGuard MCP works

What PageGuard MCP MCP server does

PageGuard MCP MCP server exposes PageGuard’s privacy compliance checks to MCP-compatible AI coding assistants. It covers two scanning paths: a local project inspection and a live website assessment. The local tool looks for privacy-relevant signals in a project’s package.json, configuration files, and .env files. Its report can include detected technologies, data types, cookies, and third-party processors.

The URL tool examines a deployed website and returns a compliance report with a risk score, detected technologies, and identified compliance gaps. A third tool generates AI-written legal compliance documents based on a scan. Supported document choices include privacy policies, terms of service, cookie policies, security guides, accessibility reports, schema markup, and app submission guides, depending on the selected document type.

How it works

The PageGuard MCP MCP server provides three tools over MCP:

  • pageguard_scan_local accepts an optional project path. If no path is supplied, it uses the current working directory. The local scan does not require an API key and does not make network requests.
  • pageguard_scan_url requires a complete website URL, such as https://example.com. It uses the PageGuard service to inspect the live site and returns a scan result containing a scan ID.
  • pageguard_generate_docs requires the scan ID from an earlier URL scan. Its optional documentType selects the document package to generate and defaults to bundle.

URL scanning and document generation require a PageGuard API key. Scanning itself is free, while generated documents consume credits according to the selected package or add-on.

Setup and configuration

Install the server through npx and register it in an MCP client configuration. Claude Code uses a project .mcp.json or a global MCP configuration. Cursor adds the same server definition under MCP Servers, and Windsurf accepts it in its MCP configuration.

A basic configuration starts the server with npx and the pageguard-mcp package. Set PAGEGUARD_API_KEY when using URL scans or document generation. It is optional for local scans. PAGEGUARD_API_URL can override the default API base URL, which is https://www.getpageguard.com.

Tools and capabilities

The local scan is suited to reviewing an in-development project before deployment, especially when its privacy signals are represented in dependencies, configuration, or environment files. The URL scan is suited to checking the behavior and compliance posture of an accessible site. Document generation uses a completed URL scan rather than accepting a site URL directly.

Available document selections include single, bundle, addon_security, addon_a11y, addon_schema, app_bundle, and submission_guide.

Limitations and notes

Local scanning and URL scanning produce reports; they do not automatically modify project files or website code. Document generation requires a scan ID from pageguard_scan_url, so it is not a standalone document-writing tool. Local scans work without credentials, but API-backed features require an account API key. The generated documents are described as AI-written legal compliance documents, so developers should determine whether additional legal review is appropriate for their use case.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about PageGuard MCP

PageGuard MCP is an MCP server that connects AI coding assistants to PageGuard privacy scanning. Its main tools scan local project files, inspect live website URLs for compliance issues, and generate legal documents from a previous URL scan. Local scanning needs no API key or network access; URL scanning and document generation use the PageGuard API.

Install it with an MCP configuration that runs `npx pageguard-mcp`. Claude Code can use a project or global MCP config, while Cursor and Windsurf provide MCP server configuration areas. The repository includes example server definitions for all three clients.

Yes, PageGuard MCP works with Cursor through its MCP Servers settings. Add a server entry that runs `npx` with `pageguard-mcp` as the argument, then configure `PAGEGUARD_API_KEY` if you need URL scanning or document generation.

URL scanning and document generation require `PAGEGUARD_API_KEY`; local scanning does not. The local tool reads the project’s package, configuration, and environment files without making network requests. `PAGEGUARD_API_URL` is optional and changes the API base URL.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPageGuard MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pageguard-mcp?style=directory)](https://allmcps.com/mcp/pageguard-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/pageguard-mcp"><img src="https://allmcps.com/api/badge/pageguard-mcp?style=directory" alt="PageGuard MCP on AllMCPs" /></a>