Abstract We describe features of the X-ray: Generate and Analyse (Xga) open-source software package that have been developed to facilitate automated hydrostatic mass (Mhydro) measurements from XMM X-ray observations of clusters of galaxies. This includes describing how Xga measures global, and radial, X-ray properties of galaxy clusters. We then demonstrate the reliability of Xga by comparing simple X-ray properties, namely the X-ray temperature and gas mass, with published values presented by the XMM Cluster Survey (XCS), the Ultimate XMM eXtragaLactic survey project (XXL), and the Local Cluster Substructure Survey (LoCuSS). Xga measured values for temperature are, on average, within 1 % of the values reported in the literature for each sample. Xga gas masses for XXL clusters are shown to be ∼10 % lower than previous measurements (though the difference is only significant at the ∼1.8σ level), LoCuSS R2500 and R500 gas mass re-measurements are 3 % and 7 % lower respectively (representing 1.5σ and 3.5σ differences). Like-for-like comparisons of hydrostatic mass are made to LoCuSS results, which show that our measurements are 10 ± 3 % (19 ± 7 %) higher for R2500 (R500). The comparison between R500 masses shows significant scatter. Finally, we present new Mhydro measurements for 230 clusters from the SDSS DR8 redMaPPer XCS sample (SDSSRM-XCS). Our SDSSRM-XCS hydrostatic mass measurements are in good agreement with multiple literature estimates, and represent one of the largest samples of consistently measured hydrostatic masses. We have demonstrated that Xga is a powerful tool for X-ray analysis of clusters; it will render complex-to-measure X-ray properties accessible to non-specialists.