Abstract In this paper, in order to solve the teaching problems of college Civics courses under the perspective of the big Civics course, data mining technology is used to obtain school history resources and then construct research on the teaching of college Civics courses empowered by school history resources based on data mining. The initial data of school history resources obtained by data mining, regression analysis and decision tree analysis of the initial data are used to offset the influence of the attribute values of school history resources on the research results, and association rule analysis is used to help students understand the characteristics, connotation and connection between school history resources and the teaching of ideological and political education. Based on the relationship between school history resources and ideological and political education, a data mining-based research program on school history resources empowering ideological and political teaching was designed, confirmed and analyzed. The results show that the average scores of the four items of management attitude, management ability, management method and management effect in the school history resources empowering the teaching of ideology and politics are 0.6001, 0.5761, 0.5481, 0.5751, which indicates that the development of the school history resources based on mining association rule algorithms of data mining technology can better realize the function of teaching in the teaching of ideology and politics courses. This study enhances the use of previous school history resources in ideological and political education, which is conducive to the development of high-quality socialist successors and reliable builders.