The magneto-chemical interaction of spin-bearing molecules with substrates is interesting from a coordination chemistry point of view and relevant for spintronics. Unprecedented insight is provided by X-ray photo-emission electron microscopy combined with X-ray magnetic circular dichroism spectroscopy. Here the coupling of a Mn-porphyrin ad-layer to the ferromagnetic Co substrate through suitably modified interfaces is analyzed with this technique.