Integrating wind energy forecasting into urban city energy management systems offers significant potential for optimizing energy usage, reducing the carbon footprint, and improving overall energy efficiency. This article focuses on developing a wind power forecasting model using cutting-edge technologies to enhance urban city energy management systems. To effectively manage wind energy availability, a strategy is proposed to curtail energy consumption during periods of low wind energy availability and boost consumption during periods of high wind energy availability. For this purpose, an LSTM-based model is employed to forecast short-term wind power, leveraging a publicly available dataset. The LSTM model is trained with 27,310 instances and 10 wind energy system attributes, which were selected using the Pearson correlation feature selection method to identify crucial features. The evaluation of the LSTM-based forecasting model yields an impressive R2 score of 0.9107. The model’s performance metrics attest to its high accuracy, explaining a substantial proportion of the variance in the test data. This study not only contributes to advancing wind power forecasting, but also holds promise for sustainable urban energy management, enabling cities to make informed decisions in optimizing energy consumption and promoting a greener, more resilient future.