This study proposes a Disturbance-improved Model-free Adaptive Prediction Control (DMFAPC) algorithm for a discrete-time nonlinear system with time delay and disturbance. The algorithm is shown to have good robustness. On the one hand, the Smith predictor is used to predict the output at a future time to eliminate the time delay in the system; on the other hand, an attenuation factor is introduced at the input to effectively eliminate the measurement disturbance. The proposed algorithm is a data-driven control algorithm that does not require the model information of the controlled system; it only requires the input and output data. The convergence of the DMFAPC is analyzed. Simulation results confirm the effectiveness of this algorithm.