It sounds like the cat is just being playful. Cats like to grab at and jump on and "attack" moving things -- it's part of their nature, their instinct.
If your scratches are healing, it doesn't sound like you need a tetanus shot for this occasion, but it would be good to get one to protect you from tetanus bacteria that are commonly present in soil, dust, water, and manure. Depending on where you live and if you walk barefoot a lot, tetanus bacteria may be a danger.
Rabies, as J_9 explained, is an entirely different condition.