Through differential gene expression analysis, WGCNA, and machine learning methods, we identified three biomarkers (IL6R, GZMB, and MSR1) associated with obesity. Here, MSR1 is linked to obesity due to melanocortin 4 receptor deficiency.