Mhairi is the Scottish Gaelic form of Mary — from the Hebrew Miriam. The Mh- digraph is pronounced "V" in Scottish Gaelic, giving "VAH-ree."
Mhairi is widely used in modern Scotland. Mhairi Black (born 1994) became the youngest MP in the UK Parliament in 2015.
Mhairi reduces to six — the number of Scottish Mary.