This repository contains machine-readable XML of Massachusetts General Laws. Check the date of a specific file for its last update.
The XML in this repository is generated for use with StateDecoded, though it is compatible with really any application, though it may require a little work to adapt. For information on the XML schema used, see The StateDecoded Documentation.