These results indicate that CXCR4, CCL20, THY1, and CD2 are promising markers for the diagnosis of UC and MASLD. Here, CCL20 is linked to metabolic dysfunction-associated steatotic liver disease.