Check japanese.io for a recent product. I haven't used them in years but rikai-chan or rikai-kun used to be relatively useful; it looks like there's a newer thing called yomi-chan too.
If you're comfortable with Python you should be able to use fugashi to throw together a tool pretty quickly, I've though about doing it before but never got around to it.