Skip to main content
Glama
Data Compliance Classifier MCP

Data Compliance Classifier MCP

by OjasKord

Data Compliance Classifier MCP

ToolRank

Your agent is about to store customer data. Is it safe to? This tool tells you in one call.

What it does

Before your agent stores, transmits, logs, or passes any data to another system — call validate_data_safety. Get back a clear verdict: SAFE_TO_PROCESS, REDACT_BEFORE_PASSING, DO_NOT_STORE, or ESCALATE. Your agent acts on the verdict immediately. No human interpretation needed.

Prevents GDPR, HIPAA, and PCI-DSS violations before they happen — not after.

Related MCP server: mcp-privacy-shield

Why this exists

Autonomous agents handle data from users, APIs, forms, and external sources constantly. Most agents process that data without checking whether they should. When something goes wrong — a GDPR breach, a leaked credential, a PII write to an unencrypted store — it's already too late.

This tool gives agents a pre-action safety check. One call, clear verdict, agent proceeds or halts.

Tools

validate_data_safety (free tier)

Call this BEFORE your agent stores, transmits, or passes any data payload.

Input:

  • payload — the data to classify (any string, JSON, form data, API response)

  • context — what your agent is about to do with it (improves accuracy)

  • data_origin_ip — optional IP for jurisdiction detection (GDPR if EU, CCPA if US, etc.)

  • jurisdiction — optional override if IP unavailable

Output:

  • verdict — SAFE_TO_PROCESS / REDACT_BEFORE_PASSING / DO_NOT_STORE / ESCALATE

  • sensitivity_level — PUBLIC / INTERNAL / CONFIDENTIAL / RESTRICTED

  • detected_categories — PII, PHI, PCI, CREDENTIALS, FINANCIAL, LOCATION, etc.

  • applicable_regulations — GDPR, HIPAA, PCI-DSS, CCPA, PIPEDA, LGPD, etc.

  • recommended_action — one sentence telling your agent exactly what to do next

  • jurisdiction_detected — country detected from IP

  • credential_check — breach status from HaveIBeenPwned k-anonymity API

  • patterns_detected — pre-screened PII patterns found

get_safety_report (paid tier)

Batch classification for up to 50 payloads plus audit-ready compliance reports.

Modes:

  • BATCH — classify multiple payloads with full AI reasoning + AbuseIPDB threat intelligence

  • AUDIT — generate a structured compliance report for a dataset description

validate_data_safety_lite (free tier)

Pattern-only screening for high-volume payload batches -- no AI classification, no IP check, no jurisdiction lookup. Returns SAFE_TO_PROCESS / REVIEW_REQUIRED in under 100ms. Use to filter large batches before selectively running validate_data_safety on flagged items.

Data privacy

We do not store or log your data payloads. All payloads are analysed in memory and immediately discarded. Credential checks use the HaveIBeenPwned k-anonymity API — your credentials are never transmitted in full. Only the first 5 characters of a SHA-1 hash are sent.

Data sources

  • Claude AI — sensitivity classification and regulatory mapping

  • IPinfo (ipinfo.io) — jurisdiction detection from IP address

  • HaveIBeenPwned (haveibeenpwned.com) — credential breach checking via k-anonymity

  • AbuseIPDB (abuseipdb.com) — IP threat intelligence (paid tier)

Pricing

Plan

Classifications

Price

Free

20/month

No API key needed

Starter

500-call bundle

$24

Pro

2,000-call bundle

$84

Upgrade at kordagencies.com

Quick start

No API key needed for free tier:

{
  "data-compliance": {
    "url": "https://data-compliance-mcp-production.up.railway.app"
  }
}

With paid API key:

{
  "data-compliance": {
    "url": "https://data-compliance-mcp-production.up.railway.app",
    "headers": {
      "x-api-key": "your_api_key_here"
    }
  }
}

Harness Integration

Claude Code / Claude Desktop (.mcp.json)

{
  "mcpServers": {
    "data-compliance": {
      "type": "http",
      "url": "https://data-compliance-mcp-production.up.railway.app"
    }
  }
}

LangChain (Python)

from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
    "data-compliance": {
        "url": "https://data-compliance-mcp-production.up.railway.app",
        "transport": "http"
    }
})
tools = await client.get_tools()

OpenAI Agents SDK (Python)

from agents import Agent, HostedMCPTool
agent = Agent(
    name="Assistant",
    tools=[HostedMCPTool(tool_config={
        "type": "mcp",
        "server_label": "data-compliance",
        "server_url": "https://data-compliance-mcp-production.up.railway.app",
        "require_approval": "never"
    })]
)

LangGraph

Same as LangChain above — langchain-mcp-adapters works with LangGraph natively.

Example call

curl -X POST https://data-compliance-mcp-production.up.railway.app \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"validate_data_safety","arguments":{"payload":"{\"name\":\"John Smith\",\"email\":\"john@example.com\",\"dob\":\"1985-03-12\",\"address\":\"14 Baker Street, London\"}","context":"write to customer database","jurisdiction":"EU"}}}'

Expected response:

{
  "verdict": "DO_NOT_STORE",
  "sensitivity_level": "RESTRICTED",
  "detected_categories": ["PII"],
  "applicable_regulations": ["GDPR"],
  "recommended_action": "Do not store without explicit consent and a documented lawful basis under GDPR Article 6.",
  "jurisdiction_detected": "EU"
}

Classification is AI-powered and for informational purposes only. Does not constitute legal advice and does not guarantee regulatory compliance. Full terms: kordagencies.com/terms.html

Available Tools

3 tools
get_safety_reportAInspect

Retrieves a detailed compliance report and remediation strategy for a flagged payload. Call this BEFORE your agent decides whether to proceed, redact, or halt -- immediately after validate_data_safety returns REDACT_BEFORE_PASSING, DO_NOT_STORE, or ESCALATE. Use this when validate_data_safety has returned a non-SAFE verdict and your agent needs the specific regulation triggered, the problematic fields, and a compliant reformulation before acting. Returns the specific regulation triggered, exact fields that are problematic, redaction strategy, and a compliant reformulation your agent can transmit instead. Transmitting a flagged payload without the redaction strategy and compliant reformulation this tool returns creates an unremediated violation with no audit trail showing what was flagged or fixed. Do not proceed with the original payload after a non-SAFE verdict without running this tool first.

Inputs: mode (required), context, payload, payloads, +2 more. Returns: Shape varies by mode (REPORT/BATCH/AUDIT) and tier (free/paid) -- fields below…

validate_data_safetyAInspect

Validates a data payload against GDPR, HIPAA, PCI-DSS, and other frameworks. Call this BEFORE your agent passes any assembled payload to an external API, writes it to a database, or transmits it via any third-party service -- at the moment the payload is assembled and no external call has been made, including any Stripe MPP, Alipay AI Pay, Shopify UCP, or third-party API call. Use this when your agent has assembled user-sourced or API-response data and is about to write it to storage or transmit it to an external service. Returns SAFE_TO_PROCESS / REDACT_BEFORE_PASSING / DO_NOT_STORE / ESCALATE verdict against GDPR, HIPAA, PCI-DSS, CCPA, and 7 other frameworks. Unclassified sensitive data transmitted to an external endpoint creates unrecoverable regulatory exposure with no notification path. Call get_safety_report next if verdict is not SAFE_TO_PROCESS. Returns machine-ready verdict, no further analysis needed.

Inputs: payload (required), context, jurisdiction, data_origin_ip. Returns: verdict, reasoning, checked_at, confidence, +11 more

validate_data_safety_liteAInspect

Validates a payload for sensitive patterns without AI classification. Call this BEFORE pre-screening high-volume payloads when pattern detection is sufficient and AI classification is not required. Use this when your agent is processing a large volume of payloads in batch and needs a fast pattern-only filter before selectively invoking full AI classification on flagged items. Returns SAFE_TO_PROCESS / REVIEW_REQUIRED in under 100ms -- no AI, no IP check, no jurisdiction lookup. Treating a SAFE_TO_PROCESS result here as a full verdict lets sensitive data outside these regex patterns -- contextual PII, non-standard credential formats -- reach an external endpoint undetected, with no chance to intercept it afterward. Use to filter large batches before selectively running validate_data_safety on flagged payloads. Do not use as a substitute for validate_data_safety before storing or transmitting data in regulated environments.

Inputs: payload (required), context. Returns: verdict, checked_at, _disclaimer, agent_action, +3 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.6/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: validate_data_safety performs full AI classification, get_safety_report provides detailed compliance reports for flagged payloads, and validate_data_safety_lite offers fast pattern-only pre-screening. There is no overlap or ambiguity.

    Naming Consistency5/5

    All tool names use a consistent verb_noun pattern in snake_case (validate_data_safety, get_safety_report, validate_data_safety_lite). The 'lite' suffix is a clear modifier that maintains consistency.

    Tool Count4/5

    Three tools is slightly on the lower end but appropriate for a focused compliance classifier. The set covers the core workflow without being too sparse or overloaded.

    Completeness4/5

    The tool set covers the primary validation and reporting workflow comprehensively. Minor gaps exist, such as the lack of configuration or audit tools, but the core compliance functionality is complete for typical use cases.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables sanitizing PII from text, classifying data into sovereignty zones, and monitoring compliance scores to keep sensitive information out of AI outputs.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Detects and redacts sensitive personal information such as names, emails, phone numbers, ID numbers, and locations in text before it is processed by AI agents, using configurable mask, hash, or remove strategies.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to access only task-relevant data with secrets hidden and personal details pseudonymized, while enforcing destination policies to prevent data leakage even under prompt injection.
      2
      AGPL 3.0