The EnergyStorageUQ repository of R and JAGS code provides JAGS models and an R workflow for analyzing energy storage capacity of gas reservoirs using material balance methods embedded in statistical models. The code contains tools for a workflow that includes fitting models, making predictions with uncertainty through Monte Carlo simulation, and visualizing the resulting material balance relationships.