This paper investigates the effect of peristaltic flow of a Jeffrey nanofluid in endoscope. The flow is streaming through a tapered artery having a mild stenosis. The influences of heat and nanoparticle concentration on blood flow are also taken into account. Both velocity and thermal slip conditions are considered. The governing equations of motion, energy and nanoparticles are based on a perturbation technique. This technique depends on two parameters. Firstly, the amplitude ratio. Secondly, the small wave number. The distributions of the axial velocity, temperature and nanoparticle volume fraction are analytically derived. The pressure rise and friction force are numerically calculated. The numerical calculations are adopted to obtain the effects of several physical parameters, such as the slip parameter, Brownian motion parameter, thermophoresis parameter, the Reynolds number, the taper angle, nanoparticles Rayleigh number, thermal Rayleigh number and the maximum height of stenosis. It is found that the axial velocity increases with the decrease of the slip parameter. Meanwhile, it increases with the increase of both the nanoparticles Rayleigh number and the thermal Rayleigh number in the region of stenosis. The stream lines are also depicted. It is observed that the trapped bolus decreases in size with the increase of both the Brownian motion parameter and the thermophoresis parameter. In addition, the trapped bolus increases in size with the increase of both the maximum height of stenosis and the taper angle.