Mastercoin API - what to use?
I think the most easy way to do this would be through Omniwallet API.
mastercoin-tools is deprecated and should not be used.

If you want the better security achieved by running a local instance, use Master Core.