
DICOMweb MCP Server
io.github.PantelisGeorgiadis由 GitHub 账号 PantelisGeorgiadis 发布v0.0.4更新于 Nov 10, 2026
MCP server exposing a DICOMweb DICOM archive to AI assistants via QIDO-RS and WADO-RS.
概览
让助手连接 DICOMweb 医学影像归档,检索检查、序列与实例,读取报告文本并渲染影像帧。
- 可以做什么
- 用 key=value 过滤、分页与模糊匹配检索检查、序列和实例
- 将结构化报告与封装 PDF 报告读取为可读文本
- 查看单个实例的全部 DICOM 属性(不含像素数据)
- 将实例的指定帧渲染为内嵌 JPEG 或 PNG 图像
- 适用场景
- 当你使用 Orthanc 等 DICOMweb 归档,希望用对话方式浏览影像检查、提取报告文本或查看影像帧,而不必打开 PACS 阅片器时适用。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js 20 或更高版本。需要一个可访问且支持 QIDO-RS 与 WADO-RS 的 DICOMweb 服务器,由 DICOMWEB_HOST 指定。可选认证:DICOMWEB_AUTH 设为 basic 或 bearer,配合 DICOMWEB_USER 与 DICOMWEB_PASS,或使用 DICOMWEB_TOKEN。可选 DICOMWEB_TIMEOUT(毫秒)。配置可放在 .env 文件或客户端的 env 块中。
安装
在 SourceWeft 中
- 打开 控制台中的 DICOMweb MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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.
来源:README.md,提交 d1ae413
工具
0版本历史
1- v0.0.4最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分