Data Compliance Classifier MCP

io.github.OjasKord由 GitHub 帳號 OjasKord 發布v1.0.25更新於 Oct 24, 2026

Classify data safety before storing or sharing. GDPR, HIPAA, PCI-DSS, CCPA. AI-powered.

發布方自己的服務:classifier.dev

已驗證Streamable HTTP可網頁執行安全與監控資料與分析

概覽

AI 產生的概覽

檢查資料內容中的個人、健康、支付與憑證資訊,在代理儲存或分享前回傳合規判定。

可以做什麼
依 GDPR、HIPAA、PCI-DSS 等框架檢驗資料,回傳判定、敏感等級、偵測到的類別與適用法规,可選依 IP 判斷司法管轄區並檢查憑證是否外洩。為被標記的資料取得詳細合規報告與改善建議。對大批資料做僅樣式比對的快速篩選,不做 AI 分類與 IP 查詢。付費版可批次分類並產出稽核式合規報告。
適用情境
適用於代理處理客戶、健康、支付或憑證資料,並希望在寫入資料庫、記錄日誌或傳送給第三方 API 之前先做檢查的情境。輕量工具適合批次預篩,報告工具適合決定要繼續、去識別化還是中止。
執行需求
可作為遠端 HTTP 端點執行,也可作為本機 npm 套件透過 stdio 執行。免費版不需 API 金鑰,付費版使用 x-api-key 標頭。本機套件需要 ANTHROPIC_API_KEY,可選用 ABUSEIPDB_API_KEY 取得威脅情報。需要能連線該端點及其上游服務的網路。
安裝前請注意
資料會傳送到第三方服務,並進一步傳給 Claude AI、IPinfo、HaveIBeenPwned 與 AbuseIPDB;README 表示不儲存、不記錄資料,但敏感資料仍會離開你的環境。付費方案需要花費,README 也說明分類僅供參考,不構成法律意見,也不保證合規。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Data Compliance Classifier MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.OjasKord%2Fdata-compliance-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

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

README

[smithery badge]

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.

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

PlanClassificationsPrice
Free20/monthNo API key needed
Starter500-call bundle$24
Pro2,000-call bundle$84

Upgrade at kordagencies.com

Quick start

No API key needed for free tier:

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

With paid API key:

json
{  "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)

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

LangChain (Python)

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

OpenAI Agents SDK (Python)

python
from agents import Agent, HostedMCPToolagent = 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

bash
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\":\"[email protected]\",\"dob\":\"1985-03-12\",\"address\":\"14 Baker Street, London\"}","context":"write to customer database","jurisdiction":"EU"}}}'

Expected response:

json
{  "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"}

Legal

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

來源:README.md,提交 3a35de1

工具

3

validate_data_safety

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.

輸入參數contextpayload必填jurisdictiondata_origin_ip

get_safety_report

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.

輸入參數mode必填contextpayloadpayloadsjurisdictiondataset_description

validate_data_safety_lite

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.

輸入參數contextpayload必填

版本歷史

1
  1. v1.0.25最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Classifier 整合