Jubei Chan the Ninja Girl

Plot
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.

Other Sources

 * Review of Jubei-chan the Ninja Girl at Anime Academy