The combination of this metabolite classifier and AFP might be useful in the surveillance and early detection of HCC in the T2DM population. Here, AFP is linked to type 2 diabetes mellitus.