Pulmonary Closing Volume & Nitrogen Washout (SBN2) MCP Server
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.
Pulmonary Closing Volume & Nitrogen Washout (SBN2) Skill
Zero-dependency sovereign personal agent skill for non-invasive evaluation of Single-Breath Nitrogen Washout (SBN2) Closing Volume (CV), Closing Capacity (CC), and early peripheral small airway closure.
flowchart TD
InhaleO2["100% O2 Vital Capacity Inhalation from RV"] --> ExhaleWashout["Slow Exhalation Flow Rate (0.5 L/s)"]
ExhaleWashout --> AnthonisenPhases["Continuous N2 Concentration & Volume Tracing"]
AnthonisenPhases --> Phase3["Phase III Alveolar Slope (%N2/L)"]
AnthonisenPhases --> Phase4["Phase IV Inflection Point (Closing Volume CV)"]
Phase3 & Phase4 --> SmallAirwayEngine["Small Airway Patency & Ventilation Heterogeneity Score"]
SmallAirwayEngine --> Agent["OpenClaw / Hermes Personal Agent Interventions"]Features
Deterministic Math: Pure Python standard library implementation with zero external dependencies.
Pulmonary Physiology Standards: Implements validated equations for Closing Volume percentage, Closing Capacity, and age-predicted reference intervals.
Small Airway Disease Detection: Highly sensitive detection of bronchiolar collapse before changes in $FEV_1$ or $FVC$.
Model Context Protocol (MCP): Native JSON-RPC tool integration for LLMs and autonomous agents.
Related MCP server: Forced Oscillation Technique (FOT / IOS) MCP Server
Quickstart
from client import PulmonaryClosingVolumeClient
client = PulmonaryClosingVolumeClient()
result = client.evaluate_closing_volume(
vital_capacity_l=4.8,
closing_volume_l=0.62,
residual_volume_l=1.35,
phase3_slope_pct_n2_per_l=1.1,
age_years=28
)
print("Closing Volume %:", result["cv_vc_pct"], "%")
print("Small Airway Score:", result["small_airway_score"])
print("Classification:", result["classification"])License
Apache-2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Workflow diagnostics, capability routing, and x402 settlement for MCP-compatible agents.
156 paid-per-call JSON APIs for AI agents over x402: calculators, live data, crypto, security, dev.
26 pay-per-call AI agent tools for marketing, sales, content, research, verification, and integration testing. Agents pay per call via x402 micropayments (USDC on Base), raw JSON in and out. Includes delivery-acceptance receipts (ACCEPT/REJECT/REVIEW), a webhook capture/replay/conformance lab, and n8n workflow validation with bounded JSON-Patch repair.
ERC-8004 agent identity, on-chain subscriptions, reputation, A2A tasks and chat over 53 tools.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables personal agents to deterministically compute respiratory chemoreflex sensitivity from end-tidal CO2 and ventilation changes, classify CO2 tolerance, and assess loop-gain stability through native JSON-RPC tools.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables deterministic calculation and classification of respiratory impedance, peripheral airway resistance (R5–R20), and reactance from oscillometry measurements through JSON-RPC tools for LLM and agent workflows.MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to compute single-breath nitrogen washout results — closing volume (CV/VC %), closing capacity (CC/TLC %), Phase III alveolar slope, and a peripheral small airway patency score — from vital capacity, residual volume, and age inputs. Exposes these deterministic, dependency-free calculations as JSON-RPC tools for LLMs and autonomous agents.7MIT
- 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