Icdwise

io.github.qinisolabs由 GitHub 帳號 qinisolabs 發布v0.1.1更新於 Oct 24, 2026

Verified ICD-10-CM code lookup & validation for AI agents — official descriptions, not guesses.

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理依據美國官方 ICD-10-CM 代碼集查詢、驗證與反向檢索診斷代碼,而不是憑猜測作答。

可以做什麼
查詢某個 ICD-10-CM 代碼的官方描述、標準寫法與三位類別,帶不帶點均可。驗證代碼是否既格式正確又存在於官方代碼集中。依關鍵字檢索,找出與某病症對應的代碼。每次回應都會回報所用的資料集版本,未知或已停用的代碼會誠實回傳找不到。
適用情境
當助理需要引用或核對美國醫療內容、理賠或病歷中的 ICD-10-CM 診斷代碼,且準確性比聽起來合理的答案更重要時使用。它不適用於臨床決策或計費判定。
執行需求
透過 npx 以 stdio 在本機執行(需要 Node.js),也可作為 npm 套件使用。無需帳號、API 金鑰或機密資訊;完整代碼集已內建,本地套件無需網路存取。
安裝前請注意
不構成醫療建議,也不判定可計費性、保險給付範圍或臨床適當性。僅涵蓋 ICD-10-CM(美國臨床修訂版),不包含 ICD-10(WHO)或 ICD-11。README 另宣傳一個託管端點;本地套件本身據稱不發起網路請求、不收集資料。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Qiniso]

icdwise

Verified ICD-10-CM code lookup & validation for AI agents — official descriptions, not guesses.

Verified, trustworthy data tools for AI agents. "Qiniso" means "truth" in Zulu.

Website · npm · MCP endpoint · MCP Registry


Ask an LLM what an ICD-10-CM code means and it will answer confidently — and often wrongly: the wrong laterality, the wrong severity, the wrong condition entirely, and it will happily invent a description for a code that doesn't exist. icdwise looks the code up in the official U.S. ICD-10-CM code set and returns the real description — or an honest "not found" instead of a guess.

Asked to describe real ICD-10-CM codes, a frontier model with no tools was wrong ~38% of the time — e.g. it called H40.1131 "severe stage, right eye" (it's mild, bilateral) and T63.011A "ingested mushrooms" (it's rattlesnake venom) — and it fabricated a description for a code that doesn't exist. icdwise: the official text, or "not found." Never a guess.

Add it to Claude

Settings → Connectors → Add custom connector, and paste — no login, no key:

https://icdwise.qinisolabs.workers.dev/mcp

Stateless, reads no user data, requires no secrets. Prefer to run it locally over stdio? Add { "command": "npx", "args": ["-y", "icdwise"] } under mcpServers in your client config.

Use it as a library

bash
npm i icdwise
ts
import { lookupIcd10, validateIcd10, searchIcd10 } from "icdwise";
lookupIcd10("E11.9").description;     // "Type 2 diabetes mellitus without complications"lookupIcd10("H40.1131").description;  // "Primary open-angle glaucoma, bilateral, mild stage"validateIcd10("E11.99").valid;        // false — well-formed but not a real codesearchIcd10("generalized anxiety");   // → [{ code: "F41.1", description: "Generalized anxiety disorder" }, ...]

Codes are accepted with or without the dot (E11.9 or E119). A well-formed code that isn't in the official set returns found: false with a clear note — it never invents a description.

Tools — 3

ToolWhat it answers
lookup_icd10The official description of a code (+ canonical form and 3-char category)
validate_icd10Is this a real ICD-10-CM code? (well-formed and in the official set)
search_icd10Reverse lookup — find the code(s) for a condition by keywords

Data

ICD-10-CM is U.S. public-domain data (NCHS/CMS). The full code set (~74,000 codes) is bundled and generated from the official CMS release via npm run build-data <icd10cm-codes-YYYY.txt> (see scripts/build-data.mjs); every response reports the datasetVersion it used. Descriptions are the official text — the curated, versioned dataset kept current is the moat.

What it is not

  • Not medical advice, and not a determination of billability, coverage, or clinical appropriateness.
  • Not ICD-10 (WHO) or ICD-11 — this is ICD-10-CM (the U.S. Clinical Modification).
  • Not a guesser — unknown/retired/non-leaf codes return an honest "not found", never a fabricated description.

Architecture

A single TypeScript package exposing one MCP server over two transports — stdio (local / npx) and a Cloudflare Worker (hosted edge endpoint) — both driven by the same core.ts tool definitions, which also power the importable library.

bash
npm installnpm run buildnpm test

Privacy

This tool runs locally on your machine and is built not to collect, store, or transmit your data — no analytics, no telemetry, no account. All reference data is bundled — no network calls, and nothing leaves your device. Full policy: https://qinisolabs.github.io/privacy.html.

License

Apache-2.0. ICD-10-CM data is U.S. public domain (NCHS/CMS); see NOTICE.

來源:README.md,提交 c822a28

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分