Searching for highly efficient, economical, and environmentally friendly bifunctional electrocatalysts for the oxygen reduction reaction (OER) and oxygen evolution reaction (ORR) is crucial in developing renewable energy conversion and storage technology. In this study, we systematically investigate the effect of defect charges on the electrocatalytic performance of transition metal (TM = Ti, V, Cr, Mn, Fe, Co, Ni, Cu, Ru, Rh, Pd, Ag) single atoms anchored on a PtSe2 monolayer (TM@PtSe2) using first-principles calculations. Based on our formation energies calculation, we find that Pt-rich conditions can promote the TM atoms anchored on the PtSe2 and demonstrate that 29 types of TM@PtSe2 in different charge states are stable. Among these materials, Pd•@PtSe2 (ηOER/ORR = 0.31/0.43 V ) and Pd×@PtSe2 (ηOER/ORR = 0.36/0.74 V) systems not only have low formation energy but also exhibit excellent catalytic performance, due to their ultralow overpotential (η). Interestingly, our results reveal that adjusting the charge states of TM@PtSe2 is a new effective method for designing low overpotential bifunctional OER/ORR. This adjustment can tune the interaction strength between the oxygenated intermediates and the TM@ PtSe2. Additionally, we employ machine learning (ML) models to investigate the origin of activity in the OER/ORR processes. Our results reveal that the first ionization energy (Im), the electronegativity (Nm), the number of TM-d electrons (Ne), the d-band center (εd), the electron affinity (χm), and the charge transfer of TM atoms (Qe) of TM@PtSe2 are the primary descriptors characterizing the adsorption behavior. This study emphasizes the impact of defect charges on electrochemical reactions, offering theoretical guidance for designing single-atom catalysts and exploring more efficient bifunctional OER/ORR electrocatalysts.