原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCHS NWAU Calculator

作者:edithatogo版本 0.2.2i★ –i在你的电脑上运行
注册名称io.github.edithatogo/mchs

安装

概览

作者提供的说明(英文原文)

Stdio MCP server for MCHS schemas, validation, support status, and evidence.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "mchs": {
      "command": "uvx",
      "args": [
        "nwau-py"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add mchs -- uvx nwau-py

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "mchs": {
      "command": "uvx",
      "args": [
        "nwau-py"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "mchs": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "nwau-py"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 edithatogo 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32661 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32661 个服务器的 9% 更新
  • 基础检查结果等于或优于此分类中其他 32661 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCHS NWAU Calculator 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.2)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Claude Checkpoint MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Claude Checkpoint MCP

作者:daniel-munoz

MCP server that checkpoints Claude Code session context to survive crashes and token limits

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

NWAU Calculator

Contributing | Security | Code of Conduct | Citation

This project provides Python translations of the IHACPA SAS funding calculators. Modules cover acute, emergency department, mental health, subacute and outpatient activity along with HAC and AHR adjustment logic. The implementation is being brought into explicit parity with the official SAS calculators, but validation is tracked per calculator and year rather than claimed as complete across the whole repository. The current implementation still uses pandas-based paths, while the longer-term data stack is moving toward Arrow-backed interchange and Polars where parity work allows it. A lightweight command line interface is available via the funding-calculator script.

The public documentation site is published from the Starlight scaffold in docs-site/ and serves as the canonical docs front door. The GitHub Pages deployment path is wired through .github/workflows/docs-site.yml. Open the docs at https://edithatogo.github.io/mchs/.

Releases

Releases are tag-driven and start from v0.2.0-style tags. The repo uses release drafts for notes and a release workflow to build distributions and publish GitHub Releases from tagged commits. Tagged releases also trigger Python package publishing to PyPI through trusted publishing. The Rust GA workflow also publishes Rust artifacts to GitHub Releases, but crates.io submission is not wired in this repository yet. The conda-forge recipe draft is maintained under conda/recipe/; new conda packages are currently recipe-only until a staged-recipes PR is accepted and the package appears on the public channel; users should treat conda-forge as unpublished until that registry record exists. All release claims still depend on the CI and validation gates passing for the tagged source.

Maven Central readiness

The JVM binding has repo-side Maven publishing metadata and a manual GitHub Actions workflow. Maven Central publication is still not claimed because the external Central Portal account gates remain open:

  • a registered Central Portal namespace for the publishable JVM coordinates;
  • CENTRAL_PORTAL_DEPLOY_URL, CENTRAL_PORTAL_USERNAME, and CENTRAL_PORTAL_PASSWORD provisioned in the release secret store;
  • MAVEN_SIGNING_KEY and MAVEN_SIGNING_PASSWORD provisioned in the release secret store.
  • Local JVM readiness checks use exact Gradle commands:
  • gradle -p bindings/jvm tasks --all
  • gradle -p bindings/jvm publishAllPublicationsToCentralPortalRepository --dry-run --console=plain
  • Real publish attempts fail closed unless deploy URL, credentials, and signing secrets are supplied; dry-runs are intentionally credential-free.

Package registry status

As of 2026-05-26:

SurfaceDistribution evidenceRegistry state
Python package (nwau-py)pyproject.toml, release workflow, and PyPI badge linksPublished on PyPI at nwau-py 0.2.2
Conda package (nwau-py)conda/recipe/meta.yamlRecipe-only (not yet conda-forge published)
MCP stdio server (mchs-mcp)nwau_py/mcp_server.py, contracts/mcp/registry/server.json, .github/workflows/publish-mcp-registry.ymlPublished to the official MCP Registry as io.github.edithatogo/mchs version 0.2.2; Rust formula execution is opt-in for MCP acute 2025 only
Rust crates (nwau-core, nwau-c-abi, nwau-py)rust/crates/*/Cargo.tomlnwau-core Published on crates.io at 0.1.0; nwau-c-abi and nwau-py remain local/private scaffolds
@edithatogo/mchs-wasm-binding package manifestwasm-binding/package.jsonPublished on npm at 0.1.0
R / Julia / Scala / Spark / Swift / Stata / MATLAB / Kotlin-Native / Power PlatformTrack specs in conductor/tracks/*Private / roadmap-only; no registry artifacts claimed

Do not state registry submission success (including crates.io, npm, CRAN, NuGet, etc.) unless a registry page exists and is linked in evidence.

The repository also contains a Rust workspace scaffold for calculator-core migration. Python remains the current validated runtime path until Rust parity is proven calculator by calculator. The intended architecture is a polyglot library: a shared Rust calculator core with thin bindings or adapters for Python, Rust, R, Julia, C#/.NET, Go, TypeScript/WASM, Java/JVM, C ABI, SQL/DuckDB, SAS interoperability, CLI/file workflows, web demos, and Power Platform orchestration. Those surfaces must consume shared contracts and validation fixtures rather than duplicating formula logic.

The CLI exposes an explicit runtime selector for calculation commands: --runtime python|rust|auto, with NWAU_RUNTIME available for CI or automation overrides. Python remains the default. The only Rust-backed CLI slice currently promoted is opt-in acute 2025 CSV execution; unsupported Rust requests fail closed rather than falling back silently. See docs/roadmaps/rust-cli-runtime-boundary.md for the support boundary.

The MCP stdio server keeps its Python transport shim for registry-compatible local execution, but mchs.calculate can opt into the same Rust acute 2025 formula slice with options.runtime = "rust". MCP support-status resources distinguish the Python stdio transport from Rust-backed formula execution. No CLI or MCP Rust-default claim is made; the promotion matrix in contracts/runtime/rust-cli-mcp-promotion-matrix.json keeps Rust default promotion blocked until cross-surface evidence covers unsupported calculators, years, formats, diagnostics, and rollback.

Calculator modules

Each module below mirrors a SAS program from the IHACPA package.

ModuleSAS sourceNotes
acuteNWAU25_CALCULATOR_ACUTE.sasCalculates NWAU25 for acute admitted episodes. Implements ICU hour logic, length of stay categories and private patient adjustments using the current tabular Python execution paths.
edNWAU25_CALCULATOR_ED.sasHandles Emergency Department/Service activity. Supports UDG and AECC classifications with remoteness and indigenous adjustments.
mhNWAU25_CALCULATOR_MH.sasImplements the mental health consumer model. Applies private patient services and accommodation adjustments.
subacuteNWAU25_CALCULATOR_SUBACUTE.sasCalculates NWAU25 for subacute admitted activity based on SNAP.
outpatientsNWAU25_CALCULATOR_OUTPATIENTS.sasFor non‑admitted clinic activity. Applies remoteness and indigenous adjustments.
adjustCalculate Adjusted NWAU.sasCombines base NWAU with Hospital Acquired Complication (HAC) and Avoidable Hospital Readmission (AHR) adjustments.

Historical SAS calculators from IHACPA should be extracted to archive/sas/ /. Rename the downloaded directory so only the year remains (for example archive/sas/2025). Each folder then contains the original SAS programs and data tables for that pricing year.

Calculators

The project includes Python versions of each funding calculator. The table below lists the corresponding SAS programs and shows which pricing years have validated weights and formulas.

CalculatorSAS programPython201420152016201720182019202020212022202320242025
AcuteNWAU25_CALCULATOR_ACUTE.sas✓✓✓
EDNWAU25_CALCULATOR_ED.sas✓✓✓
MHNWAU25_CALCULATOR_MH.sas✓✓✓
SubacuteNWAU25_CALCULATOR_SUBACUTE.sas✓✓✓
OutpatientsNWAU25_CALCULATOR_OUTPATIENTS.sas✓✓✓
AdjustmentCalculate Adjusted NWAU.sas✓✓✓
ReadmissionAvoidable Hospital Readmission Grouper 030.sas✓✓✓

Weights and formulas are currently verified for 2024 and 2025. Earlier years remain in progress until their outputs are validated against trusted reference material.

Installation

The preferred development workflow uses uv:

uv sync --locked --group dev --group test --group coverage --group typing --group property --group mutation --group profiling --group docs

Published releases are available from PyPI:

python -m pip install nwau-py

After the conda-forge staged-recipes submission is accepted and the package is publicly available, conda users can install with:

conda install -c conda-forge nwau-py

Extract the official SAS calculators under archive/sas/ / so the Python modules can load the reference tables for each year.

Dependencies

The calculators rely on several core Python packages:

  • NumPy for numerical helpers
  • Pandas for legacy tabular paths that remain under parity validation
  • Polars and PyArrow for Arrow/Parquet interoperability and the newer bundle layer
  • LightGBM for readmission risk scoring

The active development stack also uses:

  • uv for environment and dependency management
  • Ruff for linting and formatting
  • ty for type checking
  • pytest and Codecov for test execution and coverage reporting
  • Hypothesis for property-based tests
  • mutmut for mutation testing
  • Scalene for profiling

Use uv run to execute tools inside the project environment:

uv run pytest

uv run ruff check . uv run ty check

Maintenance automation

Dependency updates are reviewed through Renovate, and documentation or validation claims are checked with Vale before they are merged.

Historical data

Place each year's SAS calculator under archive/sas/ / and ensure the folder name is just the year. After extraction the directory should contain the SAS programs and reference tables for that pricing year.

The Excel workbooks may also be archived under excel_calculator/archive/ for historical comparison. A helper script (excel_calculator/scripts/extract_all.py) can recreate weights.csv and formula.json from the workbooks but this is only required when reproducing the original spreadsheets.

Directory layout


archive/

sas/ / # SAS reference tables excel_calculator/ data/ weights.csv # default (current year) formula.json /weights.csv /formula.json

Dropping the SAS folder and matching `weights.csv`/`formula.json` files for a

new edition is all that's required to add support for that year.

The repository currently includes verified weights and formulas for the 2024 and 2025 editions. Additional years can be added once their outputs are validated.

Data availability matrix
YearSAS archiveVerified weightsValidated Python
2014✅❌❌
2015✅❌❌
2016✅❌ (sample only)❌
2017✅❌❌
2018✅✅ (sample)❌
2019✅✅ (sample)❌
2020✅❌❌
2021✅❌❌
2022✅❌❌
2023✅❌❌
2024✅✅✅
2025✅✅✅
Adding a new pricing year
  1. Extract the SAS calculator for the new edition under archive/sas/ /. Rename the folder so only the year remains.
  2. Copy the Excel workbook to `excel_calc

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx