Both series have Suzaku as the main God (school, for Yamada-kun to 7-nin no Majo) in which the protagonists siding with, and both animes has their protagonist gathering seven peoples in order to have their wishes granted. Both animes also deals with a book that has the informations about the warriors or witches. And they are also deals with time travel (Ancient China, for Miaka and Yui. And near past, for Ryu and Jin)