mcp-audit-rgpd
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
API Audit RGPD & EU AI Act
πͺπΊ Commercial Micro-API β Automated GDPR & EU AI Act compliance auditing for any public website, monetized via the x402 payment protocol (0.25 USDC on Base network).
β¨ What It Does
This API performs a 100% local, zero-cost compliance audit of any public website against:
Regulation | Checks |
GDPR (Art. 7, 13, 14, 32) | HTTPS encryption, third-party trackers, cookie consent (CMP), privacy policy, legal notices |
ePrivacy Directive | Trackers loading without prior consent |
EU AI Act (Art. 50) | Generative AI tools detected without transparency disclosure |
French LCEN | Legal notices (mentions lΓ©gales) presence |
Returns a JSON report with a compliance score out of 100, detected risks, and prioritized recommendations.
Related MCP server: eu-reg-mcp
π° Pricing & Payment
Field | Value |
Price | 0.25 USDC per audit |
Network | Base (mainnet) or Base Sepolia (testnet) |
Protocol | x402 β HTTP-native micropayments |
Wallet |
|
The API follows the x402 standard: the client receives a 402 Payment Required response with payment instructions, pays on-chain, and retries the request with proof.
π Quick Start
Prerequisites
Node.js 18+
An x402-compatible wallet with USDC on Base (for paid usage)
Install & Run
git clone https://github.com/votre-org/api-audit-rgpd
cd api-audit-rgpd
npm install
cp .env.example .env # Edit NETWORK and WALLET_ADDRESS if needed
npm startThe server starts at http://localhost:3000.
Environment Variables
NETWORK=base-sepolia # base | base-sepolia
WALLET_ADDRESS=0xB1b0...4c # Your receiving wallet
PRICE_USDC=0.25 # Price per audit
PORT=3000 # HTTP portπ‘ API Reference
GET / β Free Manifest
Returns a JSON description of the API (pricing, endpoints, MCP server info). No payment required.
curl http://localhost:3000/Response:
{
"name": "API Audit RGPD & EU AI Act",
"version": "1.0.0",
"pricing": { "amount": 0.25, "currency": "USDC", "network": "base-sepolia", "protocol": "x402" },
"endpoints": [...]
}GET /api/audit?url=https://... β Paid Audit (0.25 USDC)
Audits a public website for GDPR & EU AI Act compliance.
Without payment β 402 Payment Required with x402 instructions.
With x402 payment header β Full JSON audit report.
# Without payment (shows 402 + payment info)
curl "http://localhost:3000/api/audit?url=https://www.example.com"
# With x402 payment (using an x402-compatible client)
x402-client "http://localhost:3000/api/audit?url=https://www.example.com"Parameters:
Param | Type | Required | Description |
| string | β | Full URL to audit (must start with |
Response Fields:
Field | Type | Description |
| string | Final URL after redirects |
| boolean | Whether HTTPS is active |
| string[] | List of third-party trackers found |
| boolean | Whether a cookie consent platform was found |
| string[] | Named CMPs detected (Axeptio, Didomi, etc.) |
| boolean | Privacy policy link found |
| boolean | Legal notices found |
| boolean | Generative AI tools detected |
| string[] | Named AI tools detected |
| number | Compliance score (0β100) |
| string[] | List of detected risks with regulation references |
| string[] | Prioritized action items |
| string | ISO 8601 audit date |
| number | Analysis duration in milliseconds |
Example response (Wikipedia):
{
"url_auditee": "https://www.wikipedia.org/",
"https_detecte": true,
"trackers_detectes": [],
"cmp_detecte": false,
"politique_confidentialite": true,
"mentions_legales": false,
"ia_generative_detectee": false,
"score_conformite": 65,
"risques_detectes": ["π΄ Aucune CMP / bandeau de consentement cookies dΓ©tectΓ©"],
"recommandations_prioritaires": ["ImplΓ©menter une CMP..."],
"timestamp": "2024-01-15T10:30:00.000Z",
"duree_ms": 450
}π MCP Server (Claude Desktop / Cursor / Continue)
This project ships as a Model Context Protocol (MCP) server, letting any MCP client (Claude Desktop, Cursor, Continue.dev, etc.) call the audit as a native tool.
Configure in Claude Desktop
Add to ~/.config/claude-desktop/claude_desktop_config.json:
{
"mcpServers": {
"audit-rgpd": {
"command": "node",
"args": ["/path/to/api-audit-rgpd/mcp-server.js"],
"env": {
"NETWORK": "base-sepolia",
"WALLET_ADDRESS": "0xB1b0f5a198D1a8344d32172f29D73fa3FaA74B4c"
}
}
}
}Available MCP Tool
Tool | Description |
| Audit any URL for GDPR & EU AI Act compliance. Returns full JSON report with score and recommendations. |
π What Gets Detected
Third-Party Trackers
Google Analytics (GA4), Google Tag Manager, Meta Pixel, TikTok Pixel, Hotjar, DoubleClick, LinkedIn Insight, Twitter/X Pixel, Criteo, HubSpot, Segment, Mixpanel, Amplitude, Intercom.
Cookie Consent Platforms (CMPs)
Axeptio, Didomi, Cookiebot, OneTrust, Tarteaucitron, TrustArc, Quantcast CMP, Usercentrics, CookieYes, Iubenda.
Generative AI Tools (EU AI Act Art. 50)
OpenAI widget, Intercom AI (Fin), Crisp, Drift, Tidio, Zendesk AI, Botsify, ManyChat, Cohere, Anthropic/Claude.
ποΈ Architecture
api-audit-rgpd/
βββ index.js # Express server + x402 middleware
βββ mcp-server.js # MCP stdio server
βββ lib/
β βββ auditor.js # Core audit engine (100% local, 0 β¬ cost)
βββ test-client.js # Test suite (npm test)
βββ .env # Configuration
βββ README.mdZero external API cost: The audit engine uses only Node.js built-in modules and Cheerio for HTML parsing. No LLM calls, no paid APIs. Server cost = β¬0 per request.
π§ͺ Testing
npm testRuns 3 test suites:
GET /β Valid JSON manifest with correct pricing fieldsGET /api/auditβ HTTP 402 without payment (x402 response format)Live audit of
https://www.wikipedia.orgβ Valid report structure
π Scoring Methodology
Criterion | Points |
β HTTPS enabled | +20 |
β CMP / cookie banner present | +20 |
β Privacy policy linked | +20 |
β Legal notices present | +15 |
β Zero third-party trackers | +25 |
β Trackers without consent (per 2 trackers) | -10 (max -30) |
β Generative AI without transparency notice | -10 |
βοΈ Legal Disclaimer
This tool provides automated indicative analysis only. It does not constitute legal advice. For full GDPR compliance, consult a qualified DPO (Data Protection Officer) or legal counsel.
π License
MIT Β© 2024 API Audit RGPD
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
AI search crawler, llms.txt, Schema.org, OpenAPI & email MX/SPF/DMARC audits via MCP and x402.
AI governance MCP server for EU AI Act compliance and jurisdiction verification
Programmatic web-scraping MCP server powered by x402 micro-transactions on Base.
Remote MCP server exposing 330 production AI-agent services for web/data processing, validation, AI utilities, blockchain/crypto utilities, and x402 pay-per-use access.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for AI compliance auditing. Scores agent outputs for hallucination liability under the EU AI Act, issues verifiable compliance stamps, and tracks audit history by agent.MIT
- AlicenseAqualityBmaintenanceAn MCP server that gives AI agents cited, review-gated grounding in EU regulation.5MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the x402 protocol that lets AI agents discover and call payment-gated HTTP APIs automatically.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides GDPR compliance scanning for websites via the MCP protocol, with pay-per-call using x402 micropayments.MIT