MontePy is the most user friendly Python library (API) to read, edit, and write MCNP input files.
idaholab
lanl