Humans have known Mercury since time immemorial as it is one of the five planets visible through a naked eye. So it is not possible to give credit to a single person for discovering it but it was first identified as a planet by Copernicus when he developed his model of the solar system showing that the Sun was the center of the solar system. The discovery was later confirmed by Galileo with the help of his rudimentary telescope.