Establishing moral character is the fundamental task of education and the foundation of colleges and universities. Combined with the characteristics and requirements of specialized disciplines, mining the potential value of class Civics education is the main method of Civics education. In this study, after collecting and preprocessing the civic and political network data of different colleges and universities, we use the TF-IDF algorithm and the LDA theme model to conduct multi-dimensional mining of the potential value of civic and political education themes, and then use the Apriori algorithm to make its potential value of the association rules visualized. The mining results show that there are 7 major themes of potential value themes of Civic and Political Education, which are Red Culture, Online Service, Competition, Real-time Exercise, Cultural Promotion, Moral Literacy, and Knowledge Learning. Based on the analysis results, corresponding management countermeasures are proposed from the three levels of spirit, education and practice, aiming to improve the management level of Civic and Political Education.