You can do it on line at librarything.com - I think you get a free trial of a couple hundred books. Above that there is a small annual fee, or a one time lifetime fee ($10 & $25 respectively about a year ago). There is also a program called BookCat - available at
http://www.fnprg.com/.