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 分