HT

healthymind-tech/taiwan-health-mcp

Developer tools
170 stars 24 forks Quality 73 Trend 14MIT

台灣醫療健康資料整合 MCP 伺服器 整合 ICD-10-CM/PCS、SNOMED CT、LOINC、台灣 FDA 藥品 / 健康補充品 / 食品營養,以及 FHIR R4 IG 授權與驗證工具

Overview

台灣醫療健康資料整合 MCP 伺服器 整合 ICD-10-CM/PCS、SNOMED CT、LOINC、台灣 FDA 藥品 / 健康補充品 / 食品營養,以及 FHIR R4 IG 授權與驗證工具

README

Taiwan Health MCP Server

繁體中文 · English

台灣醫療健康資料整合 MCP 伺服器 整合 ICD-10-CM/PCS、SNOMED CT、LOINC、台灣 FDA 藥品 / 健康補充品 / 食品營養,以及 FHIR R4 IG 授權與驗證工具

官網 · 文件 · 快速連線 · 自行部署

https://github.com/user-attachments/assets/13527dd9-72ac-4e36-9868-7967399d4041

以官方 TypeScript MCP SDK(@modelcontextprotocol/sdk)建構的 Node.js 伺服器,對外提供 73 個工具,涵蓋 12 個工具群組。專為高吞吐量的生產級 SaaS 部署設計。

快速連線

不想自己架設,可以直接連官方端點 https://tw-health-mcp.healthymind-tech.com/mcp(MCP streamable-http)。

Claude Code

claude mcp add --transport http taiwan-health https://tw-health-mcp.healthymind-tech.com/mcp

Claude Desktop / claude.ai:在「設定 → 連接器」新增自訂連接器,貼上上面的端點網址。

其他支援 MCP streamable-http 的客戶端,填入同一個網址即可。要在自己的環境部署,請看自行部署。

六大面向

架構

flowchart LR
  subgraph clients["客戶端"]
    agent["AI agentClaude · ChatGPT · Cursor"]
    openapi["OpenAPI 客戶端Open WebUI"]
    admin["管理者"]
  end
  subgraph stack["docker compose"]
    nginx["nginx :8080單一入口"]
    app["appMCP server + 管理 API"]
    web["web-v2管理後台 SPA"]
    worker["admin-worker匯入與嵌入"]
    pg[("PostgreSQL 16 + pgvector經 pgBouncer")]
    redis[("Redis即時事件")]
    minio[("MinIO來源檔與藥品資產")]
    nginx --> app
    nginx --> web
    app --> pg
    worker --> pg
    app  redis
    worker  redis
    worker --> minio
  end
  agent -- "/mcp" --> nginx
  openapi -- "/openapi.json · /tools/*" --> nginx
  admin -- "/admin" --> nginx
  worker -.-> ext["嵌入模型 · OCR · Analysis LMTFDA Open Data"]
  app -.-> fhir["外部 FHIR 伺服器"]
  • 後端全部是 Node.js / TypeScript(node-server/):app 提供 MCP 與管理 API,admin-worker 執行所有匯入與嵌入工作。本專案已無 Python 執行期相依。
  • 管理後台是 Vite + React + Mantine 的 SPA(web-v2/);舊的 Next.js web/ 只留在 compose profile legacy-web 供回滾。
  • 工具依各模組資料載入狀態自動註冊;嵌入模型無法連線時,搜尋自動退回關鍵字。
  • 指標以 Prometheus 格式輸出(METRICS_PORT,預設只綁 localhost)。
  • 宣傳頁與法務頁(/、/status、/privacy、/dpa)由獨立的官網提供,不在本專案。

自行部署

git clone https://github.com/healthymind-tech/Taiwan-Health-MCP.git
cd Taiwan-Health-MCP
cp .env.example .env                          # 設定 POSTGRES_PASSWORD、ADMIN_* 等
docker compose up -d

啟動後 MCP 端點是 http://:8080/mcp,到 http://:8080/admin 登入管理後台匯入資料。完整說明見部署指南。

文件

完整文件請見 docs/,線上版由 MkDocs 發佈於 GitHub Pages(設定見 mkdocs.yml)。

致謝

  • 台灣衛生福利部、TFDA
  • Regenstrief Institute(LOINC)
  • SNOMED International
  • National Library of Medicine(RxNorm / UMLS)
  • HL7 International(FHIR)
  • WHO
View the full README on GitHub

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →