nbrain-clinical-mena-mcp
Official# `nbrain-clinical-mena-mcp` — Official Model Context Protocol (MCP) Server for Clinical Lab LOINC/eGFR/FHIR, MENA National Address/Cadastre/Geodesy & Telecom E.164/SMS
Engineered by **[Eng. Nadeem Mohamed Badr El-Din](https://nadeembadr.com)** ([ORCID `0009-0005-5836-2631`](https://orcid.org/0009-0005-5836-2631)) — Founder of **[NBrain (`nbra.in`)](https://nbra.in)**.
Zero-dependency JSON-RPC 2.0 **Model Context Protocol (`2025-06-18`)** server giving Claude Desktop, Cursor, VS Code, Windsurf, Cline, and Antigravity **10 deterministic clinical & MENA enterprise tools**:
1. `convert_loinc_lab_unit` — Exact Decimal SI ↔ Conventional unit conversion across 23 LOINC analytes
2. `calculate_ckd_epi_2021_egfr` — 2021 CKD-EPI race-free eGFR (`NEJM 2021`) + KDIGO `G1–G5` staging
3. `calculate_meld_na_and_sampson_ldl` — Liver MELD-Na & Sampson–NIH hypertriglyceridemia LDL-C
4. `triage_critical_lab_panic` — CAP/CLIA critical-value escalation with bilingual AR/EN explanations
5. `convert_hl7_oru_to_fhir_r4` — HL7 v2.5.1 `ORU^R01` (`MSH|PID|OBR|OBX`) → HL7 FHIR R4 `Bundle`
6. `validate_saudi_spl_address` — Saudi Post (SPL) 8-char National Short Address (`RRRD2929`)
7. `convert_egyptian_cadastre_fqs` — Exact statutory Kassaba rational (`25205/6 m²`) `Feddan / Qirat / Sahm`
8. `project_wgs84_utm_geodesy` — `WGS84 / KSA MTRF-2000` Transverse Mercator UTM Zones `35N–40N`
9. `normalize_mena_phone_e164` — 18-Arab-Country ITU-T E.164 normalizer & carrier resolver
10. `optimize_sms_gsm7_segments` — 3GPP TS 23.038 GSM-7 vs UCS-2 SMS billing optimizer & sanitizer
## Run via Docker (GHCR) or Python
```bash
docker run -i --rm ghcr.io/nbrain-studio/nbrain-clinical-mena-mcp:latest
```
License: MIT
TDQS
Scored across 10 tools
Each tool has a recognizable target (unit conversion, eGFR, panic triage, HL7→FHIR, address, cadastre, geodesy, phone, SMS), so an agent can generally pick correctly. Mild overlap exists among lab-value tools: convert_loinc_lab_unit, calculate_ckd_epi_2021_egfr (which internally accepts mg/dL or umol/L), and triage_critical_lab_panic all operate on the same lab values, and calculate_meld_na_and_sampson_ldl bundles two unrelated calculators into one entry.
All names use snake_case with a verb_noun structure (convert_*, calculate_*, validate_*, normalize_*, optimize_*, project_*, triage_*), which is predictable. Minor deviations: version/standard tokens embedded in names (hl7_oru_to_fhir_r4, gsm7, e164) and one name joins two actions with 'and'.
Ten tools sits comfortably in the well-scoped range, and each has a defensible single operation. However, the set spans clinical labs, Saudi addressing, Egyptian cadastre, geodesy, and telecom SMS, so it reads more like a MENA utility grab-bag than a tightly scoped clinical server.
Core clinical workflows (unit conversion, eGFR, MELD/LDL, panic triage, HL7→FHIR) are covered, but there is no LOINC/reference-range lookup, no FHIR validation or reverse FHIR→HL7 path, and no broader clinical coding (ICD/SNOMED) support. Regional utilities are one-off and have no complementary read/validate pairs, leaving notable gaps.