The environmental protection attribute and energy-saving level of green buildings cannot be described by the traditional evaluation model. In order to solve the above problems, a new ecological energy-saving effect evaluation algorithm of green buildings based on gray correlation degree is designed. Based on the framework of building energy-saving index system, the environmental protection evaluation standards are divided and the results are used to screen the energy-saving indexes, so as to complete the establishment of green building ecological energy-saving index system and standards. Then, the evaluation set is established, and the evaluation scale of each layer of indicators is accurately located according to the weight value of each index. On this basis, the membership matrix is constructed. By calculating the index weight and determining the fuzzy synthesis operator, the rating process of the algorithm is improved and the analysis of the evaluation algorithm of environmental protection and energy conservation indicators of green building materials based on gray correlation degree is realized. The experimental results show that the designed algorithm has good stability of the fitting curve, can save energy, and has low cost.