In this study, we show that the obesity and cancer gut microbiota share a characteristic microbial profile with a high colonization by mucin degraders species, such as Hafnia alvei and Akkermansia muciniphila. Here, MUC5AC is linked to obesity due to melanocortin 4 receptor deficiency.