With the improvement of human development level, excessive optical radiation has caused adverse effects on human living and production environment, namely, light pollution. In this paper, a system for assessing the degree of light pollution is studied and methods for more effective intervention of light pollution are proposed. On the basis of collecting data related to light pollution, we first preprocessed and extracted information related to 14 indicators, including brightness, light range, population and distance from the sea, from five dimensions of light intensity, social development, human activities, biodiversity and geographical climate, so as to quantitatively analyze the degree of light pollution. Then combined with the analytic hierarchy process (AHP) and entropy weight method (EWM) to calculate the weight of each index, and at last, the sensitivity analysis was used to verify its robustness. Among them, the building distribution density, brightness and distance from the sea have the greatest weight. At the same time, K-means clustering algorithm was used to calculate the standard, and finally an evaluation system was calculated to measure the severity of light pollution.