Title: Juubee-chan: Lovely Gantai no Himitsu
English title: Jubei-chan the Ninja Girl: Secret of the Lovely Eyepatch

Jiyu Nanohana is an ordinary schoolgirl until she runs across a scatterbrained 300 year old samurai who tells her that she is the reincarnation of Yagyu Jubei. With the help of the "Lovely Eyepatch" she transforms into the legendary swordsman whenever she needs to use his awesome fighting ability, which she needs to do quite often as a rival clan is dead set on conquering Yagyu to satisfy an old family grudge.

(Source: ANN)