Hepatocellular carcinoma (HCC) treatment remains lack of effective chemopreventive agents, therefore it is very attractive and urgent to discover novel anti-HCC drugs. In the present study, the effects of chlorogenic acid (ChA) and caffeic acid (CaA) on HCC induced by diethylnitrosamine (DEN) were evaluated. ChA or CaA could reduce the histopathological changes and liver injury markers, such as alanine transarninase, aspartate aminotransferase, alkaline phosphatase, total bile acid, total cholesterol, high density lipoprotein cholesterol and low density lipoprotein cholesterol. The underlying mechanisms were investigated by a data integration strategy based on correlation analyses of metabonomics data and 16 S rRNA gene sequencing data. ChA or CaA could inhibit the increase of Rumincoccaceae UCG-004 and reduction of Lachnospiraceae incertae sedis, and Prevotella 9 in HCC rats. The principal component analysis and partial least squares discriminant analysis were applied to reveal the metabolic differences among these groups. 28 different metabolites showed a trend to return to normal in both CaA and ChA treatment. Among them, Bilirubin, L-Tyrosine, L-Methionine and Ethanolamine were correlated increased Rumincoccaceae UCG-004 and decreased of Lachnospiraceae incertae sedis and Prevotella 9. These correlations could be identified as metabolic and microbial signatures of HCC onset and potential therapeutic targets.