# mongo_dart

> MongoDB driver in pure Dart

Source: https://talira.ai/catalog/mongo-dart-5q98317n
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / drivers](https://talira.ai/categories/libraries/databases/drivers), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [mongo-dart](https://talira.ai/orgs/mongo-dart.md)

mongo_dart is a community [MongoDB](https://talira.ai/catalog/mongodb-bnayk648.md) driver for Dart, written in pure Dart for server-side code (it uses dart:io, so it doesn't run in the browser). It covers CRUD operations and the aggregation pipeline, with an API modelled on the mongo shell; methods come in legacy and modern (OP_MSG) versions, and MongoDB 6.0 and later need the modern ones.

## Links

- GitHub: https://github.com/mongo-dart/mongo_dart

## Problems it solves

- connect to MongoDB from a Dart server
- MongoDB driver for a Dart backend
- query MongoDB from Dart without a native library

## Features

- pure Dart MongoDB driver
- CRUD operations and aggregation pipeline
- API modelled on the mongo shell

## Limitations

- Server side only: it needs dart:io and doesn't run in the browser or Flutter web.[^1]
- Not every command has a modern (OP_MSG) version yet, which MongoDB 6.0 and later need.[^1]

## Trust

Overall: 0.41 out of 1.
Signals: maintenance 0.48, adoption 0.53, momentum 0.17, community 0.71, backing 0.30, extensibility 0.00.

- last commit 50 days ago
- 4 commits in the last 90 days
- latest release v.0.7.0 5.6 years ago
- 456 GitHub stars
- 58 contributors
- accepts sponsorship (Custom)
- backed by mongo-dart

## Related

- Works with [MongoDB](https://talira.ai/catalog/mongodb-bnayk648.md)

## Alternatives

- [postgres (Dart)](https://talira.ai/catalog/postgres-dart-tkf1q1ys.md): PostgreSQL driver for Dart and Flutter

## Sources

[^1]: https://github.com/mongo-dart/mongo_dart/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/mongo-dart/mongo_dart/blob/main/LICENSE (checked 29 Nov 2026)
