SHapley Additive exPlanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) analysis has distinguished CRP, Vitamin D, Obesity, HGB, and BM as the most dominant features.<h4>Discussion</h4>Likewise, we have also compared our work with other novel works and validated the performance of our model for the prediction of gallstones. This evidence concerns the gene CRP and obesity due to melanocortin 4 receptor deficiency.