Two MetS-RA hub genes (TYK2 and TRAF2) were filtered by machine learning algorithms, and a diagnostic model for RA prediction was constructed. Here, TRAF2 is linked to metabolic syndrome.