The invention discloses an automatic clamp upper cover fetching device for automated production of circuit boards. The automatic clamp upper cover fetching device comprises a rack, a positioning mechanism and a die fetching mechanism, the positioning mechanism and the die fetching mechanism are mounted on the rack, a first mechanical arm is horizontally inserted at the top of the rack, a second mechanical arm is vertically inserted on the first mechanical arm, the die fetching mechanism is mounted on the second mechanical arm, a lifting rod is mounted on the second mechanical arm, a sucker frame is fixed at the lower end of the lifting rod, a lifting cylinder is fixed on each of two sides of the sucker frame, a lifting cylinder extensible rod is connected with a lifting claw, a sucker is mounted on the undersurface of the sucker frame, upper cover buckles are symmetrically arranged on two sides of a clamp upper cover, buckle grooves are symmetrically formed in two sides of a clamp baseplate, and the upper cover buckles are embedded in the buckle grooves for matched connection. The automatic clamp upper cover fetching device can realize automated clamp upper cover fetching during circuit board assembling and is suitable for large-batch production, stable in control and convenient to maintain.