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
This server cannot be deployed
Maintenance
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.
Aircraft intelligence for AI agents: valuations with uncertainty bands, FAA registry lookups, cost of ownership, comparable aircraft, fleet search, airworthiness directives and STCs, market metrics and forecasts, verified value reports, pre-buy diligence checklists, logbook search and a watchlist. 38 tools; free tier with OAuth or a Windsock API key.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables 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.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to deterministically calculate Pelli-Robson log contrast sensitivity scores, Weber contrast thresholds, visual functional acuity, and photopic glare recovery metrics through JSON-RPC tooling.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables non-invasive deterministic evaluation of respiratory inertance, dynamic compliance, resonant frequency, and mechanical work of breathing through an MCP JSON-RPC tool for LLM and autonomous-agent use.7MIT