The Massachusetts Comprehensive Fire Safety Code (527 CMR 1.00) 2012 edition took effect on January 1, 2015. The current 2015 edition went into effect on January 1, 2018. From this page you can link to the next edition, the MA amendments as well as past editions of the code.
The January 1, 2017 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.