can we get the ncert books for free for the preparation of upsc examination
Yes Central board of education makes NCERT books available for free on internet in PDF form.
Through ncert official website you can get books for classes 1-12. Here's a link for the same.
NCERT books are considered, most helpful for competitive exams especially for main competitive exams such as jee, neet, upsc.
Hope it helps.