In order to make seismic exploration have a good geological effect, seismic exploration data need to be divided into different classes or clusters. In this paper, K-means algorithm of artificial intelligence algorithm is used to cluster massive data and cluster geological exploration seismic data. The results show that the selection of clustering number k is the best. Clustering analysis is an important research field in data mining. K-means algorithm is an important branch of clustering algorithm. This algorithm has its inherent shortcomings and needs to be improved to adapt to geological exploration seismic data. In the future, it will be widely used in various fields and stages of geological exploration.