Mychem is a chemoinformatics extension for MySQL that provides a set of functions that handles chemical data stored in a database. Mychem is based on the OpenBabel toolkit.
The installation on Mac OS X differs slightly from an installation on GNU/linux. First, you have to set some parameters for CMake. The documetation shows common values used when compiling Mychem on Mac OS X.
The source code is available on GitHub. https://github.com/mychem/mychem-code
There is also a short tutorial available.