Foods naturally rich in magnesium may, therefore, help a person to feel calmer. Examples include leafy greens, such as spinach and Swiss chard. Other sources include legumes, nuts, seeds, and whole grains. Foods rich in zinc such as oysters, cashews, liver, beef, and egg yolks have been linked to lowered anxiety.