Glad you asked... There is no one credited for inventing the first sand clock. You can say the first invented sand clock was actually an hour glass which was invented by either the Greeks or Roman or the Egyptians depending on who you ask
The mechanical clock was invented by a Benedictine monk or monks, but nobody knows the name of the inventor or inventors. It was invented to help them keep a precise schedule for carrying out religious duties.