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.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"mchs": {
"command": "uvx",
"args": [
"nwau-py"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add mchs -- uvx nwau-pyวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"mchs": {
"command": "uvx",
"args": [
"nwau-py"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"mchs": {
"type": "stdio",
"command": "uvx",
"args": [
"nwau-py"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub edithatogo ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.2) เข้า registry 6 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Python MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Local-only Python MCP server for the Files.com API.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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.ตัดมาแค่ช่วงต้น อ่านต่อใน repo