ModsFinder

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.

FabricForgeNeoForgeQuiltApache License 2.0Open source1.12.2 – 26.1.2

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

  1. Official MongoDB sync driver

    The MongoClient and MongoCollection API from the official MongoDB Java sync driver is included, ready for other mods to call.

  2. 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.

  3. 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.

  4. 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
26.1.25.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
26.1.15.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
26.15.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.x12 of 12 versions with builds
1.21.115.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.105.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.95.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.85.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.75.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.65.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.55.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.45.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.35.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.25.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.21.15.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
1.215.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-295.8.0+2026-05-29
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
ReleaseBetaAlphaNot available

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Minecraft MongoDB DriverFabric, Forge, NeoForge and Quilt1.12.2 – 26.1.2Not published2026-06-06
DB-BundleFabric1.21 – 26.3Server-side only2026-10-01
SQLite JDBCFabric, Forge and Quilt1.12 – 1.20.4Client or server, optional2023-05-06

Questions

Does Minecraft MongoDB Driver need Fabric API?

Fabric API is not listed as a requirement for the library. On Fabric, the library is loaded as a mod, and the loader stubs for 1.21 and later cover that case.

Should the driver be installed on a server?

The library works with Paper, Spigot, Bukkit, Purpur and Folia servers, and mods or plugins that need MongoDB depend on it being present.

Where should connection options go?

The author recommends placing authentication, replica set and read preference settings in the connection string rather than in MongoClientOptions, unless a setup needs unusual options.

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

All projects

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…
Axionize, on the Modrinth page

Official listing

Owner
Axionize
Published
2026-04-25
Updated on Modrinth
2026-06-06
Facts verified
2026-10-15

Tags