
DICOM/HL7/FHIR Interoperability MCP Server
io.github.NyxToolsDev由 GitHub 账号 NyxToolsDev 发布v0.2.0更新于 Oct 24, 2026
Bridges DICOM, HL7v2, and FHIR with cross-standard mapping and optional PACS connectivity.
概览
本地 MCP 服务器,为助手提供 DICOM、HL7v2 与 FHIR 参考查询、跨标准映射,以及可选的 PACS 查询能力。
- 可以做什么
- 查询并解释 DICOM 标签、HL7 段与 HL7 表值,并将 HL7 v2.x 消息解析为可读字段(免费工具)。将 DICOM 标签映射到 HL7 字段、将 HL7 字段映射到 FHIR R4 资源,校验 HL7 消息,解码厂商私有标签,生成示例消息,并解释集成模式(付费)。生成 Mirth Connect 通道配置(付费)。检查 PACS 连通性、按患者/日期/模态查询检查与序列、获取检查元数据,并通过 C-MOVE 将影像检索到目标 AE 标题(付费,需 PACS 附加组件)。生成检查摘要,自动完成 DICOM 到 HL7 再到 FHIR 的映射并附 ORM 消息骨架。
- 适用场景
- 适合医疗集成工作:理解 DICOM 标签或 HL7 消息、规划 DICOM 到 HL7 或 HL7 到 FHIR 的映射、起草 Mirth 通道,或在 PACS 上查找检查。免费参考工具无需账号或 PACS 连接。
- 运行要求
- 以 Python 包在本地运行(pip install dicom-hl7-mcp,PACS 连接需 [pacs] 附加包),通常在桌面客户端配置中通过 uvx 启动。付费工具需要 DICOM_HL7_LICENSE_KEY。传统 DICOM 需要 DICOM_HL7_PACS_AE_TITLE、DICOM_HL7_PACS_HOST 和 DICOM_HL7_PACS_PORT;DICOMweb 需要 DICOM_HL7_DICOMWEB_URL 以及 DICOM_HL7_DICOMWEB_TOKEN 或 DICOM_HL7_DICOMWEB_USERNAME 与 DICOM_HL7_DICOMWEB_PASSWORD。连接工具需要能访问 PACS 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 DICOM/HL7/FHIR Interoperability MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
DICOM/HL7/FHIR Interoperability MCP Server
[NyxToolsDev/dicom-hl7-mcp-server MCP server]
The only MCP server that bridges DICOM, HL7v2, and FHIR in one package — with optional PACS connectivity.
Built by a healthcare IT engineer with 16 years of PACS, RIS, and integration experience. This isn't a wrapper around a FHIR API or a DICOM tag dictionary — it's the interoperability knowledge that takes years on the job to build, plus the ability to connect to real PACS systems.
What Makes This Different
Tools
Reference Tools (Free)
Mapping & Generation Tools (Premium)
PACS Connectivity Tools (Premium)
Installation
Reference tools only (no PACS connectivity):
With PACS connectivity (adds pynetdicom + httpx):
Configuration
Basic (Reference Tools Only)
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
With Premium License
With PACS Connectivity (Traditional DICOM)
Connect to a PACS using C-FIND/C-MOVE/C-ECHO:
With PACS Connectivity (DICOMweb)
Connect to a DICOMweb-capable PACS (QIDO-RS/WADO-RS):
Environment Variables
PHI Safety
When connected to a real PACS, query results contain Protected Health Information (PHI).
- Log redaction: PHI fields are automatically stripped from all log output
- Result warnings: Every PACS query result includes a PHI warning banner
- Optional redaction: Set
DICOM_HL7_PHI_REDACT=trueto replace patient name/ID with[REDACTED]in tool output - No disk caching: PACS query results are never written to disk
- C-MOVE is disabled by default: Must explicitly set
DICOM_HL7_PACS_ALLOW_RETRIEVE=true
Important: Do not use PACS connectivity with cloud-hosted LLMs unless your organization's policies permit sending PHI to that LLM provider. For on-premises deployments or local LLM setups, this is not a concern.
Real-World Examples
"What is DICOM tag (0008,0050)?"
AccessionNumber — SH — RIS-generated number that identifies the order. THE key field for matching RIS orders to PACS studies.
Parse an HL7 message
"Parse this HL7 message:"
Returns each segment parsed with field names, values, table lookups, and contextual explanations.
Query PACS + Auto-Map to HL7/FHIR (Premium)
"Look up accession number ACC12345 in PACS and show me the HL7/FHIR mapping"
Returns a complete interoperability summary:
- Study metadata from PACS (patient, date, modality, description)
- DICOM→HL7 field mapping for every key field
- HL7→FHIR R4 resource mapping
- A pre-filled HL7 ORM^O01 message skeleton
- Integration pattern context (IHE SWF workflow)
Map DICOM → HL7 (Premium)
"What HL7 field does DICOM Accession Number map to?"
Returns: OBR-3 / ORC-3 (Filler Order Number) with data type conversion notes (SH → EI) and mapping pitfalls.
Generate a Mirth Channel (Premium)
"Generate a Mirth channel for receiving ADT messages and writing to a FHIR server"
Returns: Complete channel config with MLLP source, FHIR HTTP destination, transformer steps, event filtering, and implementation notes.
Knowledge Base
Standards Coverage
- DICOM: ~200 most common tags, SOP Classes, Transfer Syntaxes, private tag ranges for 7 vendors
- HL7 v2.x: 15 segments, 20+ tables, message types (ADT, ORM, ORU, MDM, SIU, DFT, BAR), versions 2.3-2.9
- FHIR R4: Mappings for Patient, Encounter, ServiceRequest, DiagnosticReport, Observation, AllergyIntolerance, Condition, RelatedPerson, Coverage
- Integration Patterns: ADT Feed, Order-to-Result, Radiology Workflow (IHE SWF), Lab Interface, Report Distribution, Patient Merge, Charge Posting
Where the Knowledge Comes From
The tags, segments, and mappings are from published standards (DICOM PS3.6, HL7 v2.5.1, FHIR R4, HL7 v2-to-FHIR IG). The vendor quirks, integration tips, and "watch out for this" notes come from 16 years of building PACS/RIS/HIS interfaces in production healthcare environments.
Premium License
Free tier gives you DICOM tag lookup, HL7 parsing, and segment explanation — the tools you use every day.
Premium unlocks cross-standard mapping, Mirth generation, validation, PACS connectivity, and the deep integration knowledge that takes years to build.
Get your license: nyxtools.gumroad.com
FAQ
Do I need a license for the free tools? No. Install and use the 5 free tools immediately. No account, no sign-up.
Do I need PACS connectivity?
No. The reference and mapping tools work without any PACS connection. PACS connectivity is optional — install with pip install dicom-hl7-mcp[pacs] only if you want to query real PACS systems.
What HL7 versions are supported? v2.3 through v2.9, with focus on v2.5.1 (the most widely deployed in US healthcare).
Is this HIPAA compliant? The reference tools process standards metadata, not patient data. PACS connectivity tools access real patient data — PHI safety measures are built in (log redaction, optional output redaction, C-MOVE disabled by default), but you are responsible for ensuring use complies with your organization's policies.
What PACS systems are supported? Any PACS that supports DICOM C-FIND/C-ECHO (virtually all of them) or DICOMweb (QIDO-RS/WADO-RS). Tested with Orthanc, RamSoft, and DCM4CHEE.
Development
License
MIT License. See LICENSE.
Built by NyxTools
来源:README.md,提交 7091728
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分