Taiwan Health MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Taiwan Health MCP ServerFind ICD-10 code for diabetes mellitus"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Taiwan Health MCP Server
台灣醫療健康資料整合 MCP 伺服器 整合 ICD-10-CM/PCS、SNOMED CT、LOINC、台灣 FDA 藥品 / 健康補充品 / 食品營養,以及 FHIR R4 IG 授權與驗證工具
以官方 TypeScript MCP SDK(@modelcontextprotocol/sdk)建構的 Node.js 伺服器,對外提供 49 個工具,涵蓋 11 個工具群組。專為高吞吐量的生產級 SaaS 部署設計。
後端執行環境:整個後端(MCP server、管理後台 REST API、背景 worker、所有資料載入器)皆為 Node.js / TypeScript,程式碼位於
node-server/。前端(公開頁面與管理後台 SPA)為 Next.js,位於web/。本專案已無 Python 執行期相依。
專案特色
台灣在地化資料:台灣 FDA 藥品(含仿單 / 外觀 / OCR + LLM 分析)、健康補充品、食品營養、TWCore IG。
國際術語支援:ICD-10-CM/PCS 2025、SNOMED CT International、LOINC 2.80、FHIR R4。
FHIR IG 授權工具:多 IG(package-scoped)剖面 / ValueSet 查詢、術語驗證、骨架填值(skeleton-fill)資源產生與驗證。
語意 / 混合搜尋:以嵌入模型(預設 Ollama
qwen3-embedding)為基礎,無嵌入時自動退回關鍵字搜尋。動態工具啟用:依各模組資料載入狀態自動註冊 / 移除可用 MCP 工具。
管理後台:可選的 Admin Console(上傳來源檔、執行 / 排程匯入、管理設定與外部 FHIR 伺服器、即時監控背景工作)。
生產部署設計:PostgreSQL 16(pgvector)、pgBouncer、Redis、MinIO、Prometheus、背景 worker,前置 nginx 單一入口。
工具顯示為 available 只代表來源資料已載入,不代表 embedding 已完整。請在 Admin → Modules 檢查各模組的 Embeddings 計數;未完成時搜尋會退回或混用 keyword/BM25。
Related MCP server: sharp-on-fhir-mcp
快速開始
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 -ddocker compose up -d 會啟動:
服務 | 說明 |
| 單一對外入口,預設 |
| Next.js 前端:公開頁面 + |
| Node MCP 伺服器 + 管理後台 REST API( |
| 背景工作執行器(所有匯入與嵌入工作, |
| PostgreSQL 16 + pgvector |
| 連線池(transaction mode) |
| 回應快取 |
| 藥品資產物件儲存 |
重要:
app容器不對主機開放 8000 埠,所有流量都必須經過 nginx。請一律使用http://<host>:8080(或你設定的WEB_PORT)。
程式碼變更後重新部署:
docker compose build app web && docker compose up -d --no-deps app web載入資料(透過管理後台)
資料匯入由 Admin Console 觸發、交由 admin-worker 背景執行(無獨立的 CLI data-loader 容器)。
在
.env啟用管理後台:ADMIN_ENABLED=true ADMIN_USERNAME=admin # 產生密碼雜湊(Node;本專案已無 Python 相依): # node -e "console.log('sha256$' + require('crypto').createHash('sha256').update('change-me').digest('hex'))" # ⚠️ 在 .env 中,每個 $ 都要寫成 $$(Docker Compose 會把 $ 當變數展開, # 當雜湊值以字母開頭時會被靜默截斷)。Compose 會把 $$ 還原成單一 $。 ADMIN_PASSWORD_HASH=sha256$$... ADMIN_SESSION_SECRET=change_this_admin_session_secret重新啟動後(
docker compose up -d),於http://<host>:8080/admin登入。在 Modules 頁籤依模組匯入資料:
需上傳來源檔(在 Sources / Modules 上傳後按匯入):ICD-10-CM/PCS、LOINC、SNOMED CT、RxNorm、FHIR IG(
package.tgz)。由 API 自動抓取(直接按匯入或設定排程):藥品(TFDA,三階段:索引 → 爬取豐富 → OCR/LLM 分析)、健康補充品、食品營養。
嵌入(語意搜尋)為獨立的
*_embed工作,可於各模組頁面執行。嵌入 / OCR / 分析 LLM 的端點在 Settings 頁籤設定(存於admin.llm_profiles,不透過環境變數)。
匯入進度、步驟時間軸與即時日誌可在 Tasks 頁籤查看。詳見管理後台文件與背景工作與排程。
工具群組
群組 | 工具 |
ICD-10 |
|
藥品 / TFDA |
|
檢驗 / LOINC |
|
SNOMED CT |
|
FHIR Condition |
|
FHIR Medication |
|
FHIR IG(授權 / 驗證) |
|
健康補充品 |
|
食品營養 |
|
FHIR 伺服器 |
|
系統 |
|
模組相關工具會依資料載入狀態自動啟用 / 停用;FHIR 伺服器與系統工具則永遠註冊。
除
crud_fhir_server外,所有工具皆為唯讀。crud_fhir_server可對已由管理者登錄的外部 FHIR 伺服器執行寫入(create / update / patch / delete),且必須該伺服器的 allow-list 允許、呼叫端並帶入confirm_write=true。
連接客戶端
兩種介面都經由 nginx 前門提供(預設 :8080):
介面 | 端點 | 適用客戶端 |
MCP(streamable-http) |
| 原生 MCP 客戶端(Claude Desktop、Open WebUI v0.6.31+ 的 MCP 連線等) |
OpenAPI bridge |
| 僅支援 OpenAPI 工具伺服器的客戶端(如 Open WebUI 的 External Tools / OpenAPI 類型) |
/openapi.json 依「目前已啟用的工具」動態產生 OpenAPI 3.1 規格;每個工具對應 POST /tools/<工具名>,以 JSON body 當參數呼叫。客戶端只要填基底網址 http://<host>:8080,即會自動抓取 /openapi.json。
注意:這兩個介面目前皆未強制驗證(與既有設計一致);對外開放時請在前面加反向代理或 token。
資料庫 Schema
audit | admin | icd | drug | health_supplements | food_nutrition | loinc | fhir(multi-IG)| snomed | rxnorm
完整定義見 db/schema.sql(PostgreSQL 容器首次啟動時自動套用),增量變更見 db/migrations/。
管理後台(選用)
預設停用。於 .env 設定 ADMIN_ENABLED=true 並提供 ADMIN_USERNAME / ADMIN_PASSWORD_HASH / ADMIN_SESSION_SECRET 後,可於 /admin 存取,用於上傳來源檔、執行與排程資料匯入、管理設定與外部 FHIR 伺服器,以及監控由 admin-worker 執行的背景工作。詳見 docs/admin/。
開發
# 後端(MCP + admin REST + worker)
cd node-server
npm install
npm run build # tsc -> dist/
npm run typecheck # tsc --noEmit
npm test # node --test(node-server/src/**/*.test.ts)
# 前端(公開頁面 + 管理後台 SPA)
cd web
npm install
npm run build
npm run typecheck文件
完整文件請見 docs/,線上版由 MkDocs 發佈於 GitHub Pages(設定見 mkdocs.yml)。
致謝
台灣衛生福利部、TFDA
Regenstrief Institute(LOINC)
SNOMED International
National Library of Medicine(RxNorm / UMLS)
HL7 International(FHIR)
WHO
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceIntegrates Taiwan-specific medical data including ICD-10 codes, FDA drug databases, and nutrition information into the Model Context Protocol. It enables AI models to query clinical guidelines, verify medical codes, and convert health data into FHIR R4 standardized formats.Last updatedMIT
- Alicense-qualityCmaintenanceA clean-room SHARP-on-MCP compliant FHIR R4 MCP server that enables AI agents to interact with any FHIR R4 endpoint using SHARP context headers, without server-side OAuth. It provides clinical tools, lab results, imaging, and interactive MCP-UI dashboards.Last updatedMIT
- Flicense-qualityDmaintenanceA comprehensive MCP server that bridges AI applications with FHIR healthcare data systems, enabling patient data access, clinical data retrieval, and data quality assessment.Last updated4
- Alicense-qualityBmaintenanceProvides SQL-queryable access to Taiwan's healthcare open data (NHI and Ministry of Health and Welfare procurement) via MCP tools, enabling natural language queries and data analysis.Last updatedMIT
Related MCP Connectors
MCP gateway federating 21 biomedical MCP servers behind one endpoint: gnomAD, ClinVar, HPO, VEP.
Diagnoses, drugs & lab codes: ICD-11, SNOMED, LOINC, RxNorm, MeSH, ATC, CID-10. 37 tools, MIT.
AI-powered medical document management for cancer patients. Google Drive, Gmail, Calendar via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/healthymind-tech/Taiwan-Health-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server