# Fhirfly MCP Server [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/FHIRfly-io/fhirfly-mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 339  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-server-57

## Description
Healthcare reference data: drugs, providers, diagnoses, labs, vaccines, and claims via 28 tools.

## Tools
Capabilities this server exposes over MCP:

- **ndc_get** — Look up drug by NDC code
- **ndc_search** — Search drugs by name, ingredient, etc.
- **npi_get** — Look up provider by NPI number
- **npi_search** — Search providers by name, specialty, location
- **rxnorm_get** — Look up drug by RxCUI
- **rxnorm_search** — Search drug terminology
- **loinc_get** — Look up lab test by LOINC code
- **loinc_search** — Search lab codes
- **icd10_get** — Look up diagnosis/procedure code
- **icd10_search** — Search ICD-10 codes
- **cvx_get** — Look up vaccine by CVX code
- **cvx_search** — Search vaccine codes
- **mvx_get** — Look up vaccine manufacturer
- **mvx_search** — Search manufacturers
- **fda_label_lookup** — Look up FDA drug label
- **fda_label_search** — Search drug labels
- **fda_label_safety** — Get safety info (boxed warnings, contraindications)
- **fda_label_interactions** — Get drug interaction info
- **fda_label_dosing** — Get dosing information
- **fda_label_sections** — Get specific label sections
- **snomed_get** — Look up clinical concept by SNOMED CT ID
- **snomed_search** — Search SNOMED CT IPS concepts
- **snomed_mappings** — Find cross-terminology mappings for a SNOMED concept
- **npi_connectivity** — Look up provider connectivity (FHIR endpoints)
- **sma_list_states** — List states with Medicaid FHIR endpoint status
- **sma_get_state** — Get SMA FHIR endpoint details for a state
- **sma_stats** — Get aggregate SMA implementation statistics
- **ncci_validate** — Check if two codes can be billed together (NCCI)
- **mue_lookup** — Look up max units of service (MUE limits)
- **pfs_lookup** — Look up Medicare fee schedule / RVU data
- **coverage_check** — Check LCD/NCD coverage determinations
- **HCPCS**
- **hcpcs_get** — Look up an HCPCS Level II procedure/supply code
- **hcpcs_modifier_get** — Look up an HCPCS modifier code
- **hcpcs_search** — Search HCPCS Level II codes
- **msdrg_get** — Look up an MS-DRG code
- **msdrg_search** — Search MS-DRG codes
- **pos_get** — Look up a Place of Service code
- **jcode_by_hcpcs** — Find NDCs mapped to a J-code/HCPCS code
- **jcode_by_ndc** — Find HCPCS codes mapped to an NDC
- **HCC**
- **hcc_get** — Look up HCC risk adjustment mappings for an ICD-10 code
- **hcc_reverse** — Find all ICD-10 codes mapping to a given HCC category
- **hcc_search** — Search the HCC crosswalk by code, model, or category
- **opcs4_get** — Look up an OPCS-4 UK NHS procedure code
- **opcs4_search** — Search OPCS-4 procedure codes
- **dmd_get** — Look up a UK dm+d medicine/device by SNOMED code
- **dmd_search** — Search UK dm+d medicines and devices
- **ucum_get** — Look up a UCUM unit code (e.g., mg, mL, kg/m2)
- **ucum_search** — Search units of measure by name or description
- **ucum_validate** — Validate a UCUM expression for correctness
- **ucum_convert** — Convert a value between compatible UCUM units
- **rxclass_get** — Look up a drug class by class ID
- **rxclass_search** — Search drug classifications by name or type
- **rxclass_members** — List drugs belonging to a drug class
- **check_drug_interactions** — Check drug-drug interactions for multiple drugs (FDA label text + RxNorm)
- **ndc_batch** — Look up multiple NDC codes (max 500)
- **npi_batch** — Look up multiple NPI numbers (max 100)
- **icd10_batch** — Look up multiple ICD-10 codes (max 100)
- **rxnorm_batch** — Look up multiple RxCUIs (max 100)
- **loinc_batch** — Look up multiple LOINC codes (max 100)
- **cvx_batch** — Look up multiple CVX codes (max 100)
- **mvx_batch** — Look up multiple MVX codes (max 100)
- **fda_label_batch** — Look up multiple FDA labels (max 50)

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

```json
"mcpServers": {
  "fhirfly-mcp-server": {
    "command": "npx",
    "args": ["-y","@fhirfly-io/mcp-server"],
    "env": {
      "FHIRFLY_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `FHIRFLY_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Fhirfly MCP Server does

Fhirfly MCP Server exposes healthcare reference data through MCP tools backed by the FHIRfly API. Its core lookups cover drug identifiers and terminology, healthcare providers, laboratory and diagnosis codes, vaccines and manufacturers, FDA drug labels, SNOMED CT concepts, provider connectivity, state Medicaid FHIR endpoints, and claims-related data.

The server can retrieve records by identifiers such as NDC, NPI, RxCUI, LOINC, CVX, MVX, and SNOMED CT IDs, or search by names, descriptions, specialties, locations, and other supported fields. It also includes tools for FDA label safety, interactions, dosing, and individual label sections.

Additional reference areas include HCPCS, MS-DRG, Place of Service, HCC mappings, OPCS-4, UK dm+d, UCUM units, RxClass drug classifications, and J-code/NDC crosswalks. Claims tools cover NCCI validation, MUE limits, Medicare fee schedule and RVU data, and coverage determinations.

## How it works

An MCP client starts the package locally, and the package forwards tool requests to the cloud-hosted FHIRfly API. A typical configuration launches the package with `npx -y @fhirfly-io/mcp-server` and supplies an API key through the process environment.

The available operations include individual lookups, text searches, cross-terminology mappings, provider connectivity queries, drug-interaction checks, unit validation and conversion, and batch lookups. Batch limits vary by operation: examples include up to 500 NDCs, 100 NPIs, ICD-10 codes, RxCUIs, LOINC codes, CVX codes, or MVX codes, and up to 50 FDA labels.

## Setup and configuration

The documented installation path uses Node.js 18+ and Claude Desktop. Create a FHIRfly credential from the FHIRfly dashboard, then add an `mcpServers` entry to Claude Desktop's configuration. Set `FHIRFLY_API_KEY` to the issued key, which uses the `ffly_` prefix, and restart Claude Desktop after saving the file.

The server accepts these environment variables:

- `FHIRFLY_API_KEY` — required authentication key.
- `FHIRFLY_API_URL` — API base URL; defaults to `https://api.fhirfly.io`.
- `FHIRFLY_DEBUG` — enables debug logging when set to `1` or `true`.
- `FHIRFLY_TIMEOUT` — request timeout in milliseconds; defaults to `30000`.

If tools do not appear, fully quit and reopen Claude Desktop and check that its configuration is valid JSON. Debug logging can help inspect startup and request behavior. API rate limits depend on the FHIRfly plan.

## Tools and capabilities

- Retrieve and search NDC, RxNorm, FDA label, RxClass, HCPCS, MS-DRG, POS, and dm+d data.
- Find providers by NPI, name, specialty, or location, and inspect provider FHIR connectivity.
- Search LOINC, ICD-10, CVX, MVX, SNOMED CT, OPCS-4, and UCUM terminology.
- Check drug interactions using FDA label text and RxNorm enrichment.
- Validate and convert UCUM units.
- Query Medicaid FHIR endpoint status by state and aggregate implementation statistics.
- Validate NCCI code combinations, inspect MUE limits, query Medicare fee schedule and RVU data, and check coverage determinations.
- Map SNOMED CT concepts across terminologies and map NDCs to HCPCS J-codes in both directions.

_Full upstream README: https://allmcps.com/mcp/mcp-server-57/readme_

