Traditional measurement of drilling fluid rheological parameters suffers from significant lag due to the inability of the instruments to promptly capture real-time parameters of the drilling fluid. These measurement models are typically constructed based on fixed temperature conditions and empirical formulas, rendering them inadequate for complex temperature gradient environments. Consequently, this limitation results in increased prediction errors, severely compromising the precise monitoring of drilling fluid performance. Aiming at the problems of low accuracy and poor stability of drilling fluid measurements under variable temperature conditions, a support vector machine-based calibration model for drilling fluid rheological parameters in a variable temperature environment is proposed in this paper. First, the measurement principle of the double-tube differential pressure rheology real-time measurement device is analyzed. The relationship between shear stress and shear rate is then established using differential pressure sensor and flow rate data. Utilizing the gray wolf optimization algorithm to optimize the kernel function weights and parameters, an SVM-based calibration model for predicting drilling fluid rheology correction parameters is constructed. Finally, a real-time monitoring platform for drilling fluid is developed. Experimental results show that the maximum relative errors for the predictions of apparent viscosity, plastic viscosity, and yield point are within ±5%, with coefficients of determination (R2) all greater than 0.95. These results validate the effectiveness of the proposed method in accurately monitoring the rheological performance of drilling fluids.