Pydicom
This skill utilizes PyDICOM to read and manipulate DICOM medical images, enabling developers to integrate imaging data into applications.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add pydicom npx -- -y @trustedskills/pydicom
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"pydicom": {
"command": "npx",
"args": [
"-y",
"@trustedskills/pydicom"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides access to the pydicom library, enabling AI agents to read, manipulate, and write DICOM (Digital Imaging and Communications in Medicine) files. It allows parsing of metadata within these files, extracting patient information, image dimensions, and other relevant data. The agent can also perform basic modifications to existing DICOM datasets before saving them.
When to use it
- Analyzing medical images: Extracting key data points from DICOM files for research or reporting purposes.
- Automating tasks in radiology workflows: Modifying image metadata, such as patient names or study dates, based on specific criteria.
- Converting between different DICOM formats: Transforming DICOM datasets to a more usable format for downstream processing.
- Building custom medical imaging applications: Integrating DICOM data handling into larger software projects.
Key capabilities
- DICOM file parsing and reading
- Metadata extraction from DICOM files
- DICOM dataset modification
- DICOM file writing/saving
Example prompts
- "Extract the patient's name and study date from this DICOM file."
- "Modify the accession number in this DICOM file to 'NEW-ACCESSION'."
- "Save this DICOM dataset as a new PNG image."
Tips & gotchas
- Requires familiarity with DICOM data structures. Understanding DICOM tags and their meanings is helpful for effective use.
- DICOM files can be large, so ensure sufficient memory resources are available when processing them.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.