With the growth of university chemistry experiment projects, the corresponding laboratory safety risks are increasing year by year for scientific research personnel, and specialized equipment. However, accident data are not stored systematically for lack of a safety platform to collect accident information, share the causes of accidents, and predict safety risks. To solve these problems, we designed a laboratory accident system to store and share related data, and predict risk levels. In this paper, the majority of chemistry laboratory accidents were manually collected by Python software (version 3.10.11) and were categorized based on their risk level. Moreover, the variable factors that generated risk were analyzed using Spsspro, which facilitates the construction of a meaningful forecasting model of laboratory safety via Stata. It is worth noting that the registered laboratory accident data in the proposed chemistry accident system were based on the data ownership safety architecture. The chemistry accident system can break through data barriers using confirmation and authorization key algorithms to trace non-tampered data sources in a timely manner when an emergency accident happens. Meanwhile, the proposed system can use our designed accident risk model to predict the risk level of any experimental project. It can also be recommended as an appropriate safety education module.