Skip to main content
Glama
nbrain-iraq-qatar-kuwait-tax MCP Server

nbrain-iraq-qatar-kuwait-tax MCP Server

nbrain-iraq-qatar-kuwait-tax — Qatar GTA Dhareeba, Kuwait 3-Decimal KWD & Iraq GCT Fiscal Engine

Zero-dependency Python 3.10+ SDK, native Rust x64 CLI, and Model Context Protocol (MCP) server completing NBrain's Pan-Arab fiscal coverage across Qatar (QAR), Kuwait (KWD 3-decimal Fils), and Iraq (IQD).

  • Live Remote Streamable-HTTP MCP Endpoint: https://nbra.in/mcp

Core Capabilities

  1. Qatar General Tax Authority (GTA — ضريبة Dhareeba):

    • 10-digit Qatar TIN validation, exact Decimal 5% Non-Resident Services WHT, 50%/100% Selective Excise Tax, and QCB QA 29-character IBAN MOD-97 verification.

  2. Kuwait Ministry of Finance (MOF) & KNET 0.001 KWD (3-Decimal Fils) Engine:

    • Strict 0.001 (ROUND_HALF_UP) minor-unit Fils settlement (1 KWD = 1,000 Fils), 15% DMTT / Foreign CIT, 1% KFAS, 2.5% NLST, 1% Zakat statutory corporate deductions, and CBK KW 30-character IBAN MOD-97 verification.

  3. Iraq General Commission for Taxes (GCT) & CBI Compliance:

    • 9-digit Iraqi TIN validation, Government Contract 3.3% Withholding Retention + 0.2% (2‰) Stamp Duty (رسم الطابع), 10%/15% sector sales tax, and Central Bank of Iraq IQ 23-character IBAN MOD-97 verification.

Related MCP server: uae-einvoice-mcp

Supply-Chain Safe Installation

pip install "git+https://github.com/NBrain-Studio/nbrain-iraq-qatar-kuwait-tax.git@v1.0.0"
docker run -i --rm ghcr.io/nbrain-studio/nbrain-iraq-qatar-kuwait-tax:1.0.0

License

MIT © 2026 Eng. Nadeem Mohamed Badr El-Din & NBrain (https://nbra.in).

Available Tools

4 tools
calculate_iraq_gct_contractBInspect

Calculate Iraq GCT government contract 3.3% WHT retention, 0.2% Stamp Duty, and sector sales tax in IQD.

Inputs: contract_iqd (required), sales_tax_rate_pct, government_contract.

calculate_kuwait_3decimal_kwdCInspect

Calculate exact 3-decimal Kuwait KWD (1,000 Fils) POS or MOF corporate levies (15% DMTT, 1% KFAS, 2.5% NLST, 1% Zakat).

Inputs: amount_kwd (required), apply_dmtt_15pct, is_corporate_profit_assessment.

calculate_qatar_dhareeba_taxBInspect

Calculate exact Decimal Qatar GTA Dhareeba 5% Non-Resident WHT and 50%/100% Selective Excise Tax in QAR.

Inputs: gross_qar (required), excise_category, non_resident_service.

validate_qa_kw_iq_iban_and_tinBInspect

Validate ISO 13616 MOD-97 IBANs or Tax TINs for Qatar (QA), Kuwait (KW), and Iraq (IQ).

Inputs: tin, iban, country.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each calculator targets a clearly different jurisdiction and tax regime (Qatar Dhareeba/excise, Kuwait KWD levies, Iraq GCT contract), and the validator has a separate, non-overlapping purpose (IBAN/TIN format checking). Minor risk remains that an agent might call the validator as a prerequisite step, and the multi-country validator bundles three jurisdictions into one tool, but no two tools appear to do the same thing.

    Naming Consistency4/5

    All four follow a predictable verb_qualifier_noun pattern (calculate_* / validate_*), which is easy to scan. The deviation is in country reference style: the calculators spell out Qatar/Kuwait/Iraq while the validator uses QA_KW_IQ codes, plus some names carry embedded unit/descriptor fragments (3decimal_kwd, gct_contract).

    Tool Count4/5

    Four tools is on the thin side but defensible for a narrowly scoped three-jurisdiction tax calculator, with one tool per country plus a shared validator. Each tool earns its place, though the surface leaves little room for variants like gross-up or rate-lookup operations without feeling over-packed.

    Completeness3/5

    The core compute-plus-validate loop is covered for all three jurisdictions, but there are notable gaps: no reverse/gross-up calculations, no generic corporate income tax for Kuwait beyond DMTT, no broader Iraq income tax or Qatar withholding variants, and no rate/reference lookup. Agents can work around these for the specific regimes named, but the lifecycle is not fully closed.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables exact MENA real estate and construction compliance calculations, including Egyptian rational cadastral math, Saudi RETT and lease rules, Dubai DLD transfer fees, and FIDIC interim payment certificates. Supports deterministic regulatory workflows through an MCP interface.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables columnar batch processing for MENA financial and Arabic lakehouse workloads, including multi-currency VAT rounding to minor units, Arab IBAN MOD-97 validation, and deterministic Arabic text normalization for reliable entity joins.
      MIT