In this study, by constructing a library of MO phytochemical structures and using Discovery Studio software, compounds were subjected to virtual screening and molecular docking experiments related to their inhibition of dipeptidyl peptidase (DPP-IV), an important target for the treatment of type 2 diabetes. The gene discussed is DPP4; the disease is type 2 diabetes mellitus.