Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Stdio MCP server for MCHS schemas, validation, support status, and evidence.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mchs": {
"command": "uvx",
"args": [
"nwau-py"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mchs": {
"type": "stdio",
"command": "uvx",
"args": [
"nwau-py"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 edithatogo 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
MCP server that checkpoints Claude Code session context to survive crashes and token limits
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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 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.
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:
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.gradle -p bindings/jvm tasks --allgradle -p bindings/jvm publishAllPublicationsToCentralPortalRepository --dry-run --console=plainAs of 2026-05-26:
| Surface | Distribution evidence | Registry state |
|---|---|---|
Python package (nwau-py) | pyproject.toml, release workflow, and PyPI badge links | Published on PyPI at nwau-py 0.2.2 |
Conda package (nwau-py) | conda/recipe/meta.yaml | Recipe-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.yml | Published 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.toml | nwau-core Published on crates.io at 0.1.0; nwau-c-abi and nwau-py remain local/private scaffolds |
@edithatogo/mchs-wasm-binding package manifest | wasm-binding/package.json | Published on npm at 0.1.0 |
| R / Julia / Scala / Spark / Swift / Stata / MATLAB / Kotlin-Native / Power Platform | Track 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.
Each module below mirrors a SAS program from the IHACPA package.
| Module | SAS source | Notes |
|---|---|---|
acute | NWAU25_CALCULATOR_ACUTE.sas | Calculates NWAU25 for acute admitted episodes. Implements ICU hour logic, length of stay categories and private patient adjustments using the current tabular Python execution paths. |
ed | NWAU25_CALCULATOR_ED.sas | Handles Emergency Department/Service activity. Supports UDG and AECC classifications with remoteness and indigenous adjustments. |
mh | NWAU25_CALCULATOR_MH.sas | Implements the mental health consumer model. Applies private patient services and accommodation adjustments. |
subacute | NWAU25_CALCULATOR_SUBACUTE.sas | Calculates NWAU25 for subacute admitted activity based on SNAP. |
outpatients | NWAU25_CALCULATOR_OUTPATIENTS.sas | For non‑admitted clinic activity. Applies remoteness and indigenous adjustments. |
adjust | Calculate Adjusted NWAU.sas | Combines 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.
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.
| Calculator | SAS program | Python | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acute | NWAU25_CALCULATOR_ACUTE.sas | ✓ | ✓ | ✓ | ||||||||||
| ED | NWAU25_CALCULATOR_ED.sas | ✓ | ✓ | ✓ | ||||||||||
| MH | NWAU25_CALCULATOR_MH.sas | ✓ | ✓ | ✓ | ||||||||||
| Subacute | NWAU25_CALCULATOR_SUBACUTE.sas | ✓ | ✓ | ✓ | ||||||||||
| Outpatients | NWAU25_CALCULATOR_OUTPATIENTS.sas | ✓ | ✓ | ✓ | ||||||||||
| Adjustment | Calculate Adjusted NWAU.sas | ✓ | ✓ | ✓ | ||||||||||
| Readmission | Avoidable 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.
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.
The calculators rely on several core Python packages:
The active development stack also uses:
Use uv run to execute tools inside the project environment:
uv run pytest
uv run ruff check . uv run ty check
Dependency updates are reviewed through Renovate, and documentation or validation claims are checked with Vale before they are merged.
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.
| Year | SAS archive | Verified weights | Validated Python |
|---|---|---|---|
| 2014 | ✅ | ❌ | ❌ |
| 2015 | ✅ | ❌ | ❌ |
| 2016 | ✅ | ❌ (sample only) | ❌ |
| 2017 | ✅ | ❌ | ❌ |
| 2018 | ✅ | ✅ (sample) | ❌ |
| 2019 | ✅ | ✅ (sample) | ❌ |
| 2020 | ✅ | ❌ | ❌ |
| 2021 | ✅ | ❌ | ❌ |
| 2022 | ✅ | ❌ | ❌ |
| 2023 | ✅ | ❌ | ❌ |
| 2024 | ✅ | ✅ | ✅ |
| 2025 | ✅ | ✅ | ✅ |
archive/sas/ /. Rename the folder so only the year remains.只显示了开头部分;其余内容请在仓库中阅读