nbrain-sqlite-d1-mena
Server Details
Embedded SQLite3, Node node:sqlite, Cloudflare D1 & Turso LibSQL MENA Compliance UDFs
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2024-11-05
- URL
- Repository
- NBrain-Studio/nbrain-sqlite-d1-mena
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 12 tools
Most tools target a specific jurisdiction+artifact (ZATCA TLV encode vs decode, Egyptian ID decode vs Saudi ID validate vs UAE TRN validate), so boundaries are generally clear. Minor overlap exists where calculate_saudi_vat also computes UAE/Oman/Bahrain VAT that validate_uae_trn_and_vat also computes, and where scan_sdaia_pdpl_arabic_pii detects the same ID types that the dedicated validate/decode tools handle (bulk scan vs single-value check). Two tools (get_nbrain_ecosystem, search_artcraft_wasm_suite) are unrelated to the compliance domain but remain clearly distinguishable.
Names follow a consistent verb_noun snake_case pattern (calculate_*, compute_*, decode_*, encode_*, validate_*, scan_*, get_*, search_*) throughout. The only mild deviation is heavy jurisdiction qualifiers packed into names (e.g. calculate_qatar_kuwait_iraq_tax) and an odd 'nbrain' brand prefix in get_nbrain_ecosystem, but the convention is readable and predictable.
At 12 tools the set is well within a reasonable scope for a MENA tax/ID-compliance server, and most tools earn their place as distinct validators or calculators. Two tools (ecosystem metadata and ArtCraft WASM search) feel bolted on and dilute the otherwise tight core.
The core surface covers validation and calculation well, but there are notable asymmetries: ZATCA has TLV encode/decode with no invoice signing/validation, Egypt has ETA UUID computation but no ETA payload validation or reverse decode, and the UAE tool derives a TIN but offers no standalone TIN validation. Whole jurisdictions (Jordan, Morocco, Lebanon) and VAT-number validation for Saudi/Qatar/Kuwait are absent, so agents will hit dead ends outside the covered artifacts.
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
Jordan & GCC labour-law, tax and finance calculators for AI agents — 36 deterministic tools.
300+ deterministic data utilities for AI agents: validate, normalize, parse, match, redact.
39 Japanese locale APIs — wareki, NTA invoice, 法人番号, postal, romanization, kanji-kana (Workers AI).
Arabic PDF tables to JSON, domain availability (RDAP), CWV verdicts, free OpenAI shutdown scanner.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying and modifying local SQLite files or remote Turso/libSQL databases through 15 tools covering SQL execution, schema and index management, and database optimization and health checks. Runs over stdio, HTTP, or a Cloudflare Worker endpoint.11 npm1MIT
- FlicenseNot gradedqualityCmaintenanceQuery SQLite databases via AI — safe read-only mode-
- AlicenseNot gradedqualityBmaintenanceStandalone belief and memory engine for Node.js on SQLite. Zero dependencies, built-in LLM tool facade.446 npm3MIT
- AlicenseAqualityBmaintenanceSimple, fast, long-term memory for your AI chatbots, agents, and MCP tools. Give your LLM a persistent memory using a local SQLite file. No complex database servers, no heavy cloud setup, and zero C++ compilation errors. Works everywhere.570 npm1MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.