A medical device to be introduced into the body of a subject has at least one MR coil that can be introduced into the body at the same time and at least one shim coil that can be introduced into the body at the same time. The device can be formed as an endorectal probe, vaginal probe and transesophageal probe as well as an implant.