IP Grabbers are legal to use if they are not used for criminal activities. Actually, tracing IP Addresses is not illegal, and so does the use of IP Grabbers. So, as long as you refrain from doing the illegal stuff, you are safe.