Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu

MongoDB with C

Build performant applications in MongoDB's Atlas cloud database with the support of MongoDB's C driver.

Get started with the MongoDB C Driver
C landing page hero image

The MongoDB C Driver consists of two libraries, libbson and libmongoc. The libbson library supports working with BSON documents, and the libmongoc library comprises the driver, which connects your C application to MongoDB.

For instructions on how to getting started, see the C Driver Documentation →

You can see the complete list of endpoints in the following documents:

Driver card icon

libbson

Provides an API to support building, parsing, and converting BSON documents, the native data format of MongoDB.

Driver card icon

libmongoc

Provides an API for working with MongoDB databases consistent with other MongoDB language drivers.

Learn icon

Take the Getting Started with C course

Learn about C and MongoDB →

Community icon

Join forums and discussions

MongoDB Community →