Magnetic moments of impurities in metals are calculated by the self-consistent cluster Xα-SW method with k-dependent boundary conditions. Densities of states and electronic s-d-configurations of pure metals are obtained. It is shown that 3d states of an Mn impurity are mixed considerably with the host metal d band for Cu metal and to a much lesser extent for Ti, resulting in the increase of the magnetic moment in the latter case. The magnetic moment of Mn in Ni is directed parallel with the magnetization of the ferromagnetic matrix. The magnetic moment of iron in Mo in significant, but vanishes in Nb due to the suppressing action of surrounding Nb atoms, which are polarized antiferromagnetically with respect to the impurity magnetic moment.