Snails are probably a seahorse's best friend. They don't harass them. I have tons of snails in my 100g seahorse tank (cerith, trochus, turbo, nassarius) and they do an amazing job with clean-up.
Unfortunately, crabs are VERY likely to injure a seahorse.