We have investigated the adhesion effect on the hyperfine frequency shift of an alkali metal vapor cell with paraffin coating using the peak-force tapping AFM (atomic force microscopy) technique by developing a uniform and high-quality paraffin coating method. We observed a relatively uniform temperature field on the substrate can be obtained theoretically and experimentally with the closed-type previse temperature-controlled evaporation method. The roughness and adhesion of the coating surface as low as 0.8 nm and 20 pN were successfully obtained, respectively. Furthermore, the adhesion information dependence of the topography was investigated from the force spectroscopy, which indicates that the adhesion force jumped on the edge of the particles and stepped but remained constant above the particles and steps regardless of their height for paraffin coating. Finally, we can evaluate the relaxation and the hyperfine frequency shift of an alkali metal vapor cell through accurately calculating the surface adsorption energy of the paraffin coating from peak-force tapping information. This finding is crucial for improving the sensitivity of the atomic sensors through directly analyzing the adhesion effect of the paraffin coating films instead of measuring the relaxation times.