The invention discloses a mechanical energy storage type highway speed bump power generation device comprising a mechanical transmission part and an energy storage power generation part. The mechanical transmission part mainly comprises a speed bump, a supporting frame, a metal strip, a first crank, a second crank and a driving swing rod, wherein the first crank, the second crank and the driving swing rod are sequentially hinged; one end of the first crank is hinged to the metal strip, the other end of the first crank and the second crank are jointly hinged to a sliding block, the sliding block is mounted in a guiding groove in a supporting plate, and a return spring is mounted on the lower portion of the sliding block in the guiding groove; a driving pawl of a ratchet wheel structure andthe driving swing rod are fixed, a rotating shaft is fixedly connected with a first one-way clutch and a second one-way clutch which are opposite in linkage direction, and the outer circle of the first one-way clutch is fixedly connected with a ratchet wheel; the energy storage power generation part comprises a power generator and a spring-type elastic energy storage device, a mounting gear is arranged on a power generator shaft, and the mounting gear is engaged with an external gear at the outer circle of the second one-way clutch. According to the mechanical energy storage type highway speedbump power generation device, the multistage variable speed is set, the high transmission ratio is achieved as much as possible through the smallest space, mounting is convenient, and the power generation amount is large.