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. This evidence concerns the gene PIK3CG and obesity due to melanocortin 4 receptor deficiency.