A library for computing the filtered and non-filtered 3D Green’s tensor associated with infinite homogeneous space and surfaces. We describe a library to compute various types of Green’s tensor for three-dimen-sional electromagnetic scattering calculations. This library includes the retarded and non-retarded (quasi-static) Green’s tensors for infinite homogeneous space and the non-retarded Green’s tensor associated with a surface. Both standard and filtered Green’s tensor can be computed. Filtered Green’s tensor can be used to accurately investigate high permittivity scatterers with the coupled-dipole approximation.