Skip to main content
Glama

nbrain-arabic-deterministic-rag

Server Details

Deterministic Arabic normalization, GEO-SFE chunker & SHA-256 citation lock MCP by NBrain

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL
Repository
NBrain-Studio/nbrain-arabic-deterministic-rag
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

A3.5/5.0

Scored across 12 tools

Disambiguation4/5

Most tools target distinct compliance actions and country-specific resources, with clear boundaries between validators, calculators, and TLV encode/decode. There is some overlap: calculate_saudi_vat also covers UAE VAT while validate_uae_trn_and_vat computes UAE VAT, and scan_sdaia_pdpl_arabic_pii overlaps with the individual ID validators for bulk detection.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (calculate_, compute_, decode_, encode_, get_, scan_, search_, validate_). The resource/action structure is predictable throughout, even though the verbs vary appropriately by operation.

Tool Count5/5

Twelve tools is well within the appropriate range for a regional compliance utility server. Each tool appears to earn its place by covering a specific country, document type, or validation operation.

Completeness4/5

The surface covers core MENA tax calculation, identity validation, ZATCA TLV handling, ETA UUID computation, and PII scanning. Minor gaps remain, such as Phase 2 ZATCA encoding and standalone validators for some countries or tax registration numbers beyond the included Egypt RIN and UAE TRN.

Available Tools

12 tools
calculate_qatar_kuwait_iraq_taxB
Read-onlyIdempotent
Inspect

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_vatA
Read-onlyIdempotent
Inspect

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_uuidA
Read-onlyIdempotent
Inspect

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_idA
Read-onlyIdempotent
Inspect

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_tlvA
Read-onlyIdempotent
Inspect

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_tlvB
Read-onlyIdempotent
Inspect

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_ecosystemA
Read-onlyIdempotent
Inspect

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_piiA
Read-onlyIdempotent
Inspect

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_suiteC
Read-onlyIdempotent
Inspect

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_rinB
Read-onlyIdempotent
Inspect

Validate a 9-digit Egyptian corporate Tax Registration Number (RIN).

Inputs: rin (required).

validate_saudi_national_id_iqamaA
Read-onlyIdempotent
Inspect

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_vatA
Read-onlyIdempotent
Inspect

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

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server exposing Arabic text utilities: normalisation, tashkeel stripping, transliteration, heuristic dialect detection, and token counting.
      5
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables dependable Arabic text normalization and search preparation for RAG and deduplication, with typed outputs, stable fingerprints, and experimental dialect, sentiment, and diacritization tools.
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for correct Arabic formatting — currency, Hijri dates, number-to-words, RTL fixes and validation across all 22 Arab countries. Zero-dependency.
      17
      100 npm
      3
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.