This article describes a brief introduction to the first-principles approach with pseudo-potentials and plane-waves for a surface magnetic anisotropy. The anisotropy energies of the simple linear iron chain and the iron monolayer on platinum (001) surface are presented and are discussed.