Skip to content
MongoDB driver for the Julia Language
Julia JavaScript
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmarks fix memory leak on cursor iteration (#24). (#25) Mar 10, 2019
deps Add Windows Support Apr 23, 2019
docs mongodb 4.2 drops --smallfiles option Sep 20, 2019
src serialize BSON Jun 26, 2019
test change replica set name for tests from rs0 to rst Oct 20, 2019
.gitignore review docstrings and better API docs (#35). Apr 20, 2019
.travis.yml disable osx tests on travis Oct 20, 2019
LICENSE Update LICENSE Feb 16, 2019
Manifest.toml up deps Jul 27, 2019
Project.toml tag v0.4.0 Jul 27, 2019 disable osx tests on travis Oct 20, 2019


License travis appveyor codecov dev stable

Mongoc.jl is a MongoDB driver for the Julia Language.

It is implemented as a thin wrapper around libmongoc, the official client library for C applications.

Given that BSON is the document format for MongoDB, this package also implements a wrapper around libbson, which provides a way to create and manipulate BSON documents.


  • MongoDB 3.0 or newer.

  • Julia v1.0 or newer.

  • Linux, macOS

  • Windows (experimental).

Windows Support

This package is known to work on Windows 7 and Windows Server. For Windows 10, however, dependencies may fail to install. See #44.


From a Julia session, run:

julia> using Pkg

julia> Pkg.add("Mongoc")

MongoDB C Driver

This packages downloads precompiled binaries for MongoDB C Driver from mongo-c-driver-builder.

The binaries are compiled by Travis CI, using BinaryBuilder.jl.

Windows is currently not supported because the C driver requires Visual Studio to be compiled.

If your platform is not supported and can be compiled by BinaryBuilder.jl, please open an issue.


The documentation for this package is hosted at


The source code for the package Mongoc.jl is licensed under the MIT License.

This repository distributes binary assets built from mongo-c-driver source code, which is licensed under Apache-2.0.

Alternative Libraries

You can’t perform that action at this time.