compliance-checker

v0.4.1
io.github.GuardBee/compliance-checker Checked 1 hour ago Published 1 month ago

KVKK/GDPR/CCPA compliance checks for codebases

An MCP server that runs KVKK (Turkish data protection law), GDPR, and CCPA compliance checks via the GuardBee API, analyzes privacy policies, and compares legal requirements. Three of its tools work without an API key. Get your API key at app.guardbee.ai/developers. The analyze_privacy_policy tool looks for 10 signals in the policy text:

Summary extracted from the README.

@guardbee/mcp-compliance-checker

πŸ‡¬πŸ‡§ English | πŸ‡ΉπŸ‡· TΓΌrkΓ§e | πŸ‡¨πŸ‡³ δΈ­ζ–‡ | πŸ‡―πŸ‡΅ ζ—₯本θͺž | πŸ‡°πŸ‡· ν•œκ΅­μ–΄ | πŸ‡§πŸ‡· PortuguΓͺs | πŸ‡ͺπŸ‡Έ EspaΓ±ol | πŸ‡©πŸ‡ͺ Deutsch

npm version npm downloads License: MIT

An MCP server that runs KVKK (Turkish data protection law), GDPR, and CCPA compliance checks via the GuardBee API, analyzes privacy policies, and compares legal requirements. Three of its tools work without an API key.

Telemetry is off by default. With GUARDBEE_TELEMETRY=1 it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields like content, token or password are replaced with a placeholder. See @guardbee/mcp-telemetry.

A GuardBee API key is required for the check_compliance and get_compliance_findings tools. Get one at app.guardbee.ai/developers.


Features

  • KVKK / GDPR / CCPA Scanning β€” triggers a compliance-focused scan via the GuardBee API and fetches findings
  • Privacy Policy Analysis β€” fetches policy text from a URL; 10 compliance signals, a score (0-100), and a letter grade
  • Cookie Banner Detection β€” detects OneTrust, Cookiebot, Axeptio, and 10+ CMP platforms
  • Requirements Catalog β€” 21 requirements with legal-article references across KVKK (9), GDPR (8), CCPA (4)
  • Framework Comparison β€” common and differing articles across KVKK / GDPR / CCPA
  • Key-Free Tools β€” analyze_privacy_policy, list_requirements, compare_frameworks work offline

Quick Start

npm install -g @guardbee/mcp-compliance-checker

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "guardbee-compliance-checker": {
      "command": "npx",
      "args": ["-y", "@guardbee/mcp-compliance-checker"],
      "env": {
        "GUARDBEE_API_KEY": "gb_..."
      }
    }
  }
}

Get your API key at app.guardbee.ai/developers.


MCP Tools

Tool API Key Description
check_compliance Required Starts a compliance scan (KVKK/GDPR/CCPA) for a URL
get_compliance_findings Required Fetches scan findings, filterable by framework and severity
analyze_privacy_policy No Analyzes a privacy policy URL β€” score, grade, missing clauses
list_requirements No Lists legal requirements for supported frameworks
compare_frameworks No Compares similarities and differences across KVKK, GDPR, and CCPA

Example Usage

You can ask Claude:

"Check example.com's KVKK compliance"

"List GDPR requirements"

"Compare the differences between KVKK and GDPR"

"Analyze the privacy policy at https://example.com/privacy"

Example Output

Privacy Policy Analysis: https://example.com/privacy
──────────────────────────────────────────────────────
Score : 72/100  Grade: C

βœ… Data controller identity disclosed
βœ… Purpose of processing stated
βœ… Retention periods mentioned
βœ… Cookie policy present
❌ Legal basis for processing not stated
❌ Data subject rights not listed (access, erasure, portability)
❌ International transfer safeguards missing
❌ Contact information for DPO missing

Recommendation: Add legal basis statements and data subject rights section.

Supported Frameworks

Framework Requirement Count Scan Scenario
KVKK 9 kvkkFocus
GDPR 8 gdprFocus
CCPA 4 ccpaFocus

Privacy Policy Scoring

The analyze_privacy_policy tool looks for 10 signals in the policy text:

Signal Description
Data controller identity Company/organization name is stated
Purpose of processing Why the personal data is being collected
Legal basis Reference to GDPR Art. 6 / KVKK Art. 5
Retention periods How long the data will be kept
Data subject rights Access, erasure, portability, objection
Contact / DPO How to reach the data controller
Cookie policy Cookies and tracking technologies
Third-party sharing Parties the data is shared with
Security measures Technical/administrative safeguards
International transfer Cross-border transfer safeguards

Grades: A (90-100) Β· B (75-89) Β· C (60-74) Β· D (45-59) Β· F (0-44)


Environment Variables

Variable Description
GUARDBEE_API_KEY GuardBee API key (required for check_compliance and get_compliance_findings)
GUARDBEE_BASE_URL Custom endpoint (default: https://app.guardbee.ai)

Development

npm install
npm test          # unit tests
npm run build     # TypeScript compile

License

MIT β€” GuardBee

Feedback

Questions, ideas, or a false positive? Start a thread in GitHub Discussions or open an issue. If GuardBee is useful to you, a ⭐ on the repository helps others find it.