MontePy

APIyesFREEyesDOCS4/5
MO7.5#6of 91
outLinux

Ranked in Physics Simulation Software·Free plan

About

MontePy is a free Python library for reading, editing and writing MCNP input files. Its object-oriented interface links related objects, such as cells and materials, so changing one can update references elsewhere in the file. Documented uses include reactor reconfiguration, fuel shuffling, model parameter studies and updating models with results from other codes. MontePy primarily supports MCNP 6.2; MCNP 6.3 is not fully supported, and earlier versions may have issues. The project says it handles almost all MCNP input syntax, but macrobody facets and other documented syntax limitations are outside its coverage. When writing files, it attempts to preserve original formatting, though modified objects may be reformatted slightly. MontePy does not run MCNP or parse its output files. Install it with pip or conda. Documentation includes Jupyter notebooks that can run in a browser or locally. The GitHub repository identifies the license as MIT, and the documentation credits Battelle Energy Alliance LLC.

Who it is for

MontePy suits Python users automating MCNP deck edits, parameter studies or model updates. It is relevant to workflows involving MCNP input files rather than running MCNP or parsing its output.

What is good

  • Links related input objects and references
  • Installable with pip or conda
  • Attempts to preserve original file formatting
  • Browser and local Jupyter notebooks are documented

What to know first

  • MCNP 6.3 is not fully supported
  • Earlier MCNP versions may have issues
  • Does not run MCNP or parse output files

Verdict

MontePy is focused on programmatic work with MCNP input files, not simulation execution or output analysis. Confirm that the MCNP version and syntax in your models fit its documented support.

Compared on physics simulation software

Free plan
Yesmontepy.org
Delivery mode
hybridmontepy.org
Lesson library
Nomontepy.org
Authoring tools
Nomontepy.org
Assessment tools
Nomontepy.org
3D visuals
Nomontepy.org
Data export
Nomontepy.org

Facts

Purpose
MontePy is a Python library for reading, editing, and writing MCNP input files.montepy.org · 8 Oct 2026
Automation
Its object-oriented interface supports automating tasks such as updating MCNP decks, parameterizing models, and converting models to other Monte Carlo codes.montepy.org · 8 Oct 2026
Semantic model
MontePy links related input objects, such as cells and materials, so changing an object can update references in the file.montepy.org · 8 Oct 2026
Installation
The library can be installed with pip or conda.montepy.org · 8 Oct 2026
Supported MCNP versions
MontePy primarily supports MCNP 6.2; MCNP 6.3 is not fully supported, and earlier versions may have issues.montepy.org · 8 Oct 2026
Does not run MCNP
MontePy does not run MCNP or parse MCNP output files.montepy.org · 8 Oct 2026
Input coverage
The project says it handles almost all MCNP input syntax, but does not support macrobody facets and documents other syntax limitations.github.com · 8 Oct 2026
Formatting
When writing files, MontePy attempts to preserve the original formatting, though modified objects may be reformatted slightly.montepy.org · 8 Oct 2026
Browser demos
The documentation provides Jupyter notebooks that can run in a browser, and says they can also be installed and run locally.montepy.org · 8 Oct 2026
License
The project’s GitHub repository identifies its license as MIT.github.com · 8 Oct 2026
Support
The project directs users to open GitHub issues for feature requests and lists an email address for questions.github.com · 8 Oct 2026
Intended users
Documented use cases include reactor reconfiguration, fuel shuffling, model parameter studies, and updating models with results from other codes.montepy.org · 8 Oct 2026
Maker
The documentation copyright is attributed to Battelle Energy Alliance LLC.montepy.org · 8 Oct 2026

Best MontePy alternatives

See all 20

Where it ranks on Inferse

Sources