Siri, the voice of Apple products, has infiltrated our lives. Miri slips Mary into an updated version in spelling with a similar pronunciation. It could be a nickname for Miriam too.
For boys, it may be more common to use Mary or Marie as a middle name, especially in non-English traditions. But there are other options, too.+