Skip to main content
Glama
nbrain-sdaia-pdpl-privacy

nbrain-sdaia-pdpl-privacy

Official

nbrain-sdaia-pdpl-privacy — Saudi SDAIA PDPL, UAE Law 45 & Egypt Law 151 Runtime Privacy & Arabic PII Engine

Zero-dependency Python 3.10+ SDK, native Rust x64 CLI, and Model Context Protocol (MCP) server by NBrain (nbra.in) & Eng. Nadeem Mohamed Badr El-Din (nadeembadr.com).

Core Capabilities

  1. Bilingual Arabic + English MENA PII/PHI Scanner & Deterministic HMAC Tokenizer:

    • Normalizes Arabic-Indic digits (٠-٩) in mixed RTL/LTR logs and LLM prompts before detection.

    • Checksum-aware detection (eliminating false positives!) for Saudi National ID / Iqama (Luhn 10-digit), Egyptian 14-Digit National ID, UAE 15-Digit Emirates ID (784-...), MOD-97 Verified MENA IBANs (SA, AE, EG, QA, KW, BH, JO, IQ), Saudi SPL Short Address (4 letters + 4 digits), and MENA phone numbers.

  2. Saudi SDAIA PDPL (Royal Decree M/19 & 2024/2025 Transfer Regulations) Gate:

    • Evaluates cross-border personal/health/credit data transfers (Adequacy list, SDAIA SCCs, BCRs, Art. 29 vital-interest health exceptions, and Saudi NCA/SAMA residency locks).

    • Computes 72-hour SDAIA breach notification deadlines and 30-day DSAR hard-purge SHA-256 receipts.

Related MCP server: Data Compliance Classifier MCP

Supply-Chain Safe Installation

pip install "git+https://github.com/NBrain-Studio/nbrain-sdaia-pdpl-privacy.git@v1.0.0"
docker run -i --rm ghcr.io/nbrain-studio/nbrain-sdaia-pdpl-privacy:1.0.0

License

MIT © 2026 Eng. Nadeem Mohamed Badr El-Din & NBrain (https://nbra.in).

Available Tools

4 tools
assess_mena_cross_border_transferCInspect

Assess cross-border personal/health/financial data transfers under Saudi SDAIA PDPL, Egypt Law 151/2020, and UAE Federal Decree-Law 45/2021.

Inputs: data_categories (required), destination_country (required), origin_jurisdiction (required), safeguard.

evaluate_sdaia_genai_ethics_riskCInspect

Classify an AI/LLM deployment against Saudi SDAIA 7-Pillar AI Ethics & Generative AI risk tiers.

Inputs: sector (required), human_in_the_loop (required), autonomous_decision (required), processes_sensitive_pii (required).

generate_pdpl_dsar_purge_receiptBInspect

Generate a cryptographic SHA-256 SDAIA PDPL Art. 18 hard-purge verification receipt for Data Subject Deletion requests.

Inputs: purged_tables (required), subject_identifier (required).

scan_and_tokenize_mena_piiBInspect

Scan mixed Arabic/English text (normalizing Arabic-Indic digits) and HMAC-tokenize checksum-verified Saudi IDs/Iqamas, Egyptian 14-digit IDs, UAE Emirates IDs, MOD-97 MENA IBANs, and Saudi SPL addresses.

Inputs: text (required), mode.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a clearly distinct compliance operation: PII scanning/tokenization, cross-border transfer assessment, DSAR purge receipt generation, and GenAI ethics risk classification. There is no overlap in inputs or purpose, and the descriptions make the boundaries unmistakable.

    Naming Consistency4/5

    All four names follow a verb-first snake_case pattern (scan_, assess_, generate_, evaluate_) with a noun phrase tail, which is predictable and readable. Minor deviation: the names stack multiple scoping qualifiers (e.g. generate_pdpl_dsar_purge_receipt), making them long and slightly uneven in structure, but the convention itself is consistent.

    Tool Count4/5

    Four tools is a focused, well-earned set with no redundancy, and each tool supports a distinct compliance workflow. It sits at the lower end of the ideal range, and the narrow domain (MENA PDPL compliance) could reasonably justify a few more operations.

    Completeness3/5

    The surface covers scanning, transfer assessment, purge verification, and AI ethics risk, but has notable gaps for a privacy compliance server: no DSAR intake/fulfillment (only the purge receipt), no DPIA workflow, no consent or retention management, and no breach notification. Agents can still complete the specific workflows exposed, but the lifecycle coverage is partial.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers