Skip to main content
Glama
nbrain-clinical-mena-mcp

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 (ORCID 0009-0005-5836-2631) — Founder of NBrain (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

docker run -i --rm ghcr.io/nbrain-studio/nbrain-clinical-mena-mcp:latest

License: MIT

Available Tools

10 tools
calculate_ckd_epi_2021_egfrBInspect

2021 CKD-EPI Race-Free Creatinine eGFR (NEJM 2021) + KDIGO G1-G5 stage accepting mg/dL or umol/L.

Inputs: age (required), sex (required), creatinine (required), unit.

calculate_meld_na_and_sampson_ldlBInspect

Calculates OPTN/UNOS MELD-Na score or Sampson-NIH Equation 2 LDL-C (valid up to TG <= 800 mg/dL).

Inputs: mode (required), inr, hdl_mg_dl, sodium_mmol_l, +4 more.

convert_egyptian_cadastre_fqsCInspect

Exact statutory Kassaba rational conversion between Egyptian (Feddan, Qirat, Sahm) and square meters.

Inputs: direction (required), sahm, qirat, feddan, +1 more.

convert_hl7_oru_to_fhir_r4AInspect

Translates HL7 v2.5.1 ORU^R01 laboratory segments (MSH|PID|OBR|OBX) into an HL7 FHIR R4 DiagnosticReport Bundle.

Inputs: hl7_message (required).

convert_loinc_lab_unitCInspect

Exact stoichiometric Decimal unit conversion between Egypt conventional (mg/dL) and GCC/SI (mmol/L, umol/L) across 23 LOINC clinical analytes.

Inputs: value (required), code_or_key (required), to_system.

normalize_mena_phone_e164BInspect

Normalizes Arabic/Latin phone numbers across 18 Arab countries into ITU-T E.164 with MNO carrier detection.

Inputs: phone (required), default_country.

optimize_sms_gsm7_segmentsCInspect

Calculates 3GPP TS 23.038 GSM-7 vs UCS-2 SMS billing segments and rescues smart-quote texts back to GSM-7.

Inputs: text (required), sanitize.

project_wgs84_utm_geodesyCInspect

Projects WGS84/KSA MTRF-2000 (lat, lon) to UTM Easting/Northing across MENA Zones 35N-40N.

Inputs: lat (required), lon (required).

triage_critical_lab_panicBInspect

Evaluates LOINC lab values against CAP/CLIA panic thresholds with bilingual Arabic/English escalation notes.

Inputs: value (required), code_or_key (required), unit.

validate_saudi_spl_addressBInspect

Validates Saudi Post (SPL) 8-char National Short Address (e.g. RRRD2929) and resolves ISO region.

Inputs: short_address (required).

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 10 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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'.

    Tool Count4/5

    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.

    Completeness3/5

    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.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a suite of deterministic tools for time calculations, math, and string manipulation that LLMs often struggle to perform accurately. It also includes utilities for secure randomness, data validation, and basic network operations like DNS lookups.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides over 500 deterministic tools for math, conversions, validation, hashing, and more, enabling AI agents to perform accurate calculations and data transformations without hallucination.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides deterministic, verifiable text/code/measurement utilities for AI agents, enabling tasks like unit conversion, citation formatting, diffing, proofreading, readability scoring, and syntax checking with re-executable proof.
      MIT