There is some special earth called Diatomaceous earth. This is the ultimate parasite killer. Apart from mites on legs, it will also kill possible invaders on the feathers too. I guess you can find this in any kind of pet shop. Make sure that you buy the one that is safe if the birds eat it...