We determine the MS-bar charm quark mass from a charmonium QCD sum rules analysis. On the theoretical side we use input from perturbation theory at O(αₛ³). Improvements with respect to previous O(αₛ³) analyses include (1) an account of all available e+e- hadronic cross section data and (2) a thorough analysis of perturbative uncertainties. Using a data clustering method to combine hadronic cross section data sets from different measurements we demonstrate that using all available experimental data up to c.m. energies of 10.538 GeV allows for determinations of experimental moments and their correlations with small errors and that there is no need to rely on theoretical input above the charmonium resonances. We also show that good convergence...