In order to explore music therapy methods suitable for different types of students, this paper analyzes students' daily behavioral habits, studies the motivations and sources of their mental health activities, and constructs a student mental health data processing system based on network application development tools. Using .net application development tools as the main tool, a student mental health data information processing system is simulated and designed. Based on its own understanding of usage, this paper analyzes several commonly used system function modules and supplements the IoT smart medical health monitoring architecture. The results show that music therapy has a certain therapeutic effect on students' mental health. The high school students surveyed in this questionnaire meet the scope of application of music therapy. Combined with the various advantages of modern computer technology and IoT sensors, the mental health status of students is analyzed to restore their mental health level.