# Medical Codes

> Medical Codes is a freemium MCP server for health and science. Look up ICD-10, LOINC, PCS and clinical term codes via NLM and CMS data for developers. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $49 a month
- **Platforms:** API, CLI, Web
- **Website:** https://pipeworx.io/packs/medical-codes
- **Repository:** https://github.com/pipeworx-io/mcp-medical-codes
- **MCP Registry name:** io.github.pipeworx-io/medical-codes
- **Categories:** [health and science](https://ai-powered.com/categories/health-and-science)
- **Listing updated:** 2026-11-18

## About

The README says this server exposes five lookup tools that search ICD-10-CM diagnosis codes, LOINC laboratory codes, ICD-10-PCS inpatient procedure codes, and clinical term lists covering conditions, procedures and RxTerms drug names. The diagnosis and procedure lookups run against offline copies of the NLM and CMS order files, so they do not need a live network call, while the other lookups query NLM Clinical Tables directly without an API key.

The server is a remote MCP endpoint hosted by Pipeworx, reachable over streamable HTTP, and it can also be run locally through an npm stdio bridge that forwards calls to the same gateway. An optional Pipeworx API key raises the daily anonymous call cap. The listing notes that tools/list also returns shared gateway meta-tools such as ask_pipeworx alongside the five pack tools.

The server suits developers building coding assistants, billing or documentation helpers, and clinical data tools that need to map plain-language terms to standard codes. The pricing page describes general Pipeworx credit and subscription rates, which apply to the hosted gateway rather than to this pack specifically.

## Features

- **ICD-10-CM diagnosis search:** Finds diagnosis and billing codes by keyword or by code, using an offline NLM source.
- **LOINC lab code lookup:** Searches LOINC numbers and long common names for lab tests and clinical observations.
- **ICD-10-PCS procedure codes:** Searches CMS inpatient procedure codes by keyword or code prefix.
- **Sibling procedure codes:** Returns the title of an exact 7-character PCS code plus related codes for the same body part.
- **Clinical term lists:** Searches condition, procedure and RxTerms drug name lists by keyword.

## Good for

- Mapping a clinician's free-text diagnosis to an ICD-10-CM billing code
- Finding the LOINC code for a lab test when building a data integration
- Comparing cemented and uncemented hospital procedure codes for billing review
- Looking up standard drug display names for medication record software

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http medical-codes https://gateway.pipeworx.io/medical-codes/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/medical-codes/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "medical-codes": {
      "url": "https://gateway.pipeworx.io/medical-codes/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "medical-codes": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/medical-codes/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "medical-codes": {
      "serverUrl": "https://gateway.pipeworx.io/medical-codes/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "medical-codes": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/medical-codes/mcp"
    }
  }
}
```

## Tools

- `search_icd10`: Search ICD-10-CM diagnosis/billing codes by keyword or code.
- `search_loinc`: Search LOINC codes for lab tests and clinical observations by keyword.
- `search_medical_terms`: Search clinical term lists (conditions, procedures, drugs) by keyword.
- `search_icd10pcs`: Search ICD-10-PCS inpatient procedure codes by keyword or code prefix.
- `get_icd10pcs`: Look up one exact 7-character ICD-10-PCS code and its sibling codes.

## FAQ

### Does it require an API key?

No. The README says the diagnosis, LOINC and term lookups are keyless. An optional Pipeworx key raises the daily anonymous cap from 50 calls to 200.

### Which code systems are covered?

The README lists ICD-10-CM, ICD-10-PCS, LOINC, and NLM Clinical Tables term lists covering conditions, procedures and RxTerms drug names.

### How do I connect it?

The listing gives a streamable HTTP endpoint at gateway.pipeworx.io/medical-codes/mcp, plus an npx stdio bridge using the @pipeworx/mcp-medical-codes package.

### Is Medical Codes free?

Medical Codes has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

### How do I add Medical Codes to Claude Code?

Run this command in your terminal: claude mcp add --transport http medical-codes https://gateway.pipeworx.io/medical-codes/mcp

### What are the best alternatives to Medical Codes?

The closest alternatives to Medical Codes are Clinicaltables, Medical Terminologies MCP, Npi Registry, MyMedi-AI and ClinX open data: 340B and health centers.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Clinicaltables](https://ai-powered.com/mcp/clinicaltables): Clinicaltables is a freemium MCP server for health and science.
- [Medical Terminologies MCP](https://ai-powered.com/mcp/medical-terminologies-mcp): Medical Terminologies MCP is an open-source MCP server for health and science.
- [Npi Registry](https://ai-powered.com/mcp/npi-registry): Npi Registry is a freemium MCP server for health and science.
- [MyMedi-AI](https://ai-powered.com/mcp/mymedi-ai): MyMedi-AI is a freemium MCP server for health and science.
- [ClinX open data: 340B and health centers](https://ai-powered.com/mcp/clinx-open-data-340b-and-health-centers): ClinX open data: 340B and health centers is an open-source MCP server for health and science.
- [Pillwise](https://ai-powered.com/mcp/pillwise): Pillwise is a freemium MCP server for health and science.
- [Ebi Ols](https://ai-powered.com/mcp/ebi-ols): Ebi Ols is a freemium MCP server for health and science.
- [KeepMD MCP for EOB Decoder](https://ai-powered.com/mcp/keepmd-mcp-for-eob-decoder): KeepMD MCP for EOB Decoder is a free MCP server for health and science.

---
Source: https://ai-powered.com/mcp/medical-codes
