Mahdi is a name of Arabic origins. It is a variant of the name 'Mehdi', which means 'rightly guided'.