About io.fhirfly/mcp-server
io.fhirfly/mcp-server is an MCP server in the Healthcare category: healthcare reference data: drugs, providers, diagnoses, labs, vaccines, and claims via 28 tools.
Install
claude mcp add io-fhirfly-mcp-server -- npx -y @fhirfly-io/mcp-servernpx -y @fhirfly-io/mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (62)
check_drug_interactionsCheck drug-drug interactions for multiple drugs (FDA label text + RxNorm)
Parameters not published.
coverage_checkCheck LCD/NCD coverage determinations
Parameters not published.
cvx_batchLook up multiple CVX codes (max 100)
Parameters not published.
cvx_getLook up vaccine by CVX code
Parameters not published.
cvx_searchSearch vaccine codes
Parameters not published.
dmd_getLook up a UK dm+d medicine/device by SNOMED code
Parameters not published.
dmd_searchSearch UK dm+d medicines and devices
Parameters not published.
fda_label_batchLook up multiple FDA labels (max 50)
Parameters not published.
fda_label_dosingGet dosing information
Parameters not published.
fda_label_interactionsGet drug interaction info
Parameters not published.
Show all 62 tools
fda_label_lookupLook up FDA drug label
Parameters not published.
fda_label_safetyGet safety info (boxed warnings, contraindications)
Parameters not published.
fda_label_searchSearch drug labels
Parameters not published.
fda_label_sectionsGet specific label sections
Parameters not published.
hcc_getLook up HCC risk adjustment mappings for an ICD-10 code
Parameters not published.
hcc_reverseFind all ICD-10 codes mapping to a given HCC category
Parameters not published.
hcc_searchSearch the HCC crosswalk by code, model, or category
Parameters not published.
hcpcs_getLook up an HCPCS Level II procedure/supply code
Parameters not published.
hcpcs_modifier_getLook up an HCPCS modifier code
Parameters not published.
hcpcs_searchSearch HCPCS Level II codes
Parameters not published.
icd10_batchLook up multiple ICD-10 codes (max 100)
Parameters not published.
icd10_getLook up diagnosis/procedure code
Parameters not published.
icd10_searchSearch ICD-10 codes
Parameters not published.
jcode_by_hcpcsFind NDCs mapped to a J-code/HCPCS code
Parameters not published.
jcode_by_ndcFind HCPCS codes mapped to an NDC
Parameters not published.
loinc_batchLook up multiple LOINC codes (max 100)
Parameters not published.
loinc_getLook up lab test by LOINC code
Parameters not published.
loinc_searchSearch lab codes
Parameters not published.
msdrg_getLook up an MS-DRG code
Parameters not published.
msdrg_searchSearch MS-DRG codes
Parameters not published.
mue_lookupLook up max units of service (MUE limits)
Parameters not published.
mvx_batchLook up multiple MVX codes (max 100)
Parameters not published.
mvx_getLook up vaccine manufacturer
Parameters not published.
mvx_searchSearch manufacturers
Parameters not published.
ncci_validateCheck if two codes can be billed together (NCCI)
Parameters not published.
ndc_batchLook up multiple NDC codes (max 500)
Parameters not published.
ndc_getLook up drug by NDC code
Parameters not published.
ndc_searchSearch drugs by name, ingredient, etc.
Parameters not published.
npi_batchLook up multiple NPI numbers (max 100)
Parameters not published.
npi_connectivityLook up provider connectivity (FHIR endpoints)
Parameters not published.
npi_getLook up provider by NPI number
Parameters not published.
npi_searchSearch providers by name, specialty, location
Parameters not published.
opcs4_getLook up an OPCS-4 UK NHS procedure code
Parameters not published.
opcs4_searchSearch OPCS-4 procedure codes
Parameters not published.
pfs_lookupLook up Medicare fee schedule / RVU data
Parameters not published.
pos_getLook up a Place of Service code
Parameters not published.
rxclass_getLook up a drug class by class ID
Parameters not published.
rxclass_membersList drugs belonging to a drug class
Parameters not published.
rxclass_searchSearch drug classifications by name or type
Parameters not published.
rxnorm_batchLook up multiple RxCUIs (max 100)
Parameters not published.
rxnorm_getLook up drug by RxCUI
Parameters not published.
rxnorm_searchSearch drug terminology
Parameters not published.
sma_get_stateGet SMA FHIR endpoint details for a state
Parameters not published.
sma_list_statesList states with Medicaid FHIR endpoint status
Parameters not published.
sma_statsGet aggregate SMA implementation statistics
Parameters not published.
snomed_getLook up clinical concept by SNOMED CT ID
Parameters not published.
snomed_mappingsFind cross-terminology mappings for a SNOMED concept
Parameters not published.
snomed_searchSearch SNOMED CT IPS concepts
Parameters not published.
ucum_convertConvert a value between compatible UCUM units
Parameters not published.
ucum_getLook up a UCUM unit code (e.g., mg, mL, kg/m2)
Parameters not published.
ucum_searchSearch units of measure by name or description
Parameters not published.
ucum_validateValidate a UCUM expression for correctness
Parameters not published.
Ask AI
Ask AI about io.fhirfly/mcp-server
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
@fhirfly-io/mcp-server
MCP (Model Context Protocol) server for connecting Claude Desktop to FHIRfly healthcare reference data APIs.
What is this?
This package lets Claude Desktop look up real healthcare reference data including:
- NDC - Drug products and packages (FDA)
- NPI - Healthcare provider identifiers (CMS)
- RxNorm - Drug terminology (NLM)
- LOINC - Laboratory codes (Regenstrief Institute)
- ICD-10 - Diagnosis and procedure codes (CMS)
- CVX/MVX - Vaccine codes (CDC)
- FDA Drug Labels - Prescribing information
- SNOMED CT - Clinical concepts (IPS free set)
- HCC - CMS Hierarchical Condition Category risk adjustment mappings
- OPCS-4 - UK NHS procedure classification codes
- dm+d - UK Dictionary of Medicines and Devices (NHS)
- UCUM - Unified Code for Units of Measure (NLM)
- RxClass - Drug classification hierarchy (NLM)
- HCPCS - Level II procedure and supply codes (CMS)
- MS-DRG - Diagnosis Related Groups for inpatient payment (CMS)
- POS - Place of Service codes for claims submission (CMS)
- J-Code/NDC Crosswalk - Bidirectional HCPCS J-code to NDC mapping (CMS)
- DDI Reference — Drug-drug interaction text from FDA labels + RxNorm enrichment
- Connectivity - Provider FHIR endpoints and Direct addresses
- SMA - State Medicaid Agency FHIR endpoint directory (CMS)
- Claims Intelligence - NCCI edits, MUE limits, PFS/RVU data, coverage determinations
When you ask Claude about medications, providers, or clinical codes, it can look up accurate, current information instead of relying on training data.
Prerequisites
- Claude Desktop - Download from claude.ai/download
- Node.js 18+ - Download from nodejs.org
- FHIRfly API Key - Get one at fhirfly.io (free tier available)
Quick Setup
Step 1: Get a FHIRfly API Key
- Go to fhirfly.io and sign up
- Navigate to Dashboard > Credentials
- Click Create Credential and select MCP (Claude Desktop)
- Copy your API key (starts with
ffly_)
Step 2: Configure Claude Desktop
Find your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the FHIRfly server configuration:
{
"mcpServers": {
"fhirfly": {
"command": "npx",
"args": ["-y", "@fhirfly-io/mcp-server"],
"env": {
"FHIRFLY_API_KEY": "ffly_live_your_key_here"
}
}
}
}
Replace ffly_live_your_key_here with your actual API key.
Step 3: Restart Claude Desktop
Completely quit Claude Desktop and reopen it. The FHIRfly tools should now be available.
Verify It Works
Try asking Claude:
- "What is NDC 0069-0151-01?"
- "Look up NPI 1234567893"
- "Search for COVID vaccines in the CVX database"
- "What are the drug interactions for Lipitor?"
- "Which states have implemented Medicaid FHIR endpoints?"
- "Show me the FHIR endpoint details for California's Medicaid program"
- "What is the UCUM code for milligrams per deciliter?"
- "Convert 100 mg to grams"
- "What drugs are in the HMG-CoA Reductase Inhibitors class?"
- "Check interactions between aspirin and warfarin"
Claude should use the FHIRfly tools to look up real data.
Available Tools
| Tool | Description |
|---|---|
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 / MS-DRG / POS / J-Code Tools | |
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 / OPCS-4 Tools | |
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 |
| dm+d Tools | |
dmd_get |
Look up a UK dm+d medicine/device by SNOMED code |
dmd_search |
Search UK dm+d medicines and devices |
| UCUM Tools | |
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 Tools | |
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 |
| DDI Tools | |
check_drug_interactions |
Check drug-drug interactions for multiple drugs (FDA label text + RxNorm) |
| Batch Tools | |
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) |
Configuration Options
| Environment Variable | Description | Default |
|---|---|---|
FHIRFLY_API_KEY |
Your FHIRfly API key (required) | - |
FHIRFLY_API_URL |
API base URL | https://api.fhirfly.io |
FHIRFLY_DEBUG |
Enable debug logging (1 or true) |
false |
FHIRFLY_TIMEOUT |
Fetch timeout in milliseconds | 30000 |
Troubleshooting
"FHIRFLY_API_KEY environment variable is required"
Your API key isn't configured. Make sure:
- You have a valid API key from fhirfly.io
- It's set in the
envsection of your Claude Desktop config - The key starts with
ffly_
"Invalid API key format"
FHIRfly API keys start with ffly_. Check that you copied the full key.
"Authentication failed"
Your API key may be invalid or expired. Generate a new one at fhirfly.io/dashboard/credentials.
Claude doesn't show FHIRfly tools
- Make sure you completely quit and restarted Claude Desktop
- Check your config file syntax (must be valid JSON)
- Enable debug mode to see what's happening:
{
"mcpServers": {
"fhirfly": {
"command": "npx",
"args": ["-y", "@fhirfly-io/mcp-server"],
"env": {
"FHIRFLY_API_KEY": "your_key",
"FHIRFLY_DEBUG": "1"
}
}
}
}
"Rate limit exceeded"
You've hit your plan's rate limit. Wait a moment and try again, or upgrade your plan at fhirfly.io.
How It Works
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Claude Desktop │────▶│ This Package │────▶│ FHIRfly API │
│ │ │ (runs locally) │ │ (cloud) │
│ "What is │◀────│ │◀────│ │
│ NDC 123..." │ │ Translates MCP │ │ Returns drug │
│ │ │ ↔ HTTPS │ │ data │
└─────────────────┘ └─────────────────┘ └─────────────────┘
This package runs on your computer as a bridge between Claude Desktop and the FHIRfly API. It:
- Receives requests from Claude Desktop via stdin
- Translates them to HTTPS requests to FHIRfly
- Returns the results to Claude via stdout
Your API key is sent to FHIRfly over HTTPS. No healthcare data is stored locally.
Links
Data Sources & Licensing
| Data Source | Provider | License |
|---|---|---|
| NDC Directory | FDA | Public domain |
| NPPES (NPI) | CMS | Public domain |
| RxNorm | NLM (NIH) | UMLS license (free) |
| LOINC | Regenstrief Institute | Free with attribution |
| ICD-10-CM/PCS | CMS | Public domain |
| CVX/MVX | CDC | Public domain |
| FDA Drug Labels | FDA/openFDA | Public domain |
| SNOMED CT IPS | SNOMED International | CC BY 4.0 |
| HCC Crosswalk | CMS | Public domain |
| OPCS-4 | NHS England | OGL v3.0 (Crown copyright) |
| dm+d | NHS England / NHSBSA | OGL v3.0 (Crown copyright) |
| UCUM | NLM (NIH) / Regenstrief Institute | Free with attribution |
| RxClass | NLM (NIH) | UMLS license (free) |
| SMA Endpoint Directory | CMS | Public domain |
| HCPCS Level II | CMS | Public domain |
| MS-DRG | CMS | Public domain |
| Place of Service | CMS | Public domain |
| J-Code/NDC Crosswalk | CMS | Public domain |
| NCCI/MUE/PFS | CMS | Public domain |
| DDI Reference | FDA + NLM | Public domain |
FHIRfly aggregates and indexes these data sources. See fhirfly.io/docs for details.
Changelog
See CHANGELOG.md for release history.
License
MIT - see LICENSE
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.