Gitter Maven Central Apache2 license Build Status codebeat badge codecov Awesome Kotlin Badge Pure Kotlin


KMongo logo

A Kotlin toolkit for Mongo



Native and Lightweight

KMongo features are available via Kotlin extensions - you use transparently the core MongoDB java driver API (both sync and async drivers are supported)

With complete async support

You can use extensions for classic callbacks style, Kotlin Coroutines or RxJava2.

Built-in Object Mapping

Object oriented programming is usually better - use Objects, not Maps. Powered by the native POJO Codec or by the Jackson library.

Type-safe queries

Have you already queried an Int field with a String value? With KMongo type-safe queries, avoid the type errors. Provided with an optional annotation processor.

Mongo shell queries

You can copy/paste your queries from the Mongo shell in your IDE. Write readable source code!


compile "org.litote.kmongo:kmongo:3.9.1"

Related Libraries


Strongly typed SQL in Kotlin

Last updated 3 mins ago


Fluent RxJava JDBC extension functions for Kotlin

Last updated 3 mins ago


Generates typesafe Kotlin APIs from SQL

Last updated 3 mins ago


A handy Database access library in Kotlin

Last updated 3 mins ago


A framework designed around Kotlin providing a full-featured HTTP Framework, Restful HTTP Client, JDBC DSL, Loading Cache, Configurations, Validations, and more

Last updated 3 mins ago