
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 分