There is also Haidian Library. You can get a reader's card with your ID card at Dan Ling Street in Zhongguancun. It is also very common in Beijing. You can read books and borrow books in the Capital Library and all district libraries.
Why not go to Beitu? Residents can apply for a card, but the specific borrowing function will be different because of different academic qualifications and professional titles. The books there are complete. I suggest going to Beitu.