alveolar-capillary-diffusion
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Alveolar-Capillary Gas Diffusion (DLCO) Skill
A sovereign personal agent capability for computational pulmonary physiology, evaluating single-breath diffusing capacity of the lung for carbon monoxide (DLCO), hemoglobin normalization, and transfer coefficient (KCO).
Architecture
flowchart TD
DiffusionInputs["DLCO Measured (mL/min/mmHg), Predicted DLCO, Hemoglobin (g/dL)"] --> HbCorrection["Dinakara/Cotes Hemoglobin Normalization Factor"]
HbCorrection --> AdjustedDLCO["Hemoglobin-Adjusted DLCO (mL/min/mmHg)"]
AdjustedDLCO --> PredictedPercent["Percentage of Predicted DLCO (% Predicted)"]
AdjustedDLCO --> KCOEngine["Transfer Coefficient KCO = Adjusted DLCO / Alveolar Volume (VA)"]
PredictedPercent & KCOEngine --> PDRS["Pulmonary Diffusion Resilience Score (0 - 100)"]
PDRS --> Directives["OpenClaw / Hermes Altitude & Cardiorespiratory Directives"]Related MCP server: respiratory-muscle-strength
Quickstart
from client import AlveolarCapillaryDiffusionClient
client = AlveolarCapillaryDiffusionClient()
# Assess DLCO pulmonary gas exchange
res = client.evaluate_dlco_diffusion(
measured_dlco_ml_min_mmhg=28.2,
predicted_dlco_ml_min_mmhg=30.0,
hemoglobin_g_dl=15.0,
is_female=False,
alveolar_volume_liters=6.2
)
print("Adjusted DLCO:", res["adjusted_dlco_ml_min_mmhg"], "mL/min/mmHg")
print("% Predicted:", res["pct_predicted_dlco"], "%")
print("Diffusion Score:", res["pulmonary_diffusion_score"], "/ 100")
print("Severity:", res["clinical_severity"])MCP Server Integration
Add to your claude_desktop_config.json or OpenClaw tool registry:
{
"mcpServers": {
"alveolar-capillary-diffusion": {
"command": "python",
"args": ["/path/to/genpark-personal-agent-alveolar-capillary-diffusion-dlco-skill/mcp_server.py"]
}
}
}License
MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Cardiopulmonary exercise test (CPET) analysis: ventilatory thresholds, metrics and substrate use.
AMA Guides 5th Edition medical WPI from clinician-confirmed spine DRE and upper limb motion.
Deterministic fitness calculators — TDEE, adaptive TDEE, body fat, 1RM, macros — with consensus.
The adaptive health-messaging engine for apps and agents. Federally-sourced. Not medical advice.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables computational pulmonary physiology assessment of DLCO, hemoglobin-normalized diffusion, KCO, and a pulmonary diffusion resilience score for altitude and cardiorespiratory guidance.7MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables assessment of maximal inspiratory and expiratory pressures against normative predictions, calculation of a diaphragmatic resilience score, and generation of inspiratory muscle training prescriptions.MIT
- AlicenseNot gradedqualityBmaintenanceEnables deterministic calculation of exertional Inspiratory Capacity drop, End-Expiratory Lung Volume air trapping, and ventilatory mechanics reserve through JSON-RPC tools for LLMs and autonomous agents.7MIT
- FlicenseNot gradedqualityBmaintenanceEnables deterministic calculation and interpretation of spirometry flow-volume loop metrics, including FEF25-75/MMEF, FEV1/FVC, and FEF50/FIF50 ratio, to classify obstructive patterns and small-airway or upper-airway limitations.7-