The effective utilization and assessment of medical resources have become a common concern for scholars in various countries due to the impact of the COVID-19 pandemic. This study deals with a method to monitor medical resource allocation in real-time and verify the effectiveness of the proposed method with actual data. In this work, we selected Iwate Prefecture in northeastern Japan based on the geographical characteristics and social environment. By collecting data from the Japanese Ministry of Land, Infrastructure, Transport, and Tourism and Welfare (MLIT), we clustered population centers in Iwate Prefecture, and found the clustering centers in densely populated areas from the k-means algorithm. Subsequently, to compare the distribution of county-level medical resources across different secondary care areas, we selected the indicators of Iwate Prefectural Hospitals from the Hospital Intelligence Agency. We classified 19 prefectural hospitals in Iwate Prefecture into four different clusters using the spectral clustering algorithm. The clustering results revealed that all hospitals close to the " clustering centers in densely populated areas" were Iwate prefectural disaster stronghold hospitals. Moreover, we found that these hospitals performed well in operational indicators. Only the Ninohe prefectural hospital in the Ninohe medical area was found not located in a population center. However, it still performs well in terms of business indicators since the Ninohe medical area has a high proportion of public hospitals and the Ninohe prefectural hospital plays an important role. Hence, the government should fully consider geographical characteristics when considering hospital restructuring. We used a real data set to demonstrate the validity of the proposed technique, providing a theoretical basis for the government's healthcare policy.