Is it possible to create a compositor node with PyNodes that outputs camera clip_start and clip_end? Im not looking for a how to, but some of you may know if this is possible or not. An example of a dummy node added to compositor would be much appreciated, i can't find any (or i'm looking in all the wrong places)

The PyNodes documentation is here, The TextEditor template Custom Node creates a custom node tree, but what am I supposed to do with that?
Not sure if this is possible with PyNodes, Seems like the sort of thing you'd use Drivers for.

You can use node settings to drive these values too,
Add a driver to the cameras clipping, and set the driver to point to a scene property, eg: node_tree.nodes["Mix"].inputs[0].default_value



And the other way around you can do too, of course. Add a driver to a value node, and set the driver to point to the camera property like clip_sta and clip_end.