nbrain-polars-arrow-mena
Server Details
Polars, Apache Arrow & columnar MENA 2/3-decimal VAT, Arab IBAN MOD-97 & Arabic NLP MCP
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2024-11-05
- URL
- Repository
- NBrain-Studio/nbrain-polars-arrow-mena
- GitHub Stars
- 0
- Server Listing
- nbrain-polars-arrow-mena
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 12 tools
Most tools target a clearly distinct action+country (e.g. validate_egypt_tax_rin vs validate_saudi_national_id_iqama vs decode_zatca_tlv), so selection is mostly unambiguous. The main overlap is VAT computation split across calculate_saudi_vat (which also handles UAE/Oman 5%) and validate_uae_trn_and_vat (5% AED VAT), plus ID detection available both in scan_sdaia_pdpl_arabic_pii and the standalone validators — descriptions mitigate but don't fully remove the confusion.
All names are snake_case with a leading verb (calculate_, compute_, decode_, encode_, get_, scan_, search_, validate_), giving a predictable verb_noun pattern. Minor deviation: the two off-domain tools (get_nbrain_ecosystem, search_artcraft_wasm_suite) use broader objects that don't match the country/resource precision of the rest.
12 tools is a well-scoped size for a MENA tax/identity validation suite, and each validation/calculation tool covers a distinct country or artifact. However, two tools (get_nbrain_ecosystem brand metadata, search_artcraft_wasm_suite creative-app search) are self-promotional and don't earn a place in a tax/identity toolset.
Core validate/calculate/decode operations exist for Saudi, Egypt, UAE, Qatar, Kuwait and Iraq, but coverage is uneven: UAE has no corporate-tax or Peppol document tools, ZATCA TLV only encodes Phase 1 (decode supports Phase 2), and there is no ETA invoice/QR generation beyond UUID canonicalization. Several jurisdictions (Bahrain, Oman, Egypt VAT) are only reachable as side-parameters of calculate_saudi_vat, which an agent may not discover.
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
Universal Document Intelligence: 70+ formats & 75+ languages to LPG/RDF entities & tables (13 tools)
Amounts in words (Arabic cheque grammar), number formatting, Arabic text tools, date parsing.
Arabic PDF tables to JSON, domain availability (RDAP), CWV verdicts, free OpenAI shutdown scanner.
Saudi ZATCA Fatoora Phase 2: AI agents report B2C and clear B2B tax invoices, stateless.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for correct Arabic formatting — currency, Hijri dates, number-to-words, RTL fixes and validation across all 22 Arab countries. Zero-dependency.17100 npm3MIT
- AlicenseBqualityDmaintenanceEnables dependable Arabic text normalization and search preparation for RAG and deduplication, with typed outputs, stable fingerprints, and experimental dialect, sentiment, and diacritization tools.2MIT
- AlicenseBqualityCmaintenanceEnables AI agents to normalize Arabic text, strip diacritics, classify regional dialects, and analyze prompt token efficiency. Exposes these capabilities as MCP tools that plug into Claude Desktop, Cursor, and other MCP clients.4MIT
- AlicenseNot gradedqualityCmaintenance37 MCP servers for agentic commerce and Brazilian services. Covers Stripe ACP, x402 (Coinbase), AP2 (Google), Google UCP, plus 14 traditional Brazilian payment rails, fiscal, banking, communication, logistics, ERP, identity, and crypto APIs. ~480 tools. Supports stdio and Streamable HTTP.278MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.