This study investigated whether a renewable energy attention (REA) index, based on natural language processing, Google search volume data, and dimensionality reduction methodology, can predict crude oil volatility. Considering the possible non-linear and time-varying effects, we adopted the time-varying transition probability Markov switching heterogeneous autoregressive-realized volatility (TVTP-MS-HAR-realized volatility (RV)) model. To further represent the impacts of REA, we developed an asymmetric TVTP-MS-HAR-RV model based on this model framework, i.e., the ASTVTP-MS-HAR-RV model. According to the results, the in-sample estimates indicated that West Texas Intermediate (WTI) volatility is more affected by negative REA shocks than by positive ones. Moreover, REA predicted WTI volatility better during low-volatility periods than in high ones. According to the out-of-sample findings, the ASTVTP-MS-HAR-RV-F model outperformed other competing models, indicating that time-varying transition probabilities and REA information can significantly improve volatility forecasting performance.