# mongodb/mongo-java-driver

The official MongoDB drivers for Java, Kotlin, and Scala

Repository: https://github.com/mongodb/mongo-java-driver
Canonical: https://ross.abutalabs.com/products/mongo-java-driver
Homepage: https://www.mongodb.com/docs/drivers/java/sync/current/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, java-library, jvm, mongodb, database, kotlin, kotlin-coroutines, kotlin-library, scala
Last push: 2026-08-26T14:45:42+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 6439, "days_push": 7, "days_rel": 18, "gap_med": 19, "n_releases_24m": 26}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2659, forks 1497 (observed 2026-08-28T04:07:07.437495+00:00)

## What it is
The official MongoDB drivers for the JVM, providing APIs for Java, Kotlin (including coroutines), and Scala to connect to and work with MongoDB. It is actively maintained by MongoDB Inc. and released under the Apache-2.0 license.

## Use cases
- connect to mongodb from a java application
- query and insert documents into mongodb from kotlin
- use mongodb with kotlin coroutines
- build a scala service backed by mongodb
- crud operations against mongodb from jvm apps
- connect a spring boot app to mongodb

## When to choose
- your JVM application needs to talk to MongoDB
- you want an officially supported, actively maintained driver
- you need idiomatic APIs for Java, Kotlin, or Scala

## When to avoid
- you use a non-JVM language
- you need a driver for a different database
- you want an ORM-style abstraction over relational databases

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, database
- domain: databases, backend, developer-tools
- platform: jvm
- tags: mongodb, official-driver, sync-driver, coroutines, nosql

## Member repositories
- mongodb/mongo-java-driver (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:07.437495+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:18:24.876756+00:00, confidence not recorded.
  - readme: https://github.com/mongodb/mongo-java-driver (fetched 2026-08-28T04:07:07.437495+00:00, sha 3372b12456d1)
  - homepage: https://www.mongodb.com/docs/drivers/java/sync/current/ (fetched 2026-08-29T10:01:28.000937+00:00, sha 617dd29d6217)
  - site_page: https://www.mongodb.com/docs/atlas (fetched 2026-08-29T10:01:28.006383+00:00, sha f312e042649e)
  - site_page: https://www.mongodb.com/docs/manual (fetched 2026-08-29T10:01:28.008632+00:00, sha 6a4548d2a71b)
  - site_page: https://www.mongodb.com/docs/tools-and-connectors (fetched 2026-08-29T10:01:28.011560+00:00, sha 7c907d21d3d3)
  - site_page: https://www.mongodb.com/docs/drivers (fetched 2026-08-29T10:01:28.014177+00:00, sha 194534c44bc5)
  - site_page: https://www.mongodb.com/docs/atlas/architecture/current/solutions-library (fetched 2026-08-29T10:01:28.016547+00:00, sha 0dfd723aadd5)
  - site_page: https://www.mongodb.com/company/newsroom (fetched 2026-08-29T10:01:28.018859+00:00, sha e3f69e7b7c0c)
  - site_page: https://www.mongodb.com/company/partners (fetched 2026-08-29T10:01:28.022241+00:00, sha 342527daf5e8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
