This study utilised LR, RF and XGBoost models to build and validate a sarcopenia risk prediction tool for patients with stroke, incorporating seven variables: age, limb dysfunction, diabetes, tube feeding, BMI, NIHSS score and CRP. This evidence concerns the gene CRP and stroke disorder.