KindleUnpack would work, but is probably overkill. But you could certainly adapt it to just find the MOBI version number.
I did do a
DRM check script ages ago that also gave version number. But I'm not sure if it would work with newer Kindle versions.