If it's found in egg shells and bugs, it's probably in the oyster shell too.At least one other thing that layer pellets has in it I believe is some kind of phosphate which is necessary in egg shells. It can also be gotten from hard shelled bugs.
Layer feed is meant to provide all the nutrients that a laying hen needs-- but it is not the ONLY way to provide those nutrients.