Skip to main content
Glama
Alpha-Park

Pulmonary Single-Breath Diffusing Capacity (DLCO) Skill

by Alpha-Park

Pulmonary Single-Breath Diffusing Capacity (DLCO) Skill

License Python OpenClaw GenPark MCP

Single-Breath Carbon Monoxide Diffusing Capacity ($DL_{CO}$) and Krogh Transfer Factor ($K_{CO}$) Analyzer based on ATS/ERS respiratory standards.

flowchart TD
    A[Measured DLCO & Alveolar Volume VA] --> B[Compute Krogh Factor: KCO = DLCO / VA]
    C[Blood Hemoglobin & Sex] --> D[ATS/ERS Hemoglobin Correction cDLCO]
    B & D --> E[Compare Against Predicted Reference Values]
    E --> F[Alveolar-Capillary Membrane vs Volume Restriction Differential]

Features

  • Zero PIP Dependencies: Implemented strictly with Python Standard Library (math, json, sys, typing).

  • ATS/ERS Compliance: Exact Cotes/Dinakara equations for male and female hemoglobin adjustment.

  • Krogh Factor Discrimination: Separates primary microvascular obliteration from mechanical restriction.

  • Dual Architecture: Native Python import and Model Context Protocol (MCP) JSON-RPC 2.0 stdio server.

Related MCP server: alveolar-capillary-diffusion

Quickstart

python example_usage.py

License

Apache-2.0

Related MCP Connectors

Related MCP Servers