MCPcopy Index your code
hub / github.com/Project-MONAI/MONAI

github.com/Project-MONAI/MONAI @1.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.6.0 ↗ · + Follow
10,260 symbols 50,600 edges 1,305 files 3,783 documented · 37% updated 1d ago1.6.0 · 2026-06-11★ 8,392342 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

project-monai

Medical Open Network for AI

Supported Python versions License auto-commit-msg PyPI version docker conda

premerge postmerge Documentation Status codecov monai Downloads Last Month

MONAI is a PyTorch-based, open-source framework for deep learning in healthcare imaging, part of the PyTorch Ecosystem. Its ambitions are as follows:

  • Developing a community of academic, industrial and clinical researchers collaborating on a common foundation;
  • Creating state-of-the-art, end-to-end training workflows for healthcare imaging;
  • Providing researchers with the optimized and standardized way to create and evaluate deep learning models.

Features

Please see the technical highlights and What's New of the milestone releases.

  • flexible pre-processing for multi-dimensional medical imaging data;
  • compositional & portable APIs for ease of integration in existing workflows;
  • domain-specific implementations for networks, losses, evaluation metrics and more;
  • customizable design for varying user expertise;
  • multi-GPU multi-node data parallelism support.

Requirements

MONAI works with the currently supported versions of Python, and depends directly on NumPy and PyTorch with many optional dependencies.

  • Major releases of MONAI will have dependency versions stated for them. The current state of the dev branch in this repository is the unreleased development version of MONAI which typically will support current versions of dependencies and include updates and bug fixes to do so.
  • PyTorch support covers the current version plus three previous minor versions. If compatibility issues with a PyTorch version and other dependencies arise, support for a version may be delayed until a major release.
  • Our support policy for other dependencies adheres for the most part to SPEC0, where dependency versions are supported where possible for up to two years. Discovered vulnerabilities or defects may require certain versions to be explicitly not supported.
  • See the requirements*.txt files for dependency version information.

Installation

To install the current release, you can simply run:

pip install monai

Please refer to the installation guide for other installation options.

Getting Started

MedNIST demo and MONAI for PyTorch Users are available on Colab.

Examples and notebook tutorials are located at Project-MONAI/tutorials.

Technical documentation is available at monai.readthedocs.io.

Docker

The MONAI Docker image is available from Dockerhub, tagged as latest for the latest state of dev or with a release version. A slimmed down image can also be built locally using Dockerfile.slim, see that file for instructions.

To get started with the latest MONAI, use docker run -ti --rm --gpus all projectmonai/monai:latest /bin/bash.

Citation

If you have used MONAI in your research, please cite us! The citation can be exported from: https://arxiv.org/abs/2211.02701.

Model Zoo

The MONAI Model Zoo is a place for researchers and data scientists to share the latest and great models from the community. Utilizing the MONAI Bundle format makes it easy to get started building workflows with MONAI.

Contributing

For guidance on making a contribution to MONAI, see the contributing guidelines.

Community

Join the conversation on Twitter/X @ProjectMONAI, LinkedIn, or join our Slack channel.

Ask and answer questions over on MONAI's GitHub Discussions tab.

Links

Core symbols most depended-on inside this repo

append
called by 1740
monai/metrics/metric.py
array
called by 1089
monai/data/meta_tensor.py
optional_import
called by 596
monai/utils/module.py
get
called by 436
monai/bundle/config_parser.py
astype
called by 324
monai/data/meta_tensor.py
convert_to_tensor
called by 257
monai/utils/type_conversion.py
as_tensor
called by 240
monai/data/meta_tensor.py
ensure_tuple
called by 239
monai/utils/misc.py

Shape

Method 6,819
Class 2,334
Function 1,087
Route 20

Languages

Python100%

Modules by API surface

monai/transforms/intensity/array.py149 symbols
monai/transforms/spatial/array.py139 symbols
monai/transforms/utility/dictionary.py136 symbols
monai/transforms/utility/array.py122 symbols
monai/transforms/spatial/dictionary.py120 symbols
monai/transforms/intensity/dictionary.py117 symbols
monai/transforms/utils.py79 symbols
monai/transforms/croppad/array.py78 symbols
monai/data/dataset.py74 symbols
monai/transforms/croppad/dictionary.py70 symbols
tests/transforms/compose/test_compose.py67 symbols
tests/test_utils.py67 symbols

Dependencies from manifests, versioned

black26.3.1 · 1×
clearml1.10.0rc0 · 1×
commonmark0.9.1 · 1×
coverage5.5 · 1×
gdown4.7.3 · 1×
isort5.1 · 1×
itk5.2 · 1×
lpips0.1.4 · 1×
matplotlib3.6.3 · 1×
mlflow2.12.2 · 1×
mypy1.5.0 · 1×
nni2.10.1 · 1×

For agents

$ claude mcp add MONAI \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact