An unhinged cyclist shattered a Manhattan Uber driver’s windshields, then slugged him in the face with a bike lock before jumping on top of his car and screaming, police said.

The melee kicked off in Midtown at about 1:20 p.m. Friday, when the crazed suspect used the bike lock to smash the front and back windshields of the Uber driver’s car at 40th Street and Fifth Avenue.

The driver then stepped out of the car to avoid the shards of glass, cops said. Once he was on the street, the maniac cracked him in the face with the bike lock.

The suspect then climbed on top of the car and screamed at the top of his lungs, cops said.

He then hopped off and pedaled away on a black and green bike, authorities said.

The Uber driver was treated at a nearby hospital, cops said.