Finally, MMP2 and MMP9 were identified and validated as hub genes in GC. Here, MMP2 is linked to gastric cancer.