A device to estimate mechanical properties of brain and abdomen organs undergoing magnetic resonance elastography (MRE) includes electromagnetic actuators, mechanical wave generation mechanisms, and a control unit to generate oscillatory motion signals in synchronization with the MR scanner. Preserving only the shear wave component, a local fitting algorithm is used to estimate the viscoelastic properties of soft tissues. The device is portable and easy to implement in clinical diagnostics, and can be modified to measure other soft materials.