Kitten scratch

Is it safe to have a kitten around you? But she had scratch me a couple times too. I'm 18 weeks pregnant