
Fhirfly
io.fhirfly由 fhirfly.io 发布v0.9.0更新于 Oct 25, 2026
Healthcare reference data for AI agents: providers, drugs, diagnoses, labs, codes, claims.
概览
Fhirfly 是一个本地 MCP 服务器,让 Claude Desktop 查询美国和英国的医疗参考数据,包括药品、医疗服务提供者、诊断、检验代码和理赔规则。
- 可以做什么
- 按 NDC、RxNorm、药物类别和 FDA 标签查询与搜索药品,获取安全性、剂量和相互作用章节,并一次检查多种药物的药物相互作用。按 NPI 查询与搜索医疗服务提供者,包括其 FHIR 端点和 Direct 地址。查询与搜索各类临床代码:ICD-10 诊断与操作、LOINC 检验、SNOMED CT 概念及映射、CVX/MVX 疫苗、HCPCS 及修饰符、MS-DRG、服务地点、HCC 风险调整、英国 OPCS-4 和 dm+d。查询、校验并换算 UCUM 计量单位。核查理赔规则:NCCI 代码对编辑、MUE 上限、Medicare 费用表与 RVU 数据,以及 LCD/NCD 覆盖判定。批量查询多个 NDC、NPI、ICD-10、RxCUI、LOINC、CVX、MVX 代码和 FDA 标签。
- 适用场景
- 适合让助手基于最新参考数据而非模型记忆回答药品、医疗服务提供者、临床术语或计费代码相关问题,例如核实 NDC、解析 NPI、判断两个代码能否同时计费,或检查多种药物之间的相互作用。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js 18+ 和 Claude Desktop。必须在 FHIRFLY_API_KEY 环境变量中提供 FHIRfly API 密钥,有免费套餐。需要访问 FHIRfly API 的网络连接;可选变量可设置 API 基础地址、调试日志和请求超时。
安装
在 SourceWeft 中
- 打开 控制台中的 Fhirfly,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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:
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
Configuration Options
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:
"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
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
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.md,提交 d2c7c42
工具
0版本历史
1- v0.9.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分