In this paper, we develop a numerical approach based on the reproducing kernel Hilbert (RKHS) method on non-uniform girds for solving the linear Fredholm integro-differential equations with variable coefficients. Furthermore, convergence of the proposed method is presented providing the theoretical basis of this method. Finally, we test our method on one example to demonstrate the efficiency and applicability of the proposed method.