According to the permutation importance analysis, CRP, NLR, and albumin were identified as the most significant predictors of depression in pancreatic cancer patients across multiple ML models. Here, CRP is linked to major depressive disorder.