Modulating single-metal sites at the atomic level can boost the intrinsic catalytic activity. Here, the authors describe the design of Pt atomic clusters containing Pt-O-Pt units supported on Co single atoms and N co-doped carbon for enhanced hydrogen evolution catalysis.