npm icdwisestdioApache-2.0updated 2mo ago
Verified ICD-10-CM code lookup & validation for AI agents โ official descriptions, not guesses.
What can you do with icdwise?
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) andT63.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
npm i icdwise
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 code
searchIcd10("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
| Tool | What it answers |
|---|---|
| lookup_icd10 | The official description of a code (+ canonical form and 3-char category) |
| validate_icd10 | Is this a real ICD-10-CM code? (well-formed and in the official set) |
| search_icd10 | Reverse 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.
npm install
npm run build
npm 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.
Install
Add icdwise to your client. Pick the one you use.
claude mcp add icdwise -- npx -y icdwisecodex mcp add icdwise -- npx -y icdwiseamp mcp add icdwise -- npx -y icdwise{
"mcpServers": {
"icdwise": {
"command": "npx",
"args": [
"-y",
"icdwise"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"icdwise": {
"command": "npx",
"args": [
"-y",
"icdwise"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"icdwise","command":"npx","args":["-y","icdwise"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"icdwise": {
"command": "npx",
"args": [
"-y",
"icdwise"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"icdwise": {
"command": "npx",
"args": [
"-y",
"icdwise"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"icdwise": {
"command": "npx",
"args": [
"-y",
"icdwise"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"icdwise": {
"type": "local",
"command": "npx",
"args": [
"-y",
"icdwise"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"icdwise": {
"command": {
"path": "npx",
"args": [
"-y",
"icdwise"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y icdwiseRun `goose configure`, choose **Add Extension โ Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation21/25
- Maintenance16/25
- Trust16/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 71 days ago
- Has a release history
- Repository is not archived
- Licensed Apache-2.0
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 0.1.1Latest | Jun 18, 2026 |