Here's an abstraction to turn pd to an mtc slave. When properly connected to a mtc master, it outputs a synchronized timecode that you can send to your pd sequences.
Successfully tested on linux only, via alsamidi, with seq24 and rosegarden. I'm really curious about its behavior on other OS's and with midi hardware.
It should be possible to detect tempo changes also. Any midi gurus out there ?