The Clec7a agonist accelerated diet-induced obesity, while Clec7a deficieny in mice resulted in resistance to diet-induced obesity and blocked the anti-obese effect of antifungal drugs and fungi. Here, CLEC7A is linked to obesity disorder.