Weighted logistic regression revealed a significant positive association between AGP levels and gallstone risk, even after adjusting for all covariates (OR: 3.07; 95% CI: 1.16–8.11; p = 0.036). Here, ATP5MK is linked to gallstones.