Ah - yeah, the Tobirama and Madara take being different clans personally. Though Madara seems mostly annoyed by Tobirama in particular, he doesn't mind Tobirama's brother Hashirama.
He can recommend a few books that're good overviews, from slightly-less-biased sources. The Uzumaki have great records, and they've generally been better about staying out of all the drama on the mainland.
Okay, so - that stuff's not going to be in the library, he only knows anything about it because Rian doesn't really have a concept of 'clan secrets' and Mariko isn't apparently aware of what secrets are at all. It's not secret anymore, of course, but what had been known had been entirely a few clans' most treasured records, and there's probably gaps in their knowledge that could be filled in by things people are still hiding.
But, for what they know (and some of this is from Kaguya herself, apparently she stopped to rant at Rian at one point), Kaguya's actually from another dimension. She came here in search of the God Tree, married the leader of a major nation, and there was Drama that apparently convinced her humans are nonredeemable. She ate the fruit of the God Tree at some point, granting her chakra; her two sons were the first people born with chakra, and after she decided to take over the world the oldest was the one to notice that she was sacrificing people or something? He and his brother confronted her, she realized they had chakra and freaked out, a battle ensued. She turned the God Tree into the Ten Tails, and her sons eventually sealed her and the Ten Tails's body into the moon, the Ten Tails' chakra being sealed into the Sage himself. It's unclear if the moon existed before that or not. The Sage had two sons, Indra and Asura, who after his death fought over his legacy. Indra fathered the line that led to the Uchiha and a few other clans, Asura the line that led to the Senju, Uzumaki, and a handful of others. The Sage's brother fathered a line that led to the Hyuuga. The Kaguya clan are also descended from Kaguya somehow, they have her bone-manipulation abilities, but the records of how have been lost.