Lord Vishnu, one of the principal deities in Hinduism, is the god who controls Mercury in Vedic astrology.