In this paper, we present a sustainable approach for the creation of superhydrophobic (SP) coating on a stainless-steel substrate based on a biological metal–organic framework (MOF). The MOF was synthesized using aspartic acid as a linker and copper ions as a core metal. Two SP coatings were well constructed on stainless steel utilizing electrodeposition of nickel (Ni) and nickel altered by MOF (Ni@Bio-MOF) coatings followed by soaking in a solution of stearic acid in ethanol. The results of Fourier transform infrared spectroscopy demonstrate that the stearic acid-grafted nickel coating (Ni@SA) and the stearic acid-grafted Ni@Bio-MOF composite (Ni@Bio-MOF@SA), were effectively deposited on the stainless steel. The wettability findings displayed that the water contact angle of Ni@SA and Ni@Cu-As MOF@SA are 160° ± 1.1°, and 168° ± 1.2°, respectively. The prepared SP coating was also found to be chemically and mechanically stable. The results show that the Ni@SA coating maintains SP characteristics in a pH range of 3–11 while the Ni@Cu-As MOF@SA coating retained SP characteristics in a pH range of 1–13. Additionally, the superhydrophobic Ni@SA coating demonstrated SP characteristics up to a length of abrasion equal to 1300 mm, while the Ni@Cu-As MOF@SA coating exhibited SP characteristics up to a length of abrasion equal to 2700 mm. Furthermore, the Ni@SA and Ni@Cu-As MOF@SA coatings exhibited significantly improved corrosion protection in a 0.5 M NaCl solution compared with bare stainless steel, with protection efficiencies of approximately 94% and 99%, respectively. The results of this study demonstrate that the proposed approach is a promising method for the fabrication of eco-friendly and corrosion-resistant SP coatings on stainless steel substrate.