Skip to main content

MCPL - Monte Carlo Particle Lists

MCPL files, with extensions .mcpl and .mcpl.gz is a binary format for usage in physics particle simulations. It contains lists of particle state information, and can be used to interchange or reuse particles between various Monte Carlo simulation applications. The format itself is formally described in:

T. Kittelmann, et al., Monte Carlo Particle Lists: MCPL, Computer Physics Communications 218, 17-42 (2017), https://doi.org/10.1016/j.cpc.2017.04.012

All MCPL code is provided under the highly liberal open source Apache 2.0 license (http://www.apache.org/licenses/LICENSE-2.0), and further instructions and documentation can be found at https://mctools.github.io/mcpl/.

The mcpl-core package

The mcpl-core package provides:

  • The mcpltool, a command-line utility for working with MCPL files. For more information about this tool, refer to the https://mctools.github.io/mcpl/usage_cmdline page.
  • The C/C++ API in the form of the mcpl.h header file and associated shared library. For more information about this API, refer to the https://mctools.github.io/mcpl/usage_c page.
  • Configuration utilities for working with the C/C++ API in downstream projects. Specifically, CMake configuration code and the mcpl-config command-line utility are provided.

In addition to the links above, several examples of how to use the C/C++ API, including how to configure a downstream CMake-based project, is provided in the https://github.com/mctools/mcpl/tree/HEAD/examples directory.

Note that it is recommmended for most users to simply install the package named mcpl, rather than referring to the package named mcpl-core directly.

Scientific reference

Copyright 2015-2026 MCPL developers.

This software was mainly developed at the European Spallation Source ERIC (ESS) and the Technical University of Denmark (DTU). This work was supported in part by the European Union's Horizon 2020 research and innovation programme under grant agreement No 676548 (the BrightnESS project).

All MCPL files are distributed under the Apache 2.0 license, available at http://www.apache.org/licenses/LICENSE-2.0, as well as in the LICENSE file found in the source distribution.

A substantial effort went into developing MCPL. If you use it for your work, we would appreciate it if you would use the following reference in your work:

T. Kittelmann, et al., Monte Carlo Particle Lists: MCPL, Computer Physics Communications 218, 17-42 (2017), https://doi.org/10.1016/j.cpc.2017.04.012

Support for specific third party applications

Note that some users might also wish to additionally install the mcpl-extra package, which contains cmdline tools for converting between the binary data files native to some third-party Monte Carlo applications (currently PHITS and MCNP[X/5/6]). Users of Geant4 might wish to install the mcpl-geant4 package, which provides C++ classes (and CMake configuration code) for integrating MCPL I/O into Geant4 simulations. Finally, many Monte Carlo applications have directly integrated support for MCPL I/O into their codes. At the time of writing, the list of applications with known support from MCPL I/O includes:

  • McStas (built in)
  • McXtrace (built in)
  • OpenMC (built in)
  • Cinema/Prompt (built in)
  • VITESS (built in)
  • RESTRAX/SIMRES (built in)
  • McVine (built in)
  • MCNPX, MCNP5, MCNP6 (based on ssw2mcpl/mcpl2ssw from the mcpl-extra package)
  • PHITS (based on phits2mcpl/mcpl2phits from the mcpl-extra package)
  • Geant4 (based on C++/CMake code from the mcpl-geant4 package)

Note that instructions for installation and setup of third-party products like those listed above are beyond the scope of the MCPL project. Please refer to the products own instructions for more information.

Metadata

Release files for mcpl-core 2.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcpl-core 2.2.8
File Size Uploaded
mcpl_core-2.2.8.tar.gz 89.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for mcpl-core 2.2.8
File
mcpl_core-2.2.8-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
mcpl_core-2.2.8-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
mcpl_core-2.2.8-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
mcpl_core-2.2.8-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
mcpl_core-2.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
mcpl_core-2.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
mcpl_core-2.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
mcpl_core-2.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details
mcpl_core-2.2.8-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
mcpl_core-2.2.8-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details

Total release size: 1.5 MB

Release files / mcpl_core-2.2.8.tar.gz

Download URL mcpl_core-2.2.8.tar.gz
Size 89.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9dea5b722aee98f456690fc6b66d2cb785291ca020f3b5d9d30ec236ee45803f
BLAKE2b-256 checksum
How to use checksums
2f4f2cafc9958b2861a6cdde968ef4026dab86c2ac961cf9e204c4c0a9ed4b07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-win_arm64.whl

Download URL mcpl_core-2.2.8-py3-none-win_arm64.whl
Size 167.7 kB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
977a1defd8a8b1b92d237c0aa4b847ad51566b94892f56ce0f02d9783bcec218
BLAKE2b-256 checksum
How to use checksums
7f94f7ecf39257eb8a1ce38083cf1db9e1608a4299e70d4d7c16969a17f5a64d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-win_amd64.whl

Download URL mcpl_core-2.2.8-py3-none-win_amd64.whl
Size 184.4 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
41569c34454343166a94b17b8f5bdfbbcc5de9973d06f736328506331f0e429a
BLAKE2b-256 checksum
How to use checksums
870642b497da036406c19afd1a64a776fa0c85ee731e4e5af8e9accab47a298e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-musllinux_1_2_x86_64.whl

Download URL mcpl_core-2.2.8-py3-none-musllinux_1_2_x86_64.whl
Size 137.9 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
183ad5962c97d6e30c54aa3c9f463ea12e786eaa595aaa36f7e0acaf12343a77
BLAKE2b-256 checksum
How to use checksums
a2f919b19cce87631c7f6c34350ffc1b545bb27a0b96507162f7e0fbffc000d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-musllinux_1_2_aarch64.whl

Download URL mcpl_core-2.2.8-py3-none-musllinux_1_2_aarch64.whl
Size 138.0 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
00df3b996aefdd89b4c72a9af3098be3b3df488a515970983b88b54e9202a8f8
BLAKE2b-256 checksum
How to use checksums
951bc9eaa785226aec37074755fa093000d0edb38fba2aca01c098a38d758687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL mcpl_core-2.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 133.3 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d687252f633de7be6aea44b2e71ed8d146a9d968d0b287a6a3ec72bef4c44b33
BLAKE2b-256 checksum
How to use checksums
4eaea2f6eb7a7fd2784759c9f0f51ade67e3151ae50b27e09895720f210a1685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL mcpl_core-2.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 135.7 kB
Tags Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ab7bed1e93b97ae5654cbb976fe95c9b3e47694987a74bb98ebf99402aadb1cf
BLAKE2b-256 checksum
How to use checksums
3a2ad19142c1be6ea226a477afcd8916a3ed66a6fb68ff27600e2a9928509bcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL mcpl_core-2.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 130.1 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
58ae34e6c51e86174769d4a11a8a6976b70fd9a7eb855d43136d2ba6e0ee87a6
BLAKE2b-256 checksum
How to use checksums
314cd84f164e101feeaa0e67ac6a1e933064e70bb94973f28a261a6354e4b977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL mcpl_core-2.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 135.9 kB
Tags Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e9e94bab14b27cd75d08fb71140e2cc37f627e9b38a4b61e77c5f79c4ffb1c35
BLAKE2b-256 checksum
How to use checksums
5bc1d48c3898c11713dd2cd4b8abd78bdaf98f02ef569dbaa5ca64506511fd65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-macosx_11_0_arm64.whl

Download URL mcpl_core-2.2.8-py3-none-macosx_11_0_arm64.whl
Size 118.0 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c413d09b32e842aedf10a126dde08d29e50028edd34c24cdf1182beac3c008a1
BLAKE2b-256 checksum
How to use checksums
e8f517d42fbf0b179df45dd7eae2aaf3c1f8b2e1c6bb976be95b38e17d64f078
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release files / mcpl_core-2.2.8-py3-none-macosx_10_9_x86_64.whl

Download URL mcpl_core-2.2.8-py3-none-macosx_10_9_x86_64.whl
Size 122.7 kB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
5e8645186932508a6b86300efe29177c2ee66f6c14b198d4f3fcdc2d8a6b58e2
BLAKE2b-256 checksum
How to use checksums
b9004e96db3e06c0ab93b707a84f7d1d9f954d7a0278ab7297c06490e4220390
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.2.8 This release

11 release files

2.2.4

11 release files

2.2.0

11 release files

2.1.0

11 release files

2.0.0

11 release files

1.9.81

1 release file

1.9.80

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page