We present a theoretical study to explore the spin transport properties of FeN(4) complexes sandwiched between two armchair (5, 5) carbon nanotube (CNT) electrodes. The ab initio modeling is performed by combining the spin-dependent density functional theory with nonequilibrium Green's function formalism. The calculated results clearly demonstrate that the transport properties of FeN(4) complexes are sensitive to the contact configuration. Near the Fermi level the conductance through three examined junctions is mainly governed by the spin-up electrons. The FeN(4) complex coupled to CNT electrodes with the π-type contact conjugation can act as a nearly perfect spin filter, and its spin filter efficiency is up to 98.0%. Our theoretical results demonstrate that FeN(4) complexes are promising for future molecular spintronics devices.