Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>MCPL ViewerNew to Visual Studio Code? Get it now.
MCPL Viewer

MCPL Viewer

Igor Voronin

|
3 installs
| (0) | Free
Read-only MCPL 3.0 table viewer for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MCPL Viewer

A Visual Studio Code extension for viewing MCPL 3.0 particle files in a read-only table.

Supports .mcpl and gzip-compressed .mcpl.gz files.

Screenshot

MCPL in Visual Studio Code

Features

  • View particle index, PDG code, position, direction, time, energy, and weight.
  • View polarisation and user flags when present in the file.
  • Select cells, ranges, rows, or columns and copy them as CSV, TSV, or PSV.
  • Resize columns and rows.
  • Browse large particle lists with virtual scrolling.

Usage

Open an .mcpl or .mcpl.gz file in VS Code.

About MCPL

MCPL (Monte Carlo Particle Lists) is a binary file format for storing and exchanging particle state information.

  • MCPL project
  • MCPL paper

Acknowledgements

Some table interaction and styling code is adapted from CSV by Jona Raphael, licensed under the MIT License. The original copyright notice is retained in LICENSE.

The MCPL reader is implemented independently.

MCPL sample files in example_mcpl_sources/ are distributed under the Apache License 2.0. See NOTICE.md and LICENSE.txt.

Feedback

Report bugs and request features in the GitHub issue tracker.

License

The extension is licensed under the MIT License.

Third-party materials retain their respective licenses:

  • MCPL sample files — Apache License 2.0.
  • MCPL paper — CC BY 4.0.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft