This result successfully demonstrated the feasibility of detecting AFP and thus liver cancer cell immunoassay with MNPs through MgO-based MTJs. This evidence concerns the gene AFP and liver cancer.