The aim of this work was to investigate and prove the possibility of the real-time detection of magnetic nanoparticles (MNPs) distributed in solid material by using a tunnel magnetoresistance-based (TMR) sensor. Following the detection tests of FeCrNbB magnetic nanoparticles distributed in transparent epoxy resin (EPON 812) and measuring the sensor output voltage changes at different particle concentrations, the detection ability of the sensor was demonstrated. For the proposed TMR sensor, we measured a maximum magnetoresistance ratio of about 53% and a sensitivity of 1.24%/Oe. This type of sensor could facilitate a new path of research in the field of magnetic hyperthermia by locating cancer cells.