Parsing inflected forms may not always work as expected. If the following does not give the correct word, try Latin Words or Perseus.
Mĕgas, ae, m., = μέγας, a surname; e. g. Demetrius Megas, Cic. Fam. 13, 36, 1.