This paper reports a MEMS gradiometer consisting of two independent, laterally oscillating masses on a single chip with integrated optical readout featuring a responsitivity of 35V/T at resonant operation. The symmetrical design of the two masses offers high accuracy and low cost by using conventional MEMS batch fabrication technology. The sensing principle is based on lateral displacement of the masses actuated by Lorentz forces which modulates a light flux passing through a stationary mask and the moving mask integrated in the masses. Phase and intensity detected by photodiodes reveal information about the uniformity of an external applied magnetic field, hence, enables the measurement of gradient-, homogeneous- and offset gradient magnetic fields.