Minecraft MongoDB Driver
by Axionize
Minecraft MongoDB Driver is a library that bundles the MongoDB Java sync driver so other mods and plugins can connect to MongoDB databases from inside the game.
What it does
The library packages the official MongoDB Java sync driver, version 5.3.1, with its core wire-protocol code, connection pooling, server discovery and BSON document and codec support, including Java record support. Classes keep their canonical com.mongodb package names, so consumers can find them with a plain Class.forName call. Service files for BSON codecs are merged, so codec auto-discovery works in the packaged jar.
Connection strings carry authentication source, replica set members and read preference, so settings are usually placed in the URI. The library requires Java 8 or newer. It is released under the Apache License 2.0, and the full license text is included.
Key features
Official MongoDB sync driver
The MongoClient and MongoCollection API from the official MongoDB Java sync driver is included, ready for other mods to call.
Connection strings as the main configuration
Authentication source, replica set members and read preference are set in the connection string, which the driver reads on connect.
Relocated classes for plugins
Driver classes are relocated so a plugin's own classloader can see them, and they stay under their canonical package names.
Codec auto-discovery
Service files from the BSON codecs are merged during packaging, so Java record classes and other codecs are found without extra setup.
Compatibility
Latest build for each game version and loader.
26.x3 of 3 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
2 older game versions (1.12.2 – 1.13) not shown. All files on Modrinth
How it compares
DB-Bundle is a Fabric server-side only library that targets 1.21 – 26.3 and is released under CC0 1.0 Universal. SQLite JDBC is a client or server optional library for Fabric, Forge and Quilt covering 1.12 – 1.20.4 under the Apache License 2.0, and it provides a SQL database driver rather than a MongoDB client.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Minecraft MongoDB Driver | Fabric, Forge, NeoForge and Quilt | 1.12.2 – 26.1.2 | Not published | 2026-06-06 |
| DB-Bundle | Fabric | 1.21 – 26.3 | Server-side only | 2026-10-01 |
| SQLite JDBC | Fabric, Forge and Quilt | 1.12 – 1.20.4 | Client or server, optional | 2023-05-06 |
Questions
Does Minecraft MongoDB Driver need Fabric API?
Should the driver be installed on a server?
Where should connection options go?
In the catalog
Minecraft MongoDB Driver is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from Axionize
Similar mods
What the author says
The official MongoDB Java sync driver (mongodb-driver-sync plus its core and BSON dependencies) repackaged as a Bukkit/Spigot/Paper plugin and a Fabric/Forge/NeoForge mod. The mod does nothing on its own. Other plugins/mods that want to talk to MongoDB pick this up via softdepend (or just by being on the same…
Official listing
- Modrinth page
- modrinth.com/mod/minecraft-mongodb-driver
- Owner
- Axionize
- Published
- 2026-04-25
- Updated on Modrinth
- 2026-06-06
- Facts verified
- 2026-10-15
