fhirfly.io
MCP server giving Claude access to FHIRfly healthcare reference data like NDC, NPI
fhirfly.io is a freemium MCP server for healthcare software. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, API, macOS
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.9.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-server --env FHIRFLY_API_KEY='<FHIRFLY_API_KEY>' -- npx -y @fhirfly-io/mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@fhirfly-io/mcp-server"
],
"env": {
"FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@fhirfly-io/mcp-server"
],
"env": {
"FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@fhirfly-io/mcp-server"
],
"env": {
"FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@fhirfly-io/mcp-server"
],
"env": {
"FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-server --env FHIRFLY_API_KEY='<FHIRFLY_API_KEY>' -- npx -y @fhirfly-io/mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@fhirfly-io/mcp-server"]
env = { FHIRFLY_API_KEY = "<FHIRFLY_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@fhirfly-io/mcp-server"
],
"env": {
"FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@fhirfly-io/mcp-server" ], "env": { "FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>" } } } }Or run: gemini mcp add -s user -e FHIRFLY_API_KEY='<FHIRFLY_API_KEY>' mcp-server npx -- -y @fhirfly-io/mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@fhirfly-io/mcp-server" ], "env": { "FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@fhirfly-io/mcp-server" ], "env": { "FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@fhirfly-io/mcp-server" ], "env": { "FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-server": { "command": "npx", "args": [ "-y", "@fhirfly-io/mcp-server" ], "env": { "FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@fhirfly-io/mcp-server" ], "env": { "FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@fhirfly-io/mcp-server" ], "env": { "FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@fhirfly-io/mcp-server" ], "env": { "FHIRFLY_API_KEY": "<FHIRFLY_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
FHIRFLY_API_KEYFHIRfly API key (get one at https://fhirfly.io)Required
About fhirfly.io
Adds a bridge between Claude Desktop and the FHIRfly cloud API, so questions about drugs, prescribers, lab tests and clinical codes get answered from current reference databases rather than from the model's memory. The server runs locally through npx and forwards requests to FHIRfly over HTTPS, with each call authenticated by an API key.
The tool set spans US drug and provider identifiers (NDC, NPI, RxNorm, FDA drug labels), coding systems such as LOINC, ICD-10, HCPCS, SNOMED CT and CVX, and billing references including MS-DRG, place of service codes, NCCI edits and Medicare fee schedule data. It also covers UK material such as OPCS-4 and dm+d, plus unit conversion through UCUM.
It is aimed at developers building healthcare workflows, revenue cycle and coding staff, and anyone who wants Claude to check medication or code details against structured data.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 11 of 12 tools read data; 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- ndc_getName suggests: reads
- Look up drug by NDC code
- ndc_searchName suggests: reads
- Search drugs by name, ingredient, etc.
- npi_getName suggests: reads
- Look up provider by NPI number
- npi_searchName suggests: reads
- Search providers by name, specialty, location
- rxnorm_getName suggests: reads
- Look up drug by RxCUI
- rxnorm_searchName suggests: reads
- Search drug terminology
- loinc_getName suggests: reads
- Look up lab test by LOINC code
- loinc_searchName suggests: reads
- Search lab codes
- icd10_getName suggests: reads
- Look up diagnosis/procedure code
- icd10_searchName suggests: reads
- Search ICD-10 codes
- check_drug_interactionsName suggests: reads
- Check drug-drug interactions for multiple drugs (FDA label text + RxNorm)
- ucum_convert
- Convert a value between compatible UCUM units
What it does
- Drug product lookup
- Search and retrieve NDC drug products, RxNorm terms and FDA label sections by code or name.
- Provider directory search
- Find healthcare providers by NPI number, name, specialty or location, plus their FHIR connectivity endpoints.
- Clinical code reference
- Query LOINC, ICD-10, SNOMED CT, CVX and HCPCS codes with search and batch lookups.
- Claims and billing data
- Check NCCI edits, MUE limits, Medicare fee schedule values and LCD coverage determinations.
- Drug interaction checks
- Compare multiple drugs for interactions using FDA label text combined with RxNorm data.
- Unit conversion
- Validate UCUM expressions and convert values between compatible measurement units.
Good for
- Verify an NDC or RxCUI while drafting a prescription or medication reconciliation note
- Look up the correct ICD-10 or HCPCS code during claim preparation
- Find a clinician's NPI and FHIR endpoint for interoperability testing
- Check whether two procedure codes can be billed together under NCCI rules
- Convert lab or dosing units with UCUM codes inside a chat session
Pricing
Freemium
Free tier available; paid plans for higher rate limits
fhirfly.io FAQ
What do I need to run fhirfly.io?
Node.js 18 or later, Claude Desktop, and a FHIRfly API key that starts with ffly_. The package is launched with npx and configured through the Claude Desktop config file.
Does fhirfly.io store healthcare data locally?
No. The package runs on the user's computer as a bridge, and the README states that no healthcare data is stored locally.
Is there a free tier?
The README says a free tier is available when signing up at fhirfly.io.
Which environment variables are supported?
FHIRFLY_API_KEY is required. FHIRFLY_API_URL, FHIRFLY_DEBUG and FHIRFLY_TIMEOUT are optional and set the API base URL, debug logging and fetch timeout.
How do I add fhirfly.io to Claude Code?
Run this command in your terminal: claude mcp add mcp-server --env FHIRFLY_API_KEY='<FHIRFLY_API_KEY>' -- npx -y @fhirfly-io/mcp-server
What are the best alternatives to fhirfly.io?
The closest alternatives to fhirfly.io are SolvingHealth federal health data, MedPrice AI, Omophub MCP, Meddata and MCP Clinical Reasoner.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.