Monjusenji (文殊仙寺), just like the Kunisaki peninsula’s poster boy, Futagoji (両子寺) was also built during the inception of the Rokugo Manzan (六郷満山). Unlike most other temples within the peninsula that were founded by the legendary monk Ninmon (仁聞), Monjusenji has the distinction of being founded by En-no-Gyoja (pronounced En-no-Gyōja/En-no-Gyouja/役行者) in AD 648. En-no-Gyoja is also the founding father of Shugendo (pronounced Shugendō/Shugendou/修験道), a practice involving finding superpowers from trekking through steep mountain ranges.
In fact, the practice of Shugendo itself influenced the temple’s secluded location. The principle deity of the temple is the Boddhissatva Manjushri (Monju-Bosatsu/文殊菩薩 in Japanese); which was decided by En-no-Gyoja himself whom began worshipping the deity during his spiritual adventures in Mt Wutai (五台山), China. The temple became a training ground for monks, as well as a worship place for the Nomi clan (能見家) of Kitsuki (杵築).
Because Manjushri is strongly associated with wisdom, today the temple is a go-to spot for those seeking further wisdom. For a fun fact, there is also the saying San-nin yoreba Monju-no-chie (三人寄れば文殊の知恵), which means having three people is better than a single person’s wisdom. Some of these include moms who bring their new-born children as well as hardcore students who want to pass their examinations.