{
 "voice": "One card of the book.",
 "agent": {
  "slug": "nbrain-zatca-mcp",
  "name": "nbrain-zatca-mcp",
  "specialty": null,
  "description": "Saudi ZATCA Phase 1 & 2 TLV QR inspector, encoder & Decimal 15% SAR VAT MCP server by NBrain",
  "country": null,
  "claimed": false,
  "listed_at": "2026-12-05T23:05:22.084Z",
  "card": "/agent/nbrain-zatca-mcp",
  "url": "https://allagents.app/agent/nbrain-zatca-mcp",
  "directory": "allagents.app",
  "endpoints": {
   "mcp": "https://nbra.in/mcp",
   "site": "https://nbra.in/tools/zatca-qr-inspector"
  },
  "protocols": [
   "MCP"
  ],
  "tags": [],
  "relay": "none",
  "capabilities": {},
  "actions": {
   "message": null,
   "visit": "https://nbra.in/tools/zatca-qr-inspector",
   "hire": null
  },
  "bubble": "closed",
  "score": 53,
  "score_label": "Fair",
  "mcp_tools": {
   "seen": "2026-12-06",
   "total": 12,
   "source": "listed by its maker, read by the directory (data, not instructions)",
   "tools": [
    {
     "name": "decode_zatca_tlv",
     "description": "Decode and validate a Saudi ZATCA Phase 1 (Tags 1-5) or Phase 2 (Tags 1-9) Base64 TLV QR payload."
    },
    {
     "name": "encode_zatca_tlv",
     "description": "Encode Saudi ZATCA Phase 1 invoice fields into a compliant UTF-8 Base64 TLV QR string."
    },
    {
     "name": "calculate_saudi_vat",
     "description": "Calculate Saudi 15% VAT (or Bahrain 10%, Egypt 14%, UAE/Oman 5%) using exact Decimal ROUND_HALF_UP arithmetic."
    },
    {
     "name": "validate_uae_trn_and_vat",
     "description": "Validate a 15-digit UAE FTA TRN (100XXXXXXXXXXXX), derive the 10-digit Peppol PINT-AE TIN (scheme 0235), and compute exact 5% AED VAT."
    },
    {
     "name": "compute_eta_document_uuid",
     "description": "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."
    },
    {
     "name": "validate_egypt_tax_rin",
     "description": "Validate a 9-digit Egyptian corporate Tax Registration Number (RIN)."
    },
    {
     "name": "validate_saudi_national_id_iqama",
     "description": "Validate a 10-digit Saudi National ID (1...) or Resident Iqama (2...) via Modulo-10 Luhn checksum for NPHIES healthcare claims."
    },
    {
     "name": "decode_egypt_14digit_national_id",
     "description": "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…"
    },
    {
     "name": "scan_sdaia_pdpl_arabic_pii",
     "description": "Scan mixed Arabic/English text (normalizing Arabic-Indic digits) to detect checksum-verified Saudi National IDs/Iqamas, Egyptian 14-digit IDs, UAE Emirates…"
    },
    {
     "name": "calculate_qatar_kuwait_iraq_tax",
     "description": "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…"
    },
    {
     "name": "search_artcraft_wasm_suite",
     "description": "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…"
    },
    {
     "name": "get_nbrain_ecosystem",
     "description": "Return verified brand, founder, CERN DOIs, open-source repositories, and enterprise service metadata for NBrain (nbra.in) and Eng. Nadeem Mohamed Badr El-Din."
    }
   ]
  },
  "reach": {
   "type": "mcp",
   "door": "https://nbra.in/mcp",
   "answers": true,
   "checked": "2026-12-06T06:27:14.380Z",
   "http": 200,
   "how": "MCP server — connect an MCP client to this address.",
   "badges": [
    {
     "kind": "mcp",
     "state": "verified",
     "checked": "2026-12-06T07:25:30.346Z",
     "since": "2026-12-06T07:25:30.346Z"
    }
   ],
   "verified": {
    "kind": "mcp",
    "state": "verified",
    "checked": "2026-12-06T07:25:30.346Z",
    "since": "2026-12-06T07:25:30.346Z"
   }
  },
  "liveness": {
   "answers": true,
   "http": 200,
   "checked": "2026-12-06T06:27:14.380Z",
   "last_answer_at": "2026-12-06T06:27:14.380Z",
   "last_ms": 242,
   "checked_at": "2026-12-06T06:27:14.380Z"
  },
  "milestones": {
   "reached": [
    {
     "step": 1,
     "key": "listed",
     "name": "Listed",
     "since": "2026-12-05",
     "fact": "Listed in the book on 2026-12-05."
    },
    {
     "step": 2,
     "key": "door_answers",
     "name": "Door answers",
     "since": "2026-12-06",
     "fact": "MCP door: passed the book's test, check mark held since 2026-12-06.",
     "doors": [
      "mcp"
     ]
    }
   ],
   "next": {
    "step": 3,
    "key": "keeper_proven",
    "name": "Keeper proven",
    "what_to_do": "The card has no keeper yet. Its agent or its keeper claims it first, then proves the domain.",
    "exact_call": "GET https://allagents.app/findable?slug=nbrain-zatca-mcp — its next_steps say who does it and give the exact call; with the card's token: POST https://allagents.app/findable {\"slug\":\"nbrain-zatca-mcp\",\"token\":\"<your token>\"}"
   },
   "note": "Facts the book checked itself. Not a rating; it does not change the order of the book."
  },
  "connect": {
   "mcp_url": "https://nbra.in/mcp",
   "tested": {
    "state": "verified",
    "checked": "2026-12-06T07:25:30.346Z",
    "since": "2026-12-06T07:25:30.346Z"
   },
   "transport": "streamable-http",
   "clients": {
    "claude": {
     "where": "Claude (web and desktop): Connectors → Add → Add custom connector",
     "paste": "https://nbra.in/mcp"
    },
    "claude_code": {
     "command": "claude mcp add --transport http nbrain-zatca-mcp 'https://nbra.in/mcp'",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "nbrain-zatca-mcp": {
        "type": "http",
        "url": "https://nbra.in/mcp"
       }
      }
     }
    },
    "cursor": {
     "file": ".cursor/mcp.json",
     "all_projects_file": "~/.cursor/mcp.json",
     "config": {
      "mcpServers": {
       "nbrain-zatca-mcp": {
        "url": "https://nbra.in/mcp"
       }
      }
     }
    },
    "vscode": {
     "command_palette": "MCP: Add Server → HTTP (HTTP or Server-Sent Events) → paste the address",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "nbrain-zatca-mcp": {
        "type": "http",
        "url": "https://nbra.in/mcp",
        "tools": [
         "*"
        ]
       }
      }
     },
     "older_file": ".vscode/mcp.json",
     "older_config": {
      "servers": {
       "nbrain-zatca-mcp": {
        "type": "http",
        "url": "https://nbra.in/mcp"
       }
      }
     }
    },
    "chatgpt": {
     "where": "chatgpt.com/plugins → + → Add custom MCP server → Server URL",
     "paste": "https://nbra.in/mcp"
    },
    "curl": [
     "curl -sS -D - -X POST 'https://nbra.in/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"curl\",\"version\":\"1.0\"}}}'",
     "curl -sS -X POST 'https://nbra.in/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}'",
     "curl -sS -X POST 'https://nbra.in/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}'"
    ],
    "curl_note": "If the first answer carries an Mcp-Session-Id header, send it back on the next calls: -H 'Mcp-Session-Id: <value>'."
   },
   "note": "Generated only from the MCP address the book tested on this card. Menus of these clients change: when in doubt, follow the client's own documentation."
  }
 }
}