The MFG-system is capable of generating a wide variety of static or varying magnetic fields. With our system, users carry out research on magnetic field-dependent phenomena and develop applications for magnetic microrobots. The versatile MFG can produce fields to activate modes as diverse as field gradient response, stick-slip or rolling motions, and flagellar swimming (various applications are presented in the cited literature). The MFG-100 consists of 8 stationary electromagnets with ferromagnetic cores, and is capable of producing arbitrary magnetic fields and field gradients over a range of frequencies. The system has a spherical workspace with a diameter of approximately 10 mm and is completely unrestrained in the rotational degrees-of-freedom. Unrestricted access over a full hemisphere is accomplished through the superposition of the magnetic fields of eight asymmetrically arranged electromagnets. An internal light source is provided.