1. A magnetic resonance imaging (MRI) system comprising an examination volume, a main magnet system for generating a main magnetic field in the examination volume, a gradient magnet system for generating gradients of the main magnetic field, and a control system for compensating disturbances of the magnetic field caused by mechanical vibrations of the MRI system, wherein the control system has an input for receiving an input signal corresponding to an electric current in the gradient magnet system and an output for providing a compensating output signal which is determined by the control system in dependence on the input signal according to a predetermined response relation.