Icd Mcp

io.github.stayce由 GitHub 帳號 stayce 發布v1.0.0更新於 Oct 24, 2026

WHO ICD-10/ICD-11 diagnosis codes. Lookup, search, chapters via official WHO API.

已驗證Streamable HTTP可網頁執行知識與記憶資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,透過單一工具讓助理查詢 WHO ICD-10 與 ICD-11 診斷碼、搜尋、自動編碼並瀏覽分類階層。

可以做什麼
查詢 ICD-10 或 ICD-11 代碼,取得定義、編碼說明、包含與排除項目,並驗證代碼是否存在及其在階層中的層級。依關鍵字搜尋代碼,並將自由文字臨床描述自動編碼為附信心分數的 ICD-11 代碼。瀏覽章節、子代碼與上層路徑,查看代碼在分類樹中的位置。閱讀內建編碼規則主題以及各分類體系的概觀。透過同一工具呼叫原始 WHO API 並取得操作說明。
適用情境
適合需要在 AI 對話中取得 ICD-10 或 ICD-11 代碼、驗證或階層脈絡的醫療 IT 開發者、編碼人員、分析師與研究人員,也適合在 ICD-10 轉換至 ICD-11 期間並行使用兩套體系。
執行需求
遠端 MCP 端點;託管服務未宣告需要本機執行環境、帳號或 API 金鑰。自行部署需複製專案、Node.js 與 npm、免費的 WHO ICD API Client ID 與 Secret(以 WHO_CLIENT_ID 和 WHO_CLIENT_SECRET 儲存),並部署到 Cloudflare Workers。
安裝前請注意
託管端點為第三方基礎設施,臨床文字與代碼查詢會傳送至該服務並轉送至 WHO API,請勿提交可辨識病人身分的資訊。自動編碼結果是附信心分數的建議,並非已確認的診斷。自行部署需要 WHO_CLIENT_ID 與 WHO_CLIENT_SECRET 密鑰,應避免提交至程式碼儲存庫。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Icd Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.stayce%2Ficd-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "icd": {
      "type": "http",
      "url": "https://icd-mcp-server.staycek.workers.dev/mcp"
    }
  }
}

README

ICD MCP Server

Give any AI assistant instant access to the WHO ICD-10 and ICD-11 classification systems — the global standard behind every diagnosis code, hospital bill, and mortality statistic on earth.

12 actions. Both ICD versions. One tool call.

[CI] [MCP] [Cloudflare Workers] [License: MIT]

https://mcp-icd.medseal.app/mcp

What Can It Do?

Autocode clinical text into ICD-11 codes

Paste free-text clinical descriptions and get the right code back. No more manual lookups.

json
{"action": "autocode", "query": "acute bronchitis with fever"}→ CA20 Acute bronchitis (92.3% confidence)
{"action": "autocode", "query": "patient presents with chest pain and shortness of breath"}→ MD81 Chest pain (87.1% confidence)

Look up any ICD-10 or ICD-11 code instantly

Get definitions, coding notes, inclusions, exclusions — everything a coder needs.

json
{"action": "lookup", "code": "BA00"}→ BA00: Lobar pneumonia — full definition, coding notes, inclusions/exclusions
{"action": "lookup", "code": "J18.9", "version": "10"}→ J18.9: Pneumonia, unspecified (ICD-10)

Search by keyword

Don't know the code? Describe it and get ranked results.

json
{"action": "search", "query": "type 2 diabetes with kidney complications"}→ Ranked ICD-11 results with codes and titles
{"action": "search", "query": "melanoma", "chapter": "02", "max_results": 5}→ Filtered to neoplasm chapter

Browse the classification like a tree

Navigate interactively — see any code's parent, children, and where it sits in the hierarchy.

json
{"action": "browse"}→ All 28 ICD-11 chapters (or 21 ICD-10 chapters)
{"action": "browse", "code": "BA00"}→ Parent context + sub-categories with ▸ expansion markers

Trace a code's full lineage

Walk from any leaf code all the way up to its chapter root.

json
{"action": "ancestors", "code": "BA01.0"}→ BA01.0 → BA01 → BA0Y-BA2Z → Diseases of the respiratory system → Chapter 12

Validate codes instantly

Quick yes/no — is this a real code? Is it a leaf or a category?

json
{"action": "validate", "code": "BA00"}→ Valid ICD-11 code, category level, has sub-codes
{"action": "validate", "code": "XYZ99"}→ Not a valid ICD-11 code

Built-in coding rules reference

No need to leave the conversation for coding guidelines.

json
{"action": "coding_rules", "topic": "extension_codes"}→ Full guide to ICD-11 severity, temporality, anatomy, histopathology codes
{"action": "coding_rules", "topic": "clustering"}→ How to combine codes with & and / operators
{"action": "coding_rules", "topic": "dagger_asterisk"}→ ICD-10 etiology/manifestation dual coding system

Available topics: extension_codes, clustering, sequencing, dagger_asterisk, postcoordination

Get the big picture

High-level summaries of each classification system — chapter tables, key concepts, what's different.

json
{"action": "overview"}→ ICD-11: 28 chapters, postcoordination, extension codes, what changed from ICD-10
{"action": "overview", "version": "10"}→ ICD-10: 21 chapters, code ranges, dagger/asterisk system

All 12 Actions at a Glance

ActionWhat it doesICD-10ICD-11
lookupFull code details with definitionsYesYes
searchFind codes by keyword-Yes
autocodeClinical text → best matching code-Yes
browseNavigate the hierarchy interactivelyYesYes
chaptersList all classification chaptersYesYes
childrenGet sub-codes under any codeYesYes
ancestorsTrace lineage up to chapter rootYesYes
validateCheck if a code exists and its levelYesYes
coding_rulesCoding conventions referenceYesYes
overviewClassification system summaryYesYes
apiRaw WHO API accessYesYes
helpAction reference and examples--

Who Is This For?

  • Health IT developers building clinical apps, EHRs, or coding tools
  • Medical coders who want AI-assisted code lookup and validation
  • Health data analysts exploring classification structures
  • Researchers working with WHO mortality/morbidity data
  • AI/LLM builders adding medical coding capabilities to agents
  • Anyone transitioning from ICD-10 to ICD-11 and needing both systems side by side

Quick Start

Use the hosted server (fastest)

Add to your Claude Desktop claude_desktop_config.json:

json
{  "mcpServers": {    "icd": {      "type": "url",      "url": "https://mcp-icd.medseal.app/mcp"    }  }}

Or connect from any MCP-compatible client using https://mcp-icd.medseal.app/mcp.

Deploy your own

  1. Clone and install:

    bash
    git clone https://github.com/stayce/icd-mcp-cloudflarecd icd-mcp-cloudflarenpm install
  2. Get WHO API credentials (free):

  3. Set secrets and deploy:

    bash
    wrangler secret put WHO_CLIENT_IDwrangler secret put WHO_CLIENT_SECRETnpm run deploy

That's it. Runs globally on Cloudflare's edge network.


Why This MCP?

Token efficient. One tool, 12 actions. No bloated tool lists eating context windows.

Both ICD versions. ICD-10 is still used for billing everywhere. ICD-11 is the future. You need both. Default is ICD-11; add "version": "10" for ICD-10.

Official WHO data. Direct from the WHO ICD-API — not a stale copy or a scraped dataset.

Autocode is the real deal. The WHO's own autocoding engine, not a keyword hack. Give it clinical text, get the right code.

Zero cold starts. Cloudflare Workers, not a container. Sub-50ms globally.


ICD-10 vs ICD-11

ICD-10ICD-11
Adopted19902019
Codes~14,400~17,000
FormatA00.0–Z99.9BA00, 1A00.1
SearchNot supported by WHO APIFull-text + flexisearch
AutocodingNot availableYes
Key featureDagger/asterisk dual codingPostcoordination + extension codes
StatusStill dominant in billingOfficially in effect since Jan 2022

This server defaults to ICD-11 but fully supports both. Use "version": "10" for ICD-10 queries.


Part of the MedSeal MCP Suite

ServerClassificationLink
ICD MCP (this)WHO ICD-10/ICD-11 diagnosis codesicd-mcp-cloudflare
ICF MCPWHO ICF functioning & disabilityicf-mcp-cloudflare
Part D MCPCMS Medicare Part D drug spendingpartd-mcp-cloudflare

All deployed on Cloudflare Workers. All open source. All MCP-compatible.


License

MIT

來源:README.md,提交 8f80904

工具

1

icd

輸入參數codepathqueryaction必填chapterversionmax_results

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分