Labsco
SidneyBissoli logo

Medical Terminologies MCP

β˜… 3

from SidneyBissoli

Unified access to global medical terminologies: ICD-11, SNOMED CT, LOINC, RxNorm, MeSH. 27 tools for medical coding, terminology lookup, and crosswalk mappings.

πŸ”₯πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedPaid serviceAdvanced setup

Medical Terminologies MCP Server

npm version npm downloads node MCP Registry LobeHub smithery badge Glama MCP server Available on CodeGuilds GitHub stars GitHub Sponsors tool calls MCP License: MIT

A Model Context Protocol (MCP) server providing unified access to major global medical terminologies:

  • ICD-11 - International Classification of Diseases (WHO)
  • SNOMED CT - Systematized Nomenclature of Medicine (opt-in; requires self-hosted Snowstorm)
  • LOINC - Logical Observation Identifiers Names and Codes
  • RxNorm - Normalized names for clinical drugs (NIH)
  • MeSH - Medical Subject Headings (NLM)
  • ATC - Anatomical Therapeutic Chemical classification (WHO Collaborating Centre, served via NLM RxClass)
  • CID-10 - Brazilian Portuguese translation of ICD-10 (DataSUS V2008, bundled)

See it in action

Ask your assistant:

  • "What's the ICD-11 code for type 2 diabetes?" β†’ icd11_search
  • "Map ICD-10 code E11 to ICD-11." β†’ map_icd10_to_icd11
  • "What does LOINC 2339-0 measure?" β†’ loinc_details
  • "Qual o cΓ³digo CID-10 para infarto agudo do miocΓ‘rdio?" β†’ cid10_search

The answers come from authoritative sources (WHO, NLM, NIH, DataSUS) β€” real codes and mappings, not guesses from training data.

Features

  • 31 default tools (37 with SNOMED enabled) for medical terminology lookup
  • 3 MCP Prompts that orchestrate tool calls into named workflows (find-medical-code, drug-info, cid10-portuguese-lookup) β€” clients render these as one-click user actions
  • 4 MCP Resources for in-process reference content (info://server, info://cid10/chapters, info://licenses, info://stats) β€” sub-millisecond reads (except info://stats which round-trips to the StatsCounter Durable Object on the hosted endpoint)
  • Multi-terminology support in a single server
  • Cross-terminology mapping and search
  • Built-in caching for improved performance
  • Rate limiting to respect API limits
  • Detailed responses with rich formatting
  • Two transports: stdio (default; for Claude Desktop, IDE clients) and Streamable HTTP (for hosted deployments β€” runs on Cloudflare Workers at the edge by default, Smithery URL submission, or self-hosted Docker)

Who is this for?

This server is not a clinical-care decision tool β€” practicing clinicians have specialized assistants (UpToDate AI, OpenEvidence, EHR-integrated tools) for that. The actual audience is researchers, public-health analysts, clinical informatics developers, and educators who need programmatic access to authoritative terminology data.

If you're a...Start withWhy
Biomedical researcher / bibliographermesh_search, mesh_descriptor, mesh_treeMeSH is PubMed's indexing vocabulary; tree numbers let you traverse the controlled hierarchy programmatically
Public-health analyst (Brazil / SUS)cid10_search, cid10_chapters, atc_classifyCID-10 V2008 is the Brazilian operational standard; ATC pairs cleanly with DataSUS prescription data
Public-health analyst (international)icd11_search, icd11_lookup, icd11_chaptersWHO ICD-11 is the current international revision; chapters and hierarchy support pipeline classification
Clinical-informatics developerloinc_search, loinc_details, find_equivalentLOINC for lab/observation interoperability; cross-terminology search to scaffold new mappings
Educator / curriculum authormesh_descriptor, icd11_lookup, rxnorm_searchAuthoritative definitions, tree numbers, and drug term-types you can drop into self-checked exercises

Available Tools (31 by default, 37 with SNOMED enabled)

ICD-11 Tools (5)

ToolDescriptionExample
icd11_searchSearch ICD-11 by termquery: "diabetes mellitus"
icd11_lookupGet entity details by code/URIcode: "5A11"
icd11_hierarchyNavigate parent/child relationshipscode: "5A11"
icd11_chaptersList all ICD-11 chapters-
icd11_postcoordinationGet postcoordination axescode: "5A11"

LOINC Tools (4)

ToolDescriptionExample
loinc_searchSearch lab tests and observationsquery: "glucose"
loinc_detailsGet full LOINC code detailsloinc_num: "2339-0"
loinc_answersGet answer list for surveysloinc_num: "44249-1"
loinc_panelsGet panel/form structureloinc_num: "24331-1"

RxNorm Tools (5)

ToolDescriptionExample
rxnorm_searchSearch drugs by namequery: "metformin"
rxnorm_conceptGet drug concept detailsrxcui: "6809"
rxnorm_ingredientsGet active ingredientsrxcui: "6809"
rxnorm_classesGet therapeutic classesrxcui: "6809"
rxnorm_ndcMap between RxCUI and NDCrxcui: "6809"

MeSH Tools (4)

ToolDescriptionExample
mesh_searchSearch MeSH descriptorsquery: "hypertension"
mesh_descriptorGet descriptor detailsmesh_id: "D006973"
mesh_treeGet tree hierarchy locationmesh_id: "D006973"
mesh_qualifiersGet allowed qualifiersmesh_id: "D006973"

SNOMED CT Tools (5, disabled by default)

These are only registered when ENABLE_SNOMED_TOOLS=true. See SNOMED CT setup (advanced).

ToolDescriptionExample
snomed_searchSearch concepts by termquery: "myocardial infarction"
snomed_conceptGet concept details by SCTIDsctid: "22298006"
snomed_hierarchyGet parent/child conceptssctid: "22298006"
snomed_descriptionsGet all descriptionssctid: "22298006"
snomed_eclExecute ECL queriesecl: "<< 73211009"

Crosswalk Tools (5 β€” map_snomed_to_icd10 requires SNOMED)

ToolDescriptionExample
map_icd10_to_icd11Authoritative ICD-10 β†’ ICD-11 mapping via bundled WHO transition tables; returns primary code + chapter + URIs and any WHO-documented alternativesicd10_code: "E11"
map_snomed_to_icd10SNOMED CT β†’ ICD-10 guidance (only when ENABLE_SNOMED_TOOLS=true)sctid: "73211009"
map_loinc_to_snomedLOINC ↔ SNOMED guidanceloinc_code: "2339-0"
validate_codesBatch-validate up to 100 codes across ICD-11, LOINC, RxNorm, MeSH, ATC, CID-10 (and SNOMED when enabled); returns per-code valid/invalid + display namecodes: [{terminology:"icd11",code:"5A11"}, …]
find_equivalentCross-terminology search; SNOMED branch is skipped when SNOMED tools are disabledterm: "diabetes"

ATC Tools (3)

WHO Anatomical Therapeutic Chemical classification, served through NLM RxClass (free, no auth). The WHOCC base itself requires a paid subscription, but RxClass envelopes the same code/name pairs.

ToolDescriptionExample
atc_classifyDrug name β†’ ATC code(s)drug_name: "metformin"
atc_lookupATC code (level 1-4) β†’ name + level typeatc_code: "A10BA"
atc_membersATC class β†’ member drugsatc_code: "A10BA"

CID-10 Tools (4)

Brazilian Portuguese translation of ICD-10 (DataSUS V2008). Bundled as a static dataset β€” no HTTP calls. The Brazilian SUS uses CID-10 V2008 operationally; for the international ICD-11 (current WHO revision), use the ICD-11 tools above.

ToolDescriptionExample
cid10_searchPortuguese text search (diacritic-insensitive)query: "diabetes"
cid10_lookupCode β†’ official Portuguese namecode: "I21" or "A00.1"
cid10_chaptersList the 22 CID-10 chapters-
cid10_chapterChapter detail with constituent groupsnum: 9

Versioning Tools (2)

Surface what version of each terminology this server queries against today β€” useful when running batch validation against a pinned release or when investigating an unexpected lookup miss after an upstream update.

ToolDescriptionExample
terminology_versionsList all 8 supported terminologies with current version, release date, publisher, source URL, and update cadence-
terminology_diffReport what diff data is available between two versions of a terminology (real cross-revision stats for ICD-10 β†’ ICD-11; guidance otherwise)terminology: "icd10-icd11"

Example Outputs

The samples below are the actual formatted output the tools produce β€” the text body of the CallToolResult. Tools also return a structuredContent object matching each tool's outputSchema for programmatic consumers.

loinc_search β€” query: "glucose", max_results: 3


## LOINC Search Results for "glucose"

Found 1024 total results (showing 3):

1. **74790-7** - Glucose challenge (hydrogen breath test) panel - Exhaled gas
   Component: Glucose challenge panel | Method: -

2. **104708-3** - Deprecated Estimated average glucose [Moles/volume] in Blood
   Component: Estimated average glucose | Property: SCnc

3. **97510-2** - Glucose measurements in range out of Total glucose measurements during reporting period
   Component: Glucose measurements in range/Total glucose measurements | Property: NFr | Method: Calculated

total_count (1024) reflects every match in the NLM Clinical Tables index, not just the page returned. Bump max_results (max 50) to see canonical codes like 2339-0 (Glucose [Mass/volume] in Blood); the API's relevance ranking puts panels and derived measurements above plain blood-glucose at small page sizes.

rxnorm_ingredients β€” rxcui: "6809" (metformin)

# Ingredients for RxCUI 6809

Found 18 ingredient(s):

| RxCUI | Name | Type |
|-------|------|------|
| 6809 | metformin | Single Ingredient |
| 1007411 | chlorpropamide / metformin | Multiple Ingredient |
| 1043562 | metformin / saxagliptin | Multiple Ingredient |
| 1243019 | linagliptin / metformin | Multiple Ingredient |
| 1486436 | dapagliflozin / metformin | Multiple Ingredient |
| 1545149 | canagliflozin / metformin | Multiple Ingredient |
| 1664314 | empagliflozin / metformin | Multiple Ingredient |
| 729717  | metformin / sitagliptin | Multiple Ingredient |
| ...     | (10 more combinations)   | Multiple Ingredient |

For an RxCUI that is itself an ingredient (TTY=IN), the tool returns that ingredient plus every multi-ingredient (TTY=MIN) concept that includes it. Use this to enumerate combination products built around a substance.

mesh_descriptor β€” mesh_id: "D006973" (Hypertension)

# Hypertension
MeSH ID: D006973

## Scope Note

Persistently high systemic arterial BLOOD PRESSURE. Based on multiple readings (BLOOD PRESSURE DETERMINATION), hypertension is currently defined as when SYSTOLIC PRESSURE is consistently greater than 140 mm Hg or when DIASTOLIC PRESSURE is consistently 90 mm Hg or more.

## Tree Numbers

- C14.907.489

## Concepts

- Hypertension *(preferred)*

## Allowed Qualifiers

35 qualifier(s) allowed. Use mesh_qualifiers for details.

The scope note comes from the descriptor's preferred concept, not its annotation field (which is an indexer-facing note). Tree numbers are the navigable path into MeSH's controlled hierarchy β€” C14.907.489 places Hypertension under Cardiovascular Diseases β†’ Vascular Diseases.

Common Workflows

  • ICD-11 lookup: icd11_search with a clinical term β†’ pick the result β†’ icd11_lookup with the code for full details, or icd11_hierarchy to walk parents/children.
  • Drug pipeline: rxnorm_search for a brand or generic name β†’ rxnorm_concept for the canonical record β†’ rxnorm_ingredients and rxnorm_classes for downstream analysis.
  • Cross-terminology scaffolding: find_equivalent with a clinical term searches ICD-11, LOINC, RxNorm, MeSH, and (when enabled) SNOMED in one call. Use it to bootstrap mappings; the pairwise map_* tools refine them.
  • ICD-10 β†’ ICD-11 (text search, not authoritative): map_icd10_to_icd11 does honest text search against WHO ICD-11. Real WHO transition tables are tracked in PROGRESS.md Phase 13.1.

Terminology Licenses

ICD-11 (WHO)

ICD-11 content is provided under the Creative Commons Attribution-NoDerivatives 3.0 IGO license (CC BY-ND 3.0 IGO).

  • You must attribute WHO as the source
  • You may not create derivative works
  • API access requires registration at https://icd.who.int/icdapi

SNOMED CT

SNOMED CT use requires an IHTSDO (SNOMED International) license. The SNOMED tools in this server are disabled by default and only enabled by operators with a valid license and a self-hosted Snowstorm instance β€” see SNOMED CT setup (advanced).

LOINC

LOINC content is provided under the LOINC License.

  • Free for most uses
  • Attribution required
  • Registration recommended

RxNorm

RxNorm is produced by the U.S. National Library of Medicine and is freely available.

  • No license required for use
  • Attribution appreciated

MeSH

MeSH is produced by the U.S. National Library of Medicine and is freely available.

  • No license required for use
  • Attribution appreciated

API Rate Limits

This server implements rate limiting to respect API providers:

APIRate Limit
WHO ICD-115 requests/second
NLM (LOINC, MeSH)10 requests/second
RxNorm20 requests/second
SNOMED CT (Snowstorm)10 requests/second

Development

Building from source

git clone https://github.com/SidneyBissoli/medical-terminologies-mcp.git
cd medical-terminologies-mcp
npm install
npm run build

Running locally

npm start

Testing with MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Author

Sidney Bissoli

License

This project is licensed under the MIT License - see the LICENSE file for details.

Note: While this software is MIT licensed, the medical terminologies accessed through it have their own licenses (see Terminology Licenses above).

Acknowledgments

Support

If you encounter any issues or have questions:

  • Open an issue on GitHub
  • Check existing issues for solutions

Made with love for the medical informatics community