http://pets.webmd.com/cats/guide/cat...ing-rough-play
Your cat is not being mean animals don't think like people . Does he have any toys to play with and if he was found outside he may had to learn how to defend himself by biting other cats. I would him give time out when he does try to bite you . Go do something else and try playing with when his is relax . There a lot of info on line on how to stop a cat from biting or being aggressive .