Technological advancements in education have led to major transformations, particularly with the implementation of the Merdeka Curriculum, which emphasizes learning flexibility, student-centered approaches, and educator autonomy in developing innovative teaching methods. One of its essential aspects is the integration of technology for managing educational data, including student health records. At SMP IT Mutia Rahma, biannual student health monitoring has generated a growing volume of data, making it difficult to identify students experiencing psychological challenges. Adolescent mental health problems—such as learning stress, anxiety, and social pressure—can negatively affect academic performance if left unaddressed. This study aims to group students based on their mental health conditions to support more effective intervention strategies. The K-Means Algorithm, a data mining technique for clustering data by similarity, was employed to analyze student health data. The results show that in a three-cluster model, Cluster 2 represents students in a stable condition characterized by high resilience and low counseling needs, indicating good mental health and academic engagement. Meanwhile, Clusters 1 and 3 include students requiring further attention and support. This research demonstrates that the K-Means Algorithm can serve as an effective tool in identifying and categorizing student mental health conditions to improve school-based health management and early intervention programs.