In this paper, we propose and analyze a spectral approximation for the numerical solutions of fractional integro-differential equations with weakly kernels. First, original are transformed into an equivalent singular Volterra integral equation, which possesses nonsmooth solutions. To eliminate singularity solution, introduce some suitable smoothing transformations, then use Jacobi collocation m...