There are covers you can get for his claws. (I forget what they're called).

Or try using a water pistol when he goes for your legs.

He is adorable - I hope he outgrows this in time!