
DICOMweb MCP Server
io.github.PantelisGeorgiadisPublished by GitHub account PantelisGeorgiadisv0.0.4Updated Nov 10, 2026
MCP server exposing a DICOMweb DICOM archive to AI assistants via QIDO-RS and WADO-RS.
Overview
Connects an assistant to a DICOMweb medical imaging archive so it can search studies, series and instances, read reports and render image frames.
- What you can do
- Search studies, series and instances with key=value filters, pagination and fuzzy matching
- Read Structured Reports and Encapsulated PDF reports as human-readable text
- Inspect all DICOM attributes of a single instance, without pixel data
- Render a chosen frame of an instance as an inline JPEG or PNG image
- When to use it
- Useful when you work with a DICOMweb archive such as Orthanc and want to explore imaging studies, pull report text or look at frames conversationally instead of through a PACS viewer.
- Requirements
- Runs locally via npx with Node.js 20 or later. Needs a reachable DICOMweb server supporting QIDO-RS and WADO-RS, set in DICOMWEB_HOST. Optional authentication via DICOMWEB_AUTH (basic or bearer) with DICOMWEB_USER and DICOMWEB_PASS, or DICOMWEB_TOKEN. Optional DICOMWEB_TIMEOUT in milliseconds. Configuration can come from a .env file or the client's env block.
Installation
In SourceWeft
- Open DICOMweb MCP Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
[NPM version] [NPM downloads] [build] [MIT License] [dicomweb-mcp-server MCP server] [dicomweb-mcp-server on MCP ServerList]
dicomweb-mcp-server
A Model Context Protocol (MCP) server that exposes a DICOMweb-compliant DICOM archive to AI assistants. It lets any MCP-capable client search studies, series and instances, inspect metadata, read Structured and Encapsulated PDF Reports, and render image frames — all through natural language.
Requirements
- Node.js 20 or later
- A running DICOMweb server supporting QIDO-RS and WADO-RS (e.g. orthanc)
The following endpoints must be supported by the DICOMweb server:
Installation
Using npx (recommended — no local install needed)
The server reads its configuration from a .env file located in the same directory as the script (see Configuration below).
Global install
Configuration
Create a .env file with the connection details for your DICOMweb server. Place the file next to wherever the server is executed from (or in the working directory you configure in your MCP client).
MCP Client Setup
Claude Desktop
Add the server to claude_desktop_config.json:
You can supply all environment variables directly in the env block instead of using a .env file.
VS Code (GitHub Copilot Agent Mode)
Add to your VS Code settings.json or workspace .vscode/mcp.json:
Cursor
Add to .cursor/mcp.json in your project root, or to the global ~/.cursor/mcp.json:
Available Tools
find-studies
Searches DICOM studies on the configured DICOMweb server. Results are sorted by study date, newest first.
Example prompts
- "Find all CT studies for patient John Doe"
- "Search for studies from January 2024"
find-series
Searches DICOM series within a single study. Results are sorted by series date, newest first.
find-instances
Searches DICOM instances within a single series. Results are sorted by Instance Number ascending.
find-encapsulated-pdf-reports
Finds all Encapsulated PDF instances in a study by looking for DOC-modality series and filtering by the Encapsulated PDF SOP Class UID (1.2.840.10008.5.1.4.1.1.104.1).
Example prompts
- "Find all PDF reports in study 1.2.3.4"
- "Are there any encapsulated PDF documents in this study?"
get-encapsulated-pdf-report-text
Retrieves an Encapsulated PDF DICOM instance and extracts its text content.
Note: Text extraction only works for searchable (text-based) PDFs. PDFs that consist entirely of scanned page images without an embedded text layer will yield little or no text. In those cases, no OCR is performed.
Example prompts
- "Read the PDF report for SOP instance 1.2.3.4.5"
- "What does the encapsulated PDF document say?"
find-structured-reports
Finds all Structured Report (SR) instances in a study by looking for SR-modality series and filtering by known SR SOP Class UIDs.
get-structured-report-text
Retrieves a Structured Report instance and converts it to human-readable text.
get-instance-metadata
Retrieves and formats all DICOM attributes of a single instance as human-readable text. Does not retrieve pixel data.
render-instance-frame
Renders a specific frame from a DICOM instance and returns it as an inline image (JPEG or PNG).
Example prompt
- "Show me the first frame of SOP instance 1.2.3.4.5 as a JPEG"
Query Syntax
The query parameter accepted by the search tools is a space-separated list of key=value pairs.
Key formats
Special keys
Examples
Wildcard * is supported in string values where the DICOMweb server allows it.
Typical Workflow
A natural conversational sequence with the MCP server looks like this:
- Search studies —
find-studieswith a patient name or date range. - Browse series —
find-serieswith the Study Instance UID returned in step 1. - List instances —
find-instanceswith Study and Series UIDs from steps 1–2. - Inspect or render —
get-instance-metadatafor DICOM attributes, orrender-instance-frameto view pixel data. - Read SR reports —
find-structured-reportsthenget-structured-report-textfor SR documents. - Read PDF reports —
find-encapsulated-pdf-reportsthenget-encapsulated-pdf-report-textfor Encapsulated PDF documents.
License
dicomweb-mcp-server is released under the MIT License.
Source: README.md at commit d1ae413
Tools
0Version history
1- v0.0.4LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts