Skip to main content
MCP server CX Codex

DICOM Agent — Claude Code MCP server: features and setup

MCP server for Claude Code connects agents to DIMSE and DICOMweb archives and processes local DICOM files. It handles search, image rendering, measurements, and de-identification.

Apache-2.0 ★ 25 updated 2026-11-06

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add dicom-agent-mcp -e AZURE_DICOM_TOKEN=<AZURE_DICOM_TOKEN> -e DICOM_AGENT_MCP_DEID_KEY=<DICOM_AGENT_MCP_DEID_KEY> -- uvx dicom-agent-mcp
Open on GitHub

What DICOM Agent does

The server gives an agent tools for querying, retrieving, storing, and transferring DICOM objects through DIMSE or DICOMweb. It can test connectivity, read metadata, save retrieved files under storage_dir/<study>/<series>/<sop>.dcm, and inspect local files without loading pixel data.

Local tools render frames, calculate pixel statistics for rectangular or elliptical regions, measure distances in millimetres, and check whether a series forms a usable volume. MPR output is available in axial, coronal, and sagittal views. De-identification, claim rechecks, and hash-chain integrity checks are included as well; pixel results carry an SHA-256 input_fingerprint.

The server starts without configured nodes, with local-file and pixel tools available under allowed paths. Remote archives need node settings, while the uvx installation command passes AZURE_DICOM_TOKEN and DICOM_AGENT_MCP_DEID_KEY. This is a research scaffold, not for clinical use; it should be used with test or de-identified data.

What it helps with

  • search DICOM archives by patient, study, series, or instance
  • retrieve metadata and save selected DICOM files
  • render a frame and calculate statistics for an ROI
  • check series geometry before generating an MPR view
  • write de-identified copies of DICOM data

Example prompts for the agent

  • Search the connected DICOM archive for studies within a specified date range.
  • Check the geometry of this series and render a sagittal slice from the local files.
  • Create de-identified DICOM copies and place them in the project directory.

How to install DICOM Agent

Platform CLI

claude mcp add dicom-agent-mcp -e AZURE_DICOM_TOKEN=<AZURE_DICOM_TOKEN> -e DICOM_AGENT_MCP_DEID_KEY=<DICOM_AGENT_MCP_DEID_KEY> -- uvx dicom-agent-mcp

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from dicom-agent-mcp <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about DICOM Agent

How do I install DICOM Agent in Claude Code?

Add it with `claude mcp add dicom-agent-mcp -e AZURE_DICOM_TOKEN=<AZURE_DICOM_TOKEN> -e DICOM_AGENT_MCP_DEID_KEY=<DICOM_AGENT_MCP_DEID_KEY> -- uvx dicom-agent-mcp. The command starts the server through uvx` and supplies the environment variables.

What does DICOM Agent do?

It connects an agent to DIMSE and DICOMweb archives for DICOM search, retrieval, transfer, and storage. Its local tools render images, calculate pixel statistics, measure distances, inspect geometry, create MPR views, and de-identify copies.

What does DICOM Agent need to run?

The installation command uses uvx, AZURE_DICOM_TOKEN, and DICOM_AGENT_MCP_DEID_KEY. A remote archive also needs a node configured with --node; local tools can work with files under allowed paths without a node.

Similar MCP servers

MCP servers catalog →
dicom-series-to-volume NVIDIA MedTech Team dicom-series-to-volume turns one CT DICOM series folder into an HU NIfTI volume plus a JSON summary with the affine. Handy before feeding scans to a segmentation model. CX Codex +1 1,900installs dicom-series-preflight NVIDIA MedTech Team dicom-series-preflight is a Claude Code skill that inspects headers in a DICOM series folder before conversion or inference. It does not perform de-identification. CX Codex +1 1,900installs DICOM/HL7/FHIR Interoperability MCP Server NyxToolsDev DICOM/HL7/FHIR Interoperability MCP Server is an MCP server for Claude Code that inspects DICOM tags and HL7v2, maps data to FHIR, and connects to PACS. CX Codex +1 ★ 5repo stars Context7 upstash Context7 brings current, version-aware library docs and code examples into an AI coding agent. Use it when generated answers rely on stale or invented APIs. CX Codex +1 5,563installs Search Google Flights punitarani The Search Google Flights MCP server looks up flights on a chosen date or scans a date range to find the cheapest days to fly. CX Codex +1 2,595installs Math-MCP EthanHenrickson Math-MCP provides arithmetic, statistical, and trigonometric operations for language models. Useful when you need reliable calculations without hallucinations. CX Codex +1 5,958installs pipeworx gateway pipeworx pipeworx gateway connects AI agents to 250+ live data sources without API keys, covering SEC filings, economic metrics, and weather. Includes cross-session memory. CX Codex +1 419,019installs SparkForge henry-ships SparkForge — an MCP server with tools for screenshots, page scraping, OCR and format conversion. It also generates images and looks up crypto data. CX Codex +1 219,896installs

Project sponsors

Companies that keep this analytics open