The current edition of the Massachusetts Comprehensive Fire Safety Code (527 CMR 1.00) is based upon NFPA 1, 2015 edition with Massachusetts amendments effective October 18, 2019. From this page you can link to MA amendments, as well as past editions of the code.
The January 1, 2020 edition of the Massachusetts Electrical Code (527 CMR 12.00) is currently in effect. From this page you can view the current and previous editions.
You need Acrobat Reader to view each of these codes. For the official version of the regulations, contact the Secretary of the Commonwealth's office at www.sec.state.ma.us.