MontePy is the most user friendly Python library (API) to read, edit, and write MCNP input files.
Python interface for penRed framework
MC/DC: Monte Carlo Dynamic Code