To address the energy consumption issue in mining area buildings, this paper proposed a solar-coupled mine water-source heat pump combined heating and cooling (SMWHP-CHC) system, taking the employee dormitory building group of a coal mining enterprise in Tongchuan City, China, as a case study. The system utilizes renewable solar energy and waste heat recovered from mine water as composite heat sources, and utilizes the cold energy in mine water as a cooling source to meet the demands for space heating, space cooling, and annual domestic hot water of the building in a sustainable manner. The simulation model of the system was established by TRNSYS to analyze the system’s annual operational performance. The results indicated that the system exhibited a positive energy efficiency and environmental performance under different operating conditions. The heating coefficients of the performance of the system (COPsys) during the space heating season and transition season were 3.54 and 18.6, and the cooling energy efficiency ratio of the system (EERsys) was 3.79. In addition, aiming to minimize the annual cost of the system, multiple crucial device parameters were synchronously optimized employing the PSO-HJ hybrid optimization algorithm through the GenOpt 2 software. The annual cost of the optimized system was reduced by 8.82%, and the investment cost was significantly reduced, while the performance was also improved. This study can provide theoretical support for the sustainable engineering application of the SMWHP-CHC system in mining area buildings.