# FerretDB/FerretDB

A truly Open Source MongoDB alternative

Repository: https://github.com/FerretDB/FerretDB
Canonical: https://ross.abutalabs.com/products/ferretdb
Homepage: https://www.ferretdb.com
Language: Go
License: Apache-2.0
License Family: permissive
Topics: mongodb, mongo, mongodb-database, mongo-db, golang, postgresql, postgres, go, database, document, ferretdb, hacktoberfest
Last push: 2026-06-05T07:31:28+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 56, longevity 100
- inputs: {"age_days": 1768, "days_push": 89, "days_rel": 296, "gap_med": 22.5, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11056, forks 486 (observed 2026-08-28T04:10:45.980955+00:00)

## What it is
FerretDB is an open-source MongoDB alternative that acts as a proxy translating the MongoDB 5.0+ wire protocol into SQL, backed by PostgreSQL with the DocumentDB extension. It aims to be a drop-in replacement for MongoDB workloads while keeping the stack fully open source under Apache-2.0.

## Use cases
- run a mongodb-compatible database without sspl licensing
- self-host an open source document database
- migrate apps off mongodb to postgres-backed storage
- use existing mongodb drivers and tools with postgresql
- drop-in replacement for mongodb 5.0+ workloads

## When to choose
- you need MongoDB wire-protocol compatibility with a permissive open-source license
- you want document-database semantics on top of PostgreSQL infrastructure
- your app uses standard MongoDB drivers and doesn't rely on advanced MongoDB features

## When to avoid
- you depend on advanced MongoDB features not yet supported by FerretDB
- you need guaranteed full MongoDB compatibility for production-critical workloads
- you prefer a native document store rather than a translation proxy

## Facets
- artifact type: service
- maturity: active
- function: database, proxy, serialization
- domain: databases, backend, self-hosted, developer-tools
- platform: go, self-hosted, windows, cross-platform
- tags: mongodb-alternative, document-database, wire-protocol, postgresql, bson, drop-in-replacement, open-source, docker, linux, macos

## Member repositories
- FerretDB/FerretDB (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:45.980955+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-29T17:16:50.204331+00:00, confidence not recorded.
  - readme: https://github.com/FerretDB/FerretDB (fetched 2026-08-28T04:10:45.980955+00:00, sha 4034bf7f30ce)
- Data as of 2026-08-30T08:39:29.467469+00:00.
