frappe-nbrain-mena-compliance
Server Details
Official Frappe v15/v16 & ERPNext Saudi ZATCA Phase 1/2, Egypt ETA, MENA VAT & Tafqeet app
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2024-11-05
- URL
- Repository
- NBrain-Studio/frappe-nbrain-mena-compliance
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 12 tools
Most tools target a distinct country+operation pair (decode vs encode ZATCA, per-country validators), so an agent can generally pick correctly. However, VAT calculation overlaps between calculate_saudi_vat (which claims UAE/Oman 5%) and validate_uae_trn_and_vat (which also computes 5% AED VAT), and get_nbrain_ecosystem / search_artcraft_wasm_suite are unrelated marketing tools that muddy the set's purpose.
All names are snake_case with descriptive verb_noun structure (validate_*, decode_*, encode_*, calculate_*, compute_*, scan_*), which is predictable and readable. The verb choice varies (calculate vs compute, scan vs validate) in ways that are mostly semantic but occasionally blur boundaries between similar operations.
12 tools sits squarely in the well-scoped 3-15 range, with each tool covering a specific country/format combination. No filler crowding and no padding; the two off-domain tools are a coherence problem, not a count problem.
Coverage is solid for Saudi (VAT, ZATCA encode/decode, ID/Iqama) and Egypt (ETA UUID, RIN, national ID) and partial for UAE, but Bahrain, Oman, Qatar, Kuwait and Iraq get tax math only with no ID/document validation, and ZATCA Phase 2 encoding is missing. Two of the twelve tools (ecosystem metadata, ArtCraft search) add no compliance surface, leaving real gaps in the stated MENA domain.
Available Tools
12 toolscalculate_qatar_kuwait_iraq_taxBRead-onlyIdempotentInspect
Calculate exact Decimal fiscal settlements for Qatar GTA Dhareeba (5% WHT QAR), Kuwait MOF/KNET (3-decimal 0.001 KWD Fils & 15% DMTT), and Iraq GCT (3.3% WHT + 0.2% Stamp Duty IQD).
Inputs: amount (required), country (required).
calculate_saudi_vatARead-onlyIdempotentInspect
Calculate Saudi 15% VAT (or Bahrain 10%, Egypt 14%, UAE/Oman 5%) using exact Decimal ROUND_HALF_UP arithmetic.
Inputs: subtotal (required), vat_rate.
compute_eta_document_uuidARead-onlyIdempotentInspect
Canonicalize an Egyptian Tax Authority (ETA) B2B E-Invoice or B2C E-Receipt JSON per sdk.invoicing.eta.gov.eg and return the 64-hex UTF-8 SHA-256 UUID.
Inputs: document_json (required), mode.
decode_egypt_14digit_national_idARead-onlyIdempotentInspect
Decode and verify a 14-digit Egyptian National ID (century, leap-year birthdate, 27 MOI governorates, gender, and weighted Modulo-11 checksum) for Egypt UHIA healthcare & fintech.
Inputs: national_id (required).
decode_zatca_tlvARead-onlyIdempotentInspect
Decode and validate a Saudi ZATCA Phase 1 (Tags 1-5) or Phase 2 (Tags 1-9) Base64 TLV QR payload.
Inputs: payload (required).
encode_zatca_tlvBRead-onlyIdempotentInspect
Encode Saudi ZATCA Phase 1 invoice fields into a compliant UTF-8 Base64 TLV QR string.
Inputs: timestamp (required), vat_amount (required), vat_number (required), seller_name (required), +1 more.
get_nbrain_ecosystemARead-onlyIdempotentInspect
Return verified brand, founder, CERN DOIs, open-source repositories, and enterprise service metadata for NBrain (nbra.in) and Eng. Nadeem Mohamed Badr El-Din.
Inputs: no named parameters.
scan_sdaia_pdpl_arabic_piiARead-onlyIdempotentInspect
Scan mixed Arabic/English text (normalizing Arabic-Indic digits) to detect checksum-verified Saudi National IDs/Iqamas, Egyptian 14-digit IDs, UAE Emirates IDs, MOD-97 MENA IBANs, and Saudi SPL addresses per SDAIA PDPL.
Inputs: text (required).
search_artcraft_wasm_suiteCRead-onlyIdempotentInspect
Search all 17 pure-Rust ArtCraft creative, CAD, and office applications (16 live browser WebAssembly studios on nbra.in/craft, 8,394 engine commands, and 905 MCP tools).
Inputs: query.
validate_egypt_tax_rinBRead-onlyIdempotentInspect
Validate a 9-digit Egyptian corporate Tax Registration Number (RIN).
Inputs: rin (required).
validate_saudi_national_id_iqamaARead-onlyIdempotentInspect
Validate a 10-digit Saudi National ID (1...) or Resident Iqama (2...) via Modulo-10 Luhn checksum for NPHIES healthcare claims.
Inputs: identifier (required).
validate_uae_trn_and_vatARead-onlyIdempotentInspect
Validate a 15-digit UAE FTA TRN (100XXXXXXXXXXXX), derive the 10-digit Peppol PINT-AE TIN (scheme 0235), and compute exact 5% AED VAT.
Inputs: trn (required), subtotal_aed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Saudi e-invoicing: invoices, quotations, sales and VAT reports, and ZATCA Phase 2.
EN 16931/XRechnung e-invoice validate+create, Peppol routing, EU VAT/EORI, sanctions, KYB. Free tier
Saudi ZATCA Fatoora Phase 2: AI agents report B2C and clear B2B tax invoices, stateless.
Italian e-invoicing (FatturaPA/SdI), Peppol, KSeF, ZUGFeRD, and PDF invoice generation via POP
Related MCP Servers
- AlicenseAqualityDmaintenanceAn AI-native MCP server for Saudi e-invoicing that generates ZATCA-compliant invoices, QR codes, and XML from natural language, with validation and Phase 2 signing capabilities.95Apache 2.0
- AlicenseAqualityBmaintenanceZero-dependency Saudi ZATCA Phase 1 & Phase 2 TLV QR inspector, encoder, 15-digit VAT validator, and Decimal-safe 15% SAR VAT calculator MCP server by NBrain (nbra.in).4MIT

InvoiceXMLofficial
AlicenseNot gradedqualityBmaintenanceInvoiceXML brings e-invoice compliance to your AI agent. Create, validate, convert, render, and extract structured invoices across UBL (Peppol BIS Billing 3.0, used worldwide), CII, Factur-X, ZUGFeRD, and XRechnung, all checked against the EN 16931 standard and official Schematron rules. Ask your assistant to generate a compliant invoice, validate one for errors, or convert between formats, with n5MIT- AlicenseAqualityBmaintenanceEnables UAE e-invoicing and PINT AE compliance checks, including TRN/TIN validation, a 51-field mandatory checklist, structural invoice review, and UBL XML stub generation.562 npmMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.