These little figures on the front roofs are called ” Shoki-san”.
They are for protection from harm or disaster, and their roots are from Taoism in China.
They block goblins and demons which came from temples and Shoki-san protect people’s homes.
Kyoto has a lot of temples, so there are many Shoki-san.
They say there are about 3000 of them.
You can find many of them in Kamihichiken and other traditional neighborhoods.