Ounce for ounce, pepitas have more magnesium than whole, shell-on pumpkin seeds, but either one may be considered a magnesium-rich food.