Microgrids need real-time energy management that integrates accurate load and solar forecasts with efficient battery dispatch while preserving battery lifetime. Forecast uncertainty can increase unnecessary grid imports, battery cycling, and curtailment when operational decisions rely on single-source prediction. This paper proposes a real-time forecasting and dispatch framework combining a hybrid load–solar prediction model with a degradation-aware battery scheduling strategy. The objective is to improve short-horizon operational decisions while reducing avoidable battery ageing. A hybrid forecasting model uses distinct methods for load and solar components. The dispatch strategy minimises operational cost while incorporating a degradation penalty derived from a cycle-life model. The framework is tested on representative microgrid data against persistence, statistical, and non-degradation dispatch benchmarks. The hybrid forecaster reduces prediction error compared to single-model approaches, and the degradation-aware dispatch extends estimated battery life by 8.6% while maintaining near-optimal economic performance. The framework also reduces unnecessary charge–discharge reversals during periods of volatile photovoltaic output. The integrated real-time system offers a practical, computationally light solution for microgrid operators, balancing cost, accuracy, and battery health. Its design supports deployment in campus, community, and commercial microgrids with limited computational infrastructure.