Skip to main content
Glama
nbrain-pharma-islamic-customs-mcp

nbrain-pharma-islamic-customs-mcp

nbrain-pharma-islamic-customs-mcp — Official 10-Tool MENA Healthcare, Islamic Finance, Labor, Customs & Open Banking MCP Server

Engineered by Eng. Nadeem Mohamed Badr El-Din (ORCID 0009-0005-5836-2631) — Founder of NBrain (nbra.in).

Zero-dependency JSON-RPC 2.0 stdio Model Context Protocol (2025-06-18) server giving AI coding and enterprise agents deterministic tools across 5 MENA regulatory pillars:

  1. sfda_gs1_audit_pack & sfda_gs1_encode_datamatrix (Saudi SFDA RSD, UAE Tatmeen, Bahrain NHRA)

  2. aaoifi_murabaha_fas28, aaoifi_zakat_fas39 & aaoifi_sukuk_ijara_distribution (AAOIFI Shari'ah Finance)

  3. saudi_eosb_art84_85, saudi_gosi_m273 & uae_mohre_gratuity (Statutory HRSD/GOSI/MOHRE Payroll)

  4. gcc_customs_landed_cost (Saudi FASAH/SABER & Cascading CIF/Duty/Excise/VAT)

  5. openbanking_reconcile_camt053 (XXE-safe ISO 20022 camt.053.001.10 minor-unit reconciliation)

License: MIT

Available Tools

10 tools
aaoifi_murabaha_fas28CInspect

Computes exact minor-unit AAOIFI FAS 28 Murabaha schedule & early-settlement Ibra' rebate.

Inputs: cost_price (required), tenor_months (required), annual_profit_rate_bps (required), currency, +2 more.

aaoifi_sukuk_ijara_distributionCInspect

Computes periodic Sukuk Ijara coupon distribution under Actual/354, Actual/355 (Hijri leap), 360, or 365.

Inputs: accrual_days (required), nominal_value (required), annual_rental_rate_bps (required), currency, +2 more.

aaoifi_zakat_fas39CInspect

Computes AAOIFI FAS 39 Zakat base & obligation under Hijri 2.5% or Gregorian 2.5775% basis.

Inputs: good_receivables (required), trading_inventory (required), cash_and_equivalents (required), nisab_gold_85g_value (required), +3 more.

gcc_customs_landed_costBInspect

Computes cascading CIF -> Customs Duty -> Selective Excise -> Import VAT & Saudi SABER gate.

Inputs: hs_code (required), cif_local_currency (required), country, duty_rate_bps, +3 more.

openbanking_reconcile_camt053CInspect

XXE-safe ISO 20022 camt.053.001.10 bank statement minor-unit balance reconciler.

Inputs: xml_text (required).

saudi_eosb_art84_85CInspect

Computes Saudi HRSD Labor Law Articles 84, 85 & 87 End-of-Service Benefit (EOSB) in exact SAR.

Inputs: service_days (required), actual_monthly_wage (required), reason.

saudi_gosi_m273BInspect

Computes Saudi GOSI contributions including Royal Decree M/273 (2025-2028) phased step-up & 45k SAR cap.

Inputs: contributory_wage (required), is_saudi, contribution_year, is_new_entrant_post_july_2024.

sfda_gs1_audit_packCInspect

Audits a GS1 DataMatrix / SSCC-18 pharmaceutical pack for Saudi SFDA RSD, UAE Tatmeen, or Bahrain NHRA.

Inputs: payload (required), authority, reference_date.

sfda_gs1_encode_datamatrixCInspect

Encodes GTIN-14, YYMMDD expiry, Batch/Lot, and Serial into optimal FNC1 DataMatrix & GS1 Digital Link.

Inputs: gtin (required), serial (required), batch_lot (required), expiry_yymmdd (required).

uae_mohre_gratuityBInspect

Computes UAE MOHRE Decree-Law 33/2021 Article 51 gratuity (21/30 days basic wage, 24-month cap).

Inputs: service_days (required), basic_monthly_wage (required), unpaid_leave_days.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools target clearly distinct calculations: GS1 pack audit vs DataMatrix encoding, Saudi GOSI, UAE MOHRE gratuity, GCC landed cost, camt.053 reconciliation, three distinct AAOIFI calculations, and Saudi EOSB. The main confusion risk is between the labor/payroll calculators (saudi_gosi_m273, saudi_eosb_art84_85, uae_mohre_gratuity) and between the two sfda_gs1 tools, but descriptions and jurisdiction markers resolve this for a careful agent.

    Naming Consistency4/5

    All names are snake_case with a consistent jurisdiction/standard prefix (sfda_, saudi_, uae_, gcc_, openbanking_, aaoifi_), which makes the set predictable. Minor deviations exist in the second segment: some are action-oriented (audit, encode, reconcile) while others are bare standard references (m273, fas28, art84_85), but overall it remains readable and systematic.

    Tool Count4/5

    Ten tools is a well-scoped count with no filler; each calculation is a meaningful, self-contained unit. The only concern is that the underlying domain is a grab-bag (pharma labeling, customs, Islamic finance, labor law, banking), so the count is appropriate but the scope is broader than a single coherent purpose.

    Completeness3/5

    Core calculations are covered, but there are notable gaps: GS1 has encode and audit but no decode/parse, customs lacks HS-code/tariff lookup, and AAOIFI coverage omits common contracts (mudarabah, musharakah, wakala). Labor coverage is limited to GOSI/gratuity/EOSB with no broader payroll or leave operations, so some agent workflows will hit dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      Provides AI agents with deterministic, offline finance tools for commodity margin analysis, loan covenant compliance, invoice auditing, AP exception classification, and five-day close readiness.
      14
      3 npm
      -
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI agents and MCP-compatible apps to run deterministic, date-aware Indian GST checks and calculations, including registration applicability, HSN/SAC rates, liability, ITC reconciliation, filing deadlines, GSTR-1 summaries, e-invoice validation, and income-tax crossover checks, with rules tied to CBIC sources.
      9
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to perform deterministic financial, accounting, tax, credit, and valuation calculations and SEC filing footnote audits across U.S. jurisdictions. It exposes CPU-based computation engines and live statutory-rate tools through remote or local MCP connections.
      10
      188 npm
      MIT