An anime about a bullied girl who gets help from a "god"?
You're describing the plot to the first episode of Noragami

Wikipedia excerpt of the first episode:


  A god named Yato answers a five-yen prayer to defeat a phantom that has appeared above a school using his Regalia, Tomone.


Below is a picture of the main characters - the one with the sword is the God, Yato.