A perl module to extract information from the mcelog daemon is available here: https://github.com/meow-watermelon/Linux-MCELog