The kind of sensing platform in nano biosensor plays an important role in nucleic acid sequence detection. It has been demonstrated that graphene does not have an intrinsic band gap; therefore, transition metal dichalcogenides (TMDs) are desirable materials for electronic base detection. In the present work, a comparative study of the adsorption of the DNA/RNA nucleobases [Adenine (A), Cytosine (C) Guanine (G), Thymine (T) and Uracil (U)] onto the single-layer molybdenum disulfide (MoS2) and Li-doped MoS2 (Li-MoS2) as a sensing surfaces was investigated by using Dispersion-corrected Density Functional Theory (D-DFT) calculations and different measure of equilibrium distances, charge transfers and binding energies for the various nucleobases were calculated. The results revealed that the interactions between the nucleobases and the MoS2 can be strongly enhanced by introducing metal atom, due to significant charge transfer from the Li atom to the MoS2 when Lithium is placed on top of the MoS2. Furthermore, the binding energies of the five nucleobases were in the range of −0.734 to −0.816 eV for MoS2 and −1.47 to −1.80 eV for the Li-MoS2. Also, nucleobases were adsorbed onto MoS2 sheets via the van der Waals (vdW) force. This high affinity and the renewable properties of the biosensing platform demonstrated that Li-MoS2 nanosheet is biocompatible and suitable for nucleic acid analysis.