プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のための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の3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • PyPIPythonの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

  • このカテゴリのほかの32602件のうち0%よりスターが多い
  • このカテゴリのほかの32602件のうち9%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32602件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MCHS NWAU Calculatorは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.2.2)がレジストリに届いたのは6 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Rystic

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

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

クラウドで動く★ 211一昨日更新
インストール

Rystic

作者:Rystic-Inc

Start, seed, clock, inspect and diff Rystic API simulators from your agent.

パソコンで動く今日更新
インストール

作者の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に聞く