Au@BC3, O-Zn@BC3 and Ti/Cu/Mo@BC3/NbB2(0001) are excellent HER catalysts due to the Gibbs free energy changes close to zero. The catalytic activity of the adsorption site is highly related to the degree of charge transfer between the adsorbate and substrate.