Hooking into MPD song change (status)

I’m working on a web radio type (Calm Radio) music_service plugin. I would like to capture when MPD announces a song change in order to keep a small history of recently played songs. I’ve done some searching around trying to find a way to hook into an event but have so far been unsuccessful. Can anyone provide me with any clues?