Skip to main content

DICOM/HL7 Developer AI Assistant — MCP server for healthcare integration engineers

Project description

DICOM/HL7/FHIR Interoperability MCP Server

The only MCP server that bridges DICOM, HL7v2, and FHIR in one package.

Built by a healthcare IT engineer with 19 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.

Looking for PACS query/retrieve? Check out dicom-mcp — it's excellent for DICOM network operations. Need to bridge standards — map DICOM to HL7, convert HL7v2 to FHIR, generate Mirth channels, decode vendor private tags? You're in the right place.

What Makes This Different

Capability This Server DICOM-only servers FHIR-only servers
DICOM tag lookup + vendor quirks Yes Yes No
HL7v2 message parsing Yes No No
FHIR R4 resource mapping Yes No Yes
DICOM ↔ HL7v2 mapping Yes No No
HL7v2 → FHIR conversion Yes No No
Mirth Connect channel generation Yes No No
Vendor private tag decoding (GE, Siemens, Philips) Yes Some No
Integration pattern knowledge (IHE SWF, ADT flows) Yes No No

The gap in the MCP ecosystem is interoperability — the hard work of mapping between standards, understanding vendor differences, and building integration engine configs. That's what this server does.

Tools

Tool Tier What It Does
lookup_dicom_tag Free Look up any DICOM tag by number or keyword
explain_dicom_tag Free Detailed tag explanation with vendor quirks and gotchas
parse_hl7_message Free Parse HL7 v2.x messages into human-readable format
explain_hl7_segment Free Explain segment fields, data types, and usage
lookup_hl7_table Free Look up HL7 table values (Administrative Sex, Patient Class, etc.)
map_dicom_to_hl7 Premium Map DICOM tags to HL7 v2 fields with conversion notes
map_hl7_to_fhir Premium Map HL7 v2 fields to FHIR R4 resources
generate_mirth_channel Premium Generate Mirth Connect channel configurations
validate_hl7_message Premium Validate HL7 messages against the standard
explain_integration_pattern Premium Explain healthcare integration patterns with flow diagrams
decode_private_tags Premium Decode vendor private DICOM tags (GE, Siemens, Philips, etc.)
generate_sample_message Premium Generate realistic sample HL7 messages for testing

Installation

pip install dicom-hl7-mcp

Configure with Claude

Claude Desktop — add to your config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "dicom-hl7-assistant": {
      "command": "uvx",
      "args": ["dicom-hl7-mcp"]
    }
  }
}

For premium features, add your license key:

{
  "mcpServers": {
    "dicom-hl7-assistant": {
      "command": "uvx",
      "args": ["dicom-hl7-mcp"],
      "env": {
        "DICOM_HL7_LICENSE_KEY": "your-license-key-here"
      }
    }
  }
}

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:"

MSH|^~\&|RIS|RAD|EMR|HOSP|20240315140000||ORU^R01|MSG003|P|2.5.1
PID|1||MRN12345^^^HOSP^MR||DOE^JOHN||19650315|M
OBR|1|ORD001|ACC001|CTABD^CT Abdomen^L|||20240315130000
OBX|1|FT|&GDT^Report||FINDINGS: Normal CT.||||||F

Returns each segment parsed with field names, values, table lookups, and contextual explanations.

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.

Map HL7v2 → FHIR R4 (Premium)

"How does PID-3 (Patient Identifier List) map to FHIR?"

Returns: Patient.identifier with field-by-field conversion — CX.1→Identifier.value, CX.4→Identifier.system, CX.5→Identifier.type.

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.

Decode Vendor Private Tags (Premium)

"What is Siemens private tag (0019,100C)?"

Returns: B Value (Siemens) — Diffusion b-value, critical for DWI/ADC maps. Covers GE, Siemens, Philips, Fuji, Agfa, Canon/Toshiba, and Hologic.

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 19 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, 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.

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? This tool processes standards metadata, not patient data. No PHI is stored or transmitted. Sample messages use fictional test data.

How does this compare to other healthcare MCP servers? Other servers are excellent at specific things — PACS queries, FHIR CRUD, PubMed search. This server fills the gap between them: the interoperability layer that maps DICOM↔HL7↔FHIR and generates integration engine configs. They complement each other.

Development

git clone https://github.com/NyxToolsDev/dicom-hl7-mcp-server.git
cd dicom-hl7-mcp-server
pip install -e ".[dev]"
pytest

License

MIT License. See LICENSE.


Built by NyxTools · NyxTools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dicom_hl7_mcp-0.1.2.tar.gz (87.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dicom_hl7_mcp-0.1.2-py3-none-any.whl (86.4 kB view details)

Uploaded Python 3

File details

Details for the file dicom_hl7_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: dicom_hl7_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 87.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dicom_hl7_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 60afecaeef231aa5299109becf4c7b8469809db1b5a6af7dcd082387a0927af8
MD5 6ee2ebe33e6df6e6d607eddeea81b375
BLAKE2b-256 eb388923f6189acee13c4848ec02ab849b2b736cdc7502d16a7487d174d67894

See more details on using hashes here.

File details

Details for the file dicom_hl7_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dicom_hl7_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 86.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dicom_hl7_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8de6c42dee6d752f12405183826d2bb810e5f8c55c00ea8eb291e3484502b9bd
MD5 a4c17be998c2820236f392215ae41361
BLAKE2b-256 d3fc8ded51ca0ab2a9a5905c7c06d57430114e78ef1e840d64ec5a90a9b3e4aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page