Through network pharmacology analysis, we revealed that SMs of Crataegus pinnatifida and obesity-related gut microbiota could target obesity by interacting with PIK3R1, PIK3CB, SRC, PIK3CA and PIK3 CD. The gene discussed is SRC; the disease is obesity due to melanocortin 4 receptor deficiency.