Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An alternative C driver for MongoDB

This branch is 124 commits ahead and 896 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time



This is an alternative C driver for MongoDB, with slightly different goals than the official one:

libmongo-client is meant to be a stable (API, ABI and quality alike), clean, well documented and well tested shared library, that strives to make the most common use cases as convenient as possible.


The main purpose of this library is to provide a well maintained implementation, that suits a wider range of needs than the original:

  • Well documented, easy, clean and stable API.
  • Comprehensive test suite, with over 90% code coverage, and increasing.
  • Convenient APIs to work with BSON objects and MongoDB documents.

Apart from these, the library is meant to be used as a shared library, therefore API and ABI compatibility will be maintained, and only broken when absolutely neccessary - in which case, a sufficiently bumped version will be branched off.


Apart from the autotools and a C compiler, there are no other hard dependencies.

To build the documentation, Doxygen will be needed too.


The library follows the usual autotools way of installation:

$ git clone git://
$ cd libmongo-client
$ ./
$ ./configure && make && make install


While former versions were released under the Apache License version 2.0, recent versions are released under the GNU Lesser General Public License, version 3 (or at your opinion, any later version).

See the doc/LICENSE.GPL and doc/LICENSE.LGPL files for license information.

Something went wrong with that request. Please try again.