medical-codes-mcp-server
io.github.cyanheads/medical-codes-mcp-server
MCP server OK 6 tools
Offline US medical code lookup and crosswalk — ICD-10-CM/PCS, HCPCS Level II, RxNorm. Keyless.
Technical sheet
- Author
- cyanheads (registry namespace)
- Repository
- github.com/cyanheads/medical-codes-mcp-server
- Site
- —
- Version
- 0.5.2
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://medical-codes.caseyjhand.com/mcp Streamable HTTP
- Packages
- @cyanheads/medical-codes-mcp-server 0.5.2 npm stdio
@cyanheads/medical-codes-mcp-server 0.5.2 npm Streamable HTTP - Tools
- 6
- Categories
- Science and health
- Last updated
- 16 Nov 2026
- Published
- 16 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 4 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.cyanheads/medical-codes-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/medical-codes-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/medical-codes-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.cyanheads/medical-codes-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/medical-codes-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/medical-codes-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://medical-codes.caseyjhand.com/mcp
- Last result
- OK 28 Nov 2026, 11:28
- Response time
- 1,102 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- medical-codes-mcp-server 0.5.2
- Tools
- 6
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:28 | OK | 1,102 ms | 6 |
Exposed tools (6, from tools/list, 28 Nov 2026)
medcode_get_code
Get Medical Code
Decode one or more US medical codes to their official descriptions across ICD-10-CM (diagnoses), ICD-10-PCS (inpatient procedures), HCPCS Level II (supplies/drugs/services), and RxNorm (drugs, by RXCUI). Also decodes a National Drug Code (NDC) directly to its RxNorm product offline, tagged `source: "NDC"` — hyphenated in an FDA segment configuration (4-4-2, 5-3-2, 5-4-1, or the 11-digit 5-4-2) or as bare 10/11 digits; any other segment widths are malformed and stay unresolved. Auto-detects the system from each code's shape, and a code written in ICD-10-CM dotted form (`A01.00`) resolves to ICD-10-CM; pass an explicit `system` only when a value is genuinely ambiguous. Accepts 1–50 codes and returns partial success: resolved codes in `found`, unresolved in `notFound` with a per-code reason, so one bad code never fails the batch. Each reply holds `structuredContent` and the text to 24,000 bytes apiece: codes are decoded in request order, and once one has resolved, a code that would carry the reply past that budget is returned unprocessed in `deferred` with every code after it, each as sent — trimmed when its padding alone carries it past 64 characters, and cut to its first 64 trimmed characters and `…` when it is longer than that once trimmed — re-call with `codes` set to `deferred` and the same `system` and `includeHierarchy` until no `deferred` comes back. Three kinds of code are never deferred and can carry a reply past the budget: the first code that resolves, returned whol…
| Parameter | Type | Required | Description |
|---|---|---|---|
| codes | array<string> | yes | Codes to decode (1–50). Mixed systems are fine — each is detected independently. An NDC decodes to its RxNorm product: hyphenated as 4-4-2, 5-3-2, 5-4-1, or 5-4-2, or as bare 10/11 digits. |
| system | enum: "ICD10CM" | "ICD10PCS" | "HCPCS" | "RXNORM" | no | Force every code to be looked up in this system, which also skips the NDC decode. Omit to auto-detect per code. |
| includeHierarchy | boolean | no | When true, attach each found code's parent and immediate children. |
medcode_search_codes
Search Medical Codes
Find US medical codes whose official descriptions match a described concept, via full-text search over the bundled index. Every search term must appear — matched first as a token prefix, then as a substring so inflected and compound forms are also found (a "neuropathy" search surfaces "mononeuropathy"/"polyneuropathy" siblings too, not only a standalone "neuropathy" token). An RxNorm concept matches on its drug name alone, never its term type (SBD, IN, …) — narrow by type with `chapter`. Filter by `system` (ICD10CM/ICD10PCS/HCPCS/RXNORM), `billableOnly` to exclude headers/categories and terminated HCPCS codes, and `chapter`. Use when you have a clinical description and need the code — the reverse of medcode_get_code. Results echo the resolved system per row for chaining, rank exact prefix matches ahead of substring-only matches with a deterministic tie-break, and disclose truncation with a `nextCursor`: pass it back as `cursor` to page through the full ranked set.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Clinical description to match, e.g. "type 2 diabetes with neuropathy". Must not be blank or whitespace-only. A search applies at most its first 1,000 distinct terms (a repeated term counts once); past that, `notice` says how many distinct terms the query carried and that the rest were not applied. |
| system | enum: "ICD10CM" | "ICD10PCS" | "HCPCS" | "RXNORM" | no | Restrict results to one system. Omit to search all bundled systems. |
| billableOnly | boolean | no | When true, return only billable leaf codes (exclude headers/categories and HCPCS codes whose last valid date has passed). RxNorm has no billing concept, so this excludes every RxNorm concept. |
| chapter | string | no | Restrict to a chapter/range bucket (the value from a code's `chapter` field). Case-insensitive: surrounding whitespace is trimmed and the value is upper-cased to match how chapters are stored, and `appliedFilters.chapter` echoes the upper-cased value that actually ran, cut to its first 64 character… |
| limit | integer | no | Max codes per page. Defaults to the server's MEDCODE_MAX_RESULTS (50), ceiling 200. |
| cursor | string | no | Opaque continuation token from a previous response's `nextCursor`, to fetch the next page of the same ranked result set. Omit for the first page. |
medcode_check_code
Check Medical Code
Validate whether a US medical code exists, is current, and is billable in the active bundled release. Returns a discriminated status — valid_billable, valid_not_billable, valid_header, valid, or terminated — with a `whyNot` explaining non-billable and terminated cases (e.g. "valid ICD-10-CM category but not billable — submit a more specific child code"). A HCPCS code is terminated once its last valid date has passed; before then it checks as billable, with that date in `whyNot`. This is the detail a coder needs before submitting a claim. RxNorm has no billing concept, so a current RxNorm concept is `valid` with `billable: null` and no billing verdict. Auto-detects the system from the code's shape, and a code written in ICD-10-CM dotted form (`A01.00`) resolves to ICD-10-CM; pass an explicit `system` to disambiguate. A non-billable or terminated code is a successful result with a whyNot, not an error — only a code absent from the named system, or with no `system` from every bundled system, raises unknown_code, which names the other bundled system that holds the code, or every system the code's shape fits. A value in ICD-9-CM form — a dotted all-digit code (`250.00`, `00.1`) or an external-cause code (`E880.9`) — resolves in no bundled system, with or without `system`, and its miss says ICD-9-CM is not bundled; an ICD-10-PCS section value from medcode_browse_hierarchy (`0`) checked under system ICD10PCS is named as a section, not a code. A code string that also exists in anoth…
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes | The code to validate, with or without dots. Must not be blank or whitespace-only. A value longer than 64 characters once trimmed is longer than any bundled code, so it is not looked up and fails with unknown_code, which echoes its first 64 trimmed characters and "…" with its length. |
| system | enum: "ICD10CM" | "ICD10PCS" | "HCPCS" | "RXNORM" | no | Force the lookup into this system. Omit to auto-detect from the code's shape. |
medcode_map_codes
Map Medical Codes
Crosswalk a US medical code or drug across systems and within a hierarchy. Hierarchy directions: `parents` and `children` walk a code's hierarchy one level per call — immediate parent/children only (depth-1); call iteratively for the full ancestor or descendant path. ICD-10-CM and HCPCS walk the prefix hierarchy, stepping past an ICD-10-CM level padded with the placeholder X that is not itself a code (the parent of `S82.66XA` is `S82.66`); an ICD-10-PCS three-character table row's children are the complete codes that begin with it, and a complete code's parent is its table row; RxNorm concepts have no code hierarchy. A resolvable source with no edge in the requested direction is a successful empty result with a notice, not an error. A source code string that also exists in another bundled system carries `alsoInSystems` naming it, since only the resolved system's hierarchy was walked. Drug directions (RxNorm): `name_to_rxcui` (drug name → RXCUI; one name matches ingredients, combinations, and products alike, each hit tagged with its `conceptType`), `ndc_to_rxcui` and `rxcui_to_ndc` (NDC ↔ RXCUI; NDCs accepted hyphenated in an FDA segment configuration — 4-4-2, 5-3-2, 5-4-1, or the 11-digit 5-4-2 — or as bare 10/11 digits; `ndc_to_rxcui` names the product it decoded to and its `conceptType`), `rxcui_to_ingredients` and `rxcui_to_brands` (RXCUI → ingredient/brand RXCUIs, each with the target's RxNorm name and its `conceptType` — read that before counting a combination product's…
| Parameter | Type | Required | Description |
|---|---|---|---|
| from | string | yes | The source value: a code (for parents/children), a drug name, an NDC, an RXCUI, or an RxClass class ID (for class_to_rxcuis). Must not be blank or whitespace-only. A drug name is looked up whole at any length; on every other direction a value longer than 64 characters once trimmed is longer than an… |
| direction | enum: "parents" | "children" | "name_to_rxcui" | "ndc_to_rxcui" | "rxcui_to_ndc" | "rxcui_to_ingredients" | "rxcui_to_brands" | "rxcui_to_classes" … | yes | What to map to. parents/children return the immediate parent or children only (depth-1) — call iteratively to walk a full path; the rxcui/ndc/name directions are RxNorm drug crosswalks; rxcui_to_classes and class_to_rxcuis are RxClass drug-class crosswalks. |
| system | enum: "ICD10CM" | "ICD10PCS" | "HCPCS" | "RXNORM" | no | For parents/children, force the source code into this system. Omit to auto-detect. The drug and class directions resolve in RxNorm and accept only "RXNORM" (no effect); any other value there is rejected. |
| classType | enum: "EPC" | "MOA" | "PE" | "PK" | "TC" | "CHEM" | "DISEASE" | "VA" … | no | For rxcui_to_classes and class_to_rxcuis only: keep only classes of this RxClass type — EPC (FDA established pharmacologic class), MOA (mechanism of action), PE (physiologic effect), PK (pharmacokinetics), TC (therapeutic category), CHEM (chemical structure), DISEASE (diseases the drug may treat, p… |
| limit | integer | no | Max results per page, for the paginated directions only (children, name_to_rxcui, rxcui_to_ndc, rxcui_to_classes, class_to_rxcuis). Defaults to MEDCODE_MAX_RESULTS (50), ceiling 200. Rejected on every other direction. |
| cursor | string | no | Opaque continuation token from a previous response's `nextCursor`, for the paginated directions only (children, name_to_rxcui, rxcui_to_ndc, rxcui_to_classes, class_to_rxcuis). Omit for the first page; an empty string counts as omitted. A non-empty cursor on any other direction is rejected. |
medcode_browse_hierarchy
Browse Code Hierarchy
Walk a US medical code system's hierarchy for discovery without a search term. With no `node`, returns the top-level entries (ICD-10-CM categories, HCPCS range buckets, or ICD-10-PCS first-axis values). With a `node`, returns its immediate children. ICD-10-CM and HCPCS use a prefix hierarchy (a shorter code is the parent of a longer one); ICD-10-PCS is axis-based — each of its 7 characters is an independent axis (section, body system, root operation, body part, approach, device, qualifier), but only the top-level Section axis is browsable (omit `node`): positions 2–7 are context-dependent on the preceding axis path and are not enumerable from a flat partial code, so list the complete codes in a three-character ICD-10-PCS table row with medcode_map_codes (direction children) instead. Lets an agent orient in an unfamiliar system or enumerate a category's specific codes. A large child set paginates: when the response carries a `nextCursor`, pass it back as `cursor` to fetch the next page.
| Parameter | Type | Required | Description |
|---|---|---|---|
| system | enum: "ICD10CM" | "ICD10PCS" | "HCPCS" | "RXNORM" | yes | The code system to browse. |
| node | string | string | no | A node to expand — or omit / pass an empty string for the top level. For ICD-10-CM/HCPCS, a code whose children to list; ICD-10-PCS supports only top-level Section browsing. Must not be blank or whitespace-only when provided. A node longer than 64 characters once trimmed is longer than any bundled… |
| limit | integer | no | Max entries per page. Defaults to MEDCODE_MAX_RESULTS (50), ceiling 200. |
| cursor | string | no | Opaque continuation token from a previous response's `nextCursor`, to fetch the next page of children/entries. Omit for the top of the list. |
medcode_list_systems
List Code Systems
List the bundled US medical code systems with their release identifiers, effective dates, and code counts, and the RxClass drug-class layer the class crosswalks read, with each source’s version. Confirms which ICD-10-CM fiscal year, ICD-10-PCS fiscal year, HCPCS Level II release, RxNorm normalized set, and RxClass sources are active before acting on any decode, search, or crosswalk result. The corpus is offline and built at package-build time — this call reports exactly which release is baked into the running server. ICD-10-CM/PCS are the US clinical modifications, not the ICD-10/ICD-11 base.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://medical-codes.caseyjhand.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http medical-codes-mcp-server https://medical-codes.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : medical-codes-mcp-server ; URL : https://medical-codes.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : medical-codes-mcp-server ; Server URL : https://medical-codes.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"medical-codes-mcp-server": {
"url": "https://medical-codes.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"medical-codes-mcp-server": {
"type": "http",
"url": "https://medical-codes.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"medical-codes-mcp-server": {
"url": "https://medical-codes.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"medical-codes-mcp-server": {
"httpUrl": "https://medical-codes.caseyjhand.com/mcp"
}
}
}[mcp_servers.medical-codes-mcp-server]
url = "https://medical-codes.caseyjhand.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
medical-codes-mcp-server · L’Atlas · Tested on
[medical-codes-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/medical-codes-mcp-server)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.