This paper presents the first prototype of a magnetic tracking device for Magnetic Resonance Imaging. The unique relationship between the space coordinates of a MRI scanner bore and the magnetic field gradients used in MRI allows building a localization system based on an accurate measurement of these gradients. These gradients are measured thanks to a 3D Hall device with a footprint of only 50µm(2), integrated with its specific conditioning circuit in a low cost, low voltage 0.35µm CMOS process. The first experimental results show that a sub-millimeter localization is possible. It opens the way to the development of MRI compatible magnetic tracking systems integrable in a surgical tool.