Manashi Sharma, a fifth grader at the Kendriya Vidyalaya, got the autograph from Modi who wrote: "Serve humanity when you grow up, little girl; because this is the best work, service is religion".
The girl had also taken an autograph from External Affairs Minister Sushma Swaraj when she visited Nepal a few days back.
"I want to set a new world record as a person taking the maximum number of autographs from world-famous personalities," Manashi was quoted as saying by the Republica.
She has also taken autographs from President Dr Ram Baran Yadav, Constituent Assembly chairman Subas Nembang and actress Manisha Koirala.
Accompanied by her father Rajnis to see Modi, the first Indian Prime Minister to visit Nepal in 17 years, Manashi was successful in taking an autograph from him soon after he entered the Hyatt Hotel where he is staying.