  Based on macroscopic quantum electrodynamics in linearly and causally
responding media, we study the local-field corrected van der Waals potentials
and forces for unpolarized ground-state atoms placed within a magnetoelectric
medium of arbitrary size and shape. We start from general expressions for the
van der Waals potentials in terms of the (classical) Green tensor of the
electromagnetic field and the atomic polarizability and incorporate the
local-field correction by means of the real-cavity model. In this context,
special emphasis is given to the decomposition of the Green tensor into a
medium part multiplied by a global local-field correction factor and, in the
single-atom case, a part that only depends on the cavity characteristics. The
result is used to derive general formulas for the local-field corrected van der
Waals potentials and forces. As an application, we calculate the van der Waals
potential between two ground-state atoms placed within magnetoelectric bulk
material.
