Based on the HCC gene dataset, we used weighted gene coexpression network analysis for identifying MRGs linked to hepatitis B. An MRG prognostic index (MRGPI) with two genes, ATIC and KIF2C, was constructed using Cox regression analysis, an independent prognostic factor. This evidence concerns the gene KIF2C and hepatocellular carcinoma.