We present a method for magnetic-resonance force microscopy (MRFM) with ultralow dissipation, by using the higher modes of the mechanical detector as a radio-frequency (rf) source. This method allows MRFM on samples without the need to be close to a conventional electrically driven rf source. Furthermore, since conventional electrically driven rf sources require currents that give dissipation, our method enables nuclear-magnetic-resonance experiments at ultralow temperatures. Removing the need for an on-chip rf source is an important step towards an MRFM which can be widely used in condensed matter physics.