# Clinicaltables [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-clinicaltables  
**GitHub Stars:** 0  
**npm Downloads (last month):** 543  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/clinicaltables

## Description
NIH Clinical Tables: ICD-10/9, RxTerms, LOINC, NPI, conditions search. Keyless.

## Tools
Capabilities this server exposes over MCP:

- **conditions** — "What is [condition]" / "look up medical condition by name" / "find a disease called [X]" / "patient-friendly medical term for [Y]" — search the NLM patient-friendly medical conditions vocabulary (~700 common conditions written for lay readers). Returns canonical names like "Migraine", "Type 2 diabetes". Use for symptom-to-condition lookup, intake forms, or simplifying clinical text for patients.
- **icd10cm** — "What's the ICD-10 code for [diagnosis]" / "diagnosis code lookup" / "billing code for [condition]" / "EHR code for [X]" — search ICD-10-CM diagnostic codes (US clinical modification, ~96k codes). Returns code + full description. Use for medical billing, EHR diagnosis coding, claim coding. Example: terms="diab" → E11.9 Type 2 diabetes mellitus without complications.
- **icd9cm** — "Old ICD-9 code for [diagnosis]" / "pre-2015 diagnosis codes" — search legacy ICD-9-CM diagnostic codes. Use ONLY when working with pre-2015 US clinical records; new claims must use icd10cm. Same shape as icd10cm.
- **procedures** — "What is the procedure called [X]" / "medical procedure name lookup" / "patient-friendly name for [surgery]" — search clinical procedure names (NLM curated, ~7k entries). Returns short names like "Appendectomy", "Knee replacement". Patient-facing language; use for forms or intake screens. This vocabulary is SMALL and curated, so common terms can legitimately miss ("colonoscopy" and "MRI" both return 0, verified 2026-09-16) — a no_match here means "not in this list", not "no such procedure". For billing codes use icd10cm or a CPT source instead.
- **drugs** — "Drug name lookup" / "find prescription [X]" / "medication autocomplete" / "RxCUI for [drug]" / "what does [pill] treat" / "available strengths for [drug]" — search RxTerms (NLM prescribing-vocabulary derived from RxNorm, ~22k drug names with route/strength). Returns names like "Aspirin (Chewable)", "Lisinopril (Oral Pill)". Use for prescription entry, drug name autocomplete, or as a stepping-stone to RxNorm RxCUI lookups. Pass ef="STRENGTHS_AND_FORMS,RXCUIS" to include dosage strengths and RxNorm IDs.
- **loinc** — "LOINC code for [lab test]" / "standard code for blood test [X]" / "lab result identifier lookup" / "normalize lab name [Y]" — search LOINC lab test codes (Logical Observation Identifiers Names and Codes, universal lab test identifiers). Returns codes like "2093-3 Cholesterol [Mass/Vol] Ser/Plas". Use when normalizing lab results across institutions.
- **npi_individual** — "Find a doctor / clinician / physician by name" / "look up NPI for [provider]" / "verify a doctor's credentials" / "what's [Dr. X]'s NPI" — search the NPPES National Provider Identifier registry for individual US healthcare providers (~5M entries). Returns NPI numbers + provider names. terms can be a name fragment, NPI, or specialty. Use ef to include address, specialty, gender.
- **npi_organization** — "Find a hospital / clinic by name" / "look up NPI for [organization]" / "what's [Mayo Clinic]'s NPI" / "verify a healthcare facility" — search the NPPES NPI registry for organizational providers (~1.8M entries) — hospitals, clinics, group practices. Same shape as npi_individual. terms can be org name, NPI, or city.
- **ucum** — "Unit of measure code for [X]" / "standard UCUM unit for [Y]" / "mg/dL code" — search UCUM (the Unified Code for Units of Measure, used by FHIR, LOINC, and most modern health-IT systems). Returns codes like "mg/dL", "[in_i]" (inch). Use when normalizing lab result units or rendering measurements.
- **disease_names** — "UMLS code for [disease]" / "clinical name for rare disease [X]" / "look up a syndrome by name" / "find CUI for [condition]" — search the NLM Disease Names vocabulary (UMLS-derived, broader than `conditions`; includes rare diseases, syndromes, clinical terminology, ~12k entries). Returns UMLS CUIs (e.g., C0011860) plus canonical names. Use when you need clinical-grade vocabulary linkage rather than patient-friendly labels.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "clinicaltables": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-clinicaltables"]
  }
}
```

## Documentation

## What Clinicaltables does

Clinicaltables exposes selected NIH and NLM clinical datasets as MCP tools. It is designed for short, autocomplete-style searches rather than general medical reasoning. Queries can return common condition names, diagnostic codes, procedure names, medication terms, lab identifiers, provider records, measurement units, or disease vocabulary entries.

The available tools are `conditions`, `icd10cm`, `icd9cm`, `procedures`, `drugs`, `loinc`, `npi_individual`, `npi_organization`, `ucum`, and `disease_names`. The underlying data service is the NIH Clinical Tables API at `https://clinicaltables.nlm.nih.gov/api`.

## How it works

Each tool accepts a search term through `terms`. Optional `count` limits the number of returned results, with a default of seven. `ef` requests additional fields, while `df` controls the display fields returned by the search. For example, drug searches can request strengths, forms, and RxNorm identifiers with `ef=STRENGTHS_AND_FORMS,RXCUIS`. NPI searches can request details such as address, specialty, or gender.

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/clinicaltables/mcp`. The endpoint also exposes shared Pipeworx meta-tools, including `ask_pipeworx`, `discover_tools`, `search_within`, and memory-related tools. The exact scope is reported by the connection's `initialize` response. A full gateway endpoint is also available when direct access to the wider Pipeworx catalog is preferred.

## Setup and configuration

Add the hosted endpoint to an MCP client as a remote server:

```json
{
  "mcpServers": {
    "clinicaltables": {
      "url": "https://gateway.pipeworx.io/clinicaltables/mcp"
    }
  }
}
```

For a local stdio connection, run the npm package with `npx`:

```json
{
  "mcpServers": {
    "clinicaltables": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-clinicaltables"]
    }
  }
}
```

The npm bridge forwards requests to the hosted gateway and therefore requires network access. Anonymous use is capped at 50 calls per day. A Pipeworx API key raises the limit to 200 calls per day; provide it as `PIPEWORX_API_KEY`. Set `PIPEWORX_META_TOOLS=1` to include the gateway-wide meta-tools in the local server's listed tools. Behind a proxy, Node environments may require `NODE_USE_ENV_PROXY=1`.

The tools can also be called over HTTP, including `POST /v1/tools/{tool}` with a JSON body such as `{ "terms": "migraine", "count": 3 }`.

## Tools and capabilities

- Search patient-friendly common conditions with `conditions`.
- Find US ICD-10-CM diagnosis codes or legacy ICD-9-CM codes.
- Look up curated clinical procedure names with `procedures`.
- Search RxTerms medication names, forms, strengths, and RxNorm IDs.
- Normalize lab tests through LOINC identifiers.
- Find individual clinicians or organizations in the NPPES NPI registry.
- Resolve standardized UCUM measurement units.
- Link broader or rare disease terms to UMLS CUIs with `disease_names`.

## Limitations and notes

This is an independent, unofficial integration and is not affiliated with, endorsed by, or published by the upstream NIH service. The local package has no offline mode. New claims should use ICD-10-CM; ICD-9-CM is intended for older US records from before the 2015 transition.

The procedure vocabulary is a small curated list, so a zero-result search means the term is absent from that list rather than that the procedure does not exist. It is not a replacement for a CPT source when billing codes are required. The hosted and npm options use Pipeworx quotas and metering; authenticated calls use the supplied Bearer token.

_Full upstream README: https://allmcps.com/mcp/clinicaltables/readme_

