Fatal accidents associated with underground coal mines require the implementation of high-level gas monitoring and miner's localization approaches to promote underground safety and health. This study introduces a real-time monitoring, event-reporting and early-warning platform, based on cluster analysis for outlier detection, spatiotemporal statistical analysis, and an RSS range-based weighted centroid localization algorithm for improving safety management and preventing accidents in underground coal mines. The proposed platform seamlessly integrates monitoring, analyzing, and localization approaches using the Internet of Things (IoT), cloud computing, a real-time operational database, application gateways, and application program interfaces. The prototype has been validated and verified at the operating underground Hassan Kishore coal mine. Sensors for air quality parameters including temperature, humidity, CH 4 , CO 2 , and CO demonstrated an excellent performance, with regression constants always greater than 0.97 for each parameter when compared to their commercial equivalent. This framework enables real-time monitoring, identification of abnormal events (>90%), and verification of a miner's localization (with <1.8 m of error) in the harsh environment of underground mines. The main contribution of this study is the development of an open source, customizable, and cost-effective platform for effectively promoting underground coal mine safety. This system is helpful for solving the problems of accessibility, serviceability, interoperability, and flexibility associated with safety in coal mines.