Creating anim curves would allow you to split your problem into 2 smaller ones: 1) the generation of the curves 2) the import process.
The import process could then be done entirely in mel, and ti shouldn't be hard to find a tool or sample code which just generates the animcurves.
Else, if you would create a node, you'd need to learn a good deal about the Maya API which can be pretty time consuming. I'd say avoid that hassle if you can, because you might bump into a few bad surprises which could swallow easily a couple of weeks of your time.