Native medical imaging on Apple Silicon, built with MLX. Segmentation, detection, synthesis and CT reasoning, running locally on your Mac.
Website · Hugging Face · Python API, CLI & MCP
Requires Apple Silicon, Metal, Python 3.13 and uv. Install MedMLX, then segment a CT scan in a working folder:
uv tool install --python 3.13 "medmlx[all,mcp]"
mkdir -p ~/medmlx-work && cd ~/medmlx-work && cp /path/to/ct.nii.gz .
medmlx run mlx-segment-ct --arg image_path=ct.nii.gz output_dir=segment-ctThe mask is written to ~/medmlx-work/segment-ct/. Weights download on first use.
medmlx models lists every model and medmlx describe <model> shows its inputs;
the setup guide covers
offline weights.
| Repository | Task | Input |
|---|---|---|
| totalsegmentator-mlx | Whole-body anatomy (TotalSegmentator v2) | CT |
| mlx-segment-ct | Automatic and point-prompted anatomy (VISTA-3D) | CT, MRI |
| nnunet-mlx | Organs, lesions and brain tumors (nnU-Net v2) | CT, PET/CT, brain MRI |
| synthseg-mlx | Brain segmentation and parcellation | Brain MRI, CT |
| musclemap-mlx | 113 muscle and bone structures (MuscleMap) | MRI, CT |
| swin-unetr-mlx | 13 abdominal organs | Contrast CT |
| segresnet-mlx | Renal arteries, veins, ureters, tumors and parenchyma | Multiphase CT |
| unest-mlx | Kidney cortex, medulla and collecting system | CT |
| flexray-mlx | Radiograph anatomy | X-ray |
| flexible-unet-mlx | Surgical tools | Endoscopy |
| Repository | Task | Input |
|---|---|---|
| medsam2-mlx | Box, point or mask prompts with propagation (MedSAM2) | 3D volumes, video frames |
| biomedparse-mlx | Text prompts (BiomedParse v2) | 3D volumes, 2D images |
| sam3-mlx | Text, box or point prompts (SAM 3) | 2D images, video frames |
| Repository | Task | Input |
|---|---|---|
| lung-nodule-mlx | Lung nodule detection (MONAI RetinaNet) | Chest CT |
| mlx-reason-ct | CT reports and question answering (NV-Reason-CT) | CT |
| med-vlm-mlx | Image-to-text (MedGemma) | 2D images |
| Repository | Task | Input |
|---|---|---|
| mlx-generate-ctmr | Synthetic 3D CT and MRI (NV-Generate) | Label maps |
| lesiondiffusion-mlx | Synthetic lesions | CT and organ mask |
| fdg-pet-ct-mlx | Synthetic FDG PET | CT and organ labels |
| Repository | Task | Input |
|---|---|---|
| radimagenet-mlx | Radiology image embeddings (RadImageNet) | 2D images |
| mlx-radiomics | Radiomics features and voxel maps | Image and label mask |
Code, model weights and datasets retain their own licenses; see each repository’s notices.
- Request a model to run on your Mac.
- Ask a question about installation, model selection or usage.
- Report a bug in the affected package.
- Share your work with MedMLX.
