The Fandom page on the Library of St John the Beheaded contains many citations from Doctor Who works, but I don't know if it's exhaustive.
What are all the Doctor Who works that reference this in-universe library?
Science Fiction & Fantasy Stack Exchange is a question and answer site for science fiction and fantasy enthusiasts. It only takes a minute to sign up.Sign up to join this community
Here are all the references I can find: