Looking at the sources for the command-line utility, it seems that it can all be done locally. There is a Python module too, see here, which is basically a Python wrapper for the mapcodelib C library.