The pre-emptive stabilization of a neoclassical tearing mode, NTM, requires the calculation of the tokamak magnetic equilibrium in real-time. A launcher mirror is positioned to deposit electron cyclotron current drive on the rational surface where the NTM should appear. A real-time Grad-Shafranov solver using constraints from magnetic probe, flux loop and Motional Stark Effect measurements has been developed to locate these rational surfaces and deliver this information to the mirror controller in real-time. A novel algorithm significantly reduces the number of operations required in the first and second step of the solver. Contour integrals are carried out to calculate the q profile as a function of normalized radius and the rational surfaces are found by spline interpolation. A cycle time of 0.6 ms for calculating two tokamak equilibria in parallel using four current basis functions with magnetic constraints only and using six current basis functions with magnetic and MSE constraints has been achieved. Using these tools, pre-emptive stabilization