The latest experimental measurements of cosmic rays (CRs) have discovered a series of anomalies, including the hardening of the nuclear spectra at R ∼200 GV followed by softening at R ∼10 TV and complicated energy dependence of anisotropy from GeV to PeV. Recent works have demonstrated nearby sources are crucial for these anomalies of spectra and anisotropy. In this work, we analyze the contributions of five nearby sources within 1 kpc around solar system to the spectra and anisotropy, finally find out which source is the best candidate source. In the calculation process, we also introduce the anisotropic diffusion of CRs induced by the local interstellar magnetic field (LIMF) nearby the solar system based on spatial-dependent propagation (SDP) model. As a result, we find Geminga SNR source can simultaneously account for CR spectra and anisotropy, whereas the other sources can not . Measurements of CR anisotropy and spectra by experiments such as LHAASO and HAWC are expected to test this scenario in the near future.