SMALL ENGINE. MAMMOTH POSSIBILITIES.

Big ideas.
Solid ground.

A document database with a familiar language
and an independent spirit.

MongoDB compatible. Built in Go. Run it as a server or bring the engine right into your app.

install with Go
go install github.com/mammothengine/mammoth/cmd/mammoth@v0.1.0-beta
Apache-2.0 Open source Your infrastructure
YOUR DATA. THE MAMMOTH WAY.FIG. 001
Your documents. Through the Mammoth engine.A MongoDB client sends document commands through the wire protocol to Mammoth, represented by its mammoth and gear mark. The engine processes the command and returns a response. Its LSM storage uses a write-ahead log, an in-memory table and sorted disk tables. This is an illustration, not a running database.YOUR APPLICATIONmongosh · Go · Node.js · Pythondb.ideas.insertOne({ name: "Atlas" })MongoDB wire protocolDOCUMENT IN{ name:"Atlas" }BSON documentMAMMOTH ENGINERESPONSE OUT{ ok: 1 }Command resultBacked by LSM storageWALLog writesMemTableBuffer in memorySSTablesStore on disk
01 ConnectYour MongoDB client02 ProcessThe Mammoth engine03 PersistDocuments on disk
A STRONGER FOUNDATION FOR WHAT’S NEXT
Go native.Think in documents.Build your way.
01 / A DIFFERENT KIND OF HEAVYWEIGHT

All the right instincts.
None of the extra weight.

Your documents deserve a capable home.
One cohesive engine, from connection
to the storage layer.

01

Speak your language.

MongoDB wire protocol support lets you connect with familiar drivers and tools.

MONGODB COMPATIBLE
02

Built on solid ground.

A write-optimized LSM engine, write-ahead log and sorted tables underneath every document.

LSM-TREE STORAGE
03

Keep it close.

Run as a standalone database, or embed the Go API directly inside your application.

SERVER + EMBEDDED
02 / UNDER THE SURFACE

A clear path.
From query
to core.

Familiar document operations meet a purpose-built storage foundation. Every layer has a job. Every piece works together.

Look inside the engine

One engine. Two ways in.
Wire protocol or direct Go access.

03 / FAMILIAR TOOLS. FRESH POSSIBILITIES.

You already speak
document.

Keep the expressive queries.
Choose a different foundation.

YOUR NEXT IDEA

Less learning curve.
More building.

Documents, indexes and aggregation. Start with the patterns you already know.

Explore the query guide
playground.js
// A document model that feels familiar.
db.ideas.insertOne({
  name: "The next big thing",
  builtWith: "mammoth",
  ready: true
});

db.ideas.find({ ready: true });
ILLUSTRATIVE OUTPUT
{ name: "The next big thing",
  builtWith: "mammoth", ready: true }
Examples explain the API; no database runs in your browser.
04 / MORE UNDER THE HOOD

A small engine.
A broad toolkit.

Explore the capabilities
REPLICATION + SHARDING

Data that moves with you.

Replication and sharding packages for exploring distributed deployments.

TRANSACTIONS

Consistency at the core.

Multi-document transactions and snapshot isolation in the engine.

REAL-TIME + EXPIRATION

Know what changed.

Change streams and TTL indexes for reactive, time-sensitive applications.

OBSERVABILITY

Keep an eye on the engine.

Prometheus metrics, health probes and structured logs for operations.

An evolving, prerelease engine. Validate driver compatibility and distributed behavior for your workload. Read the current boundaries

05 / FROM IDEA TO FIRST DOCUMENT

Make room
for your
next big thing.

Install the engine. Start a local server.
Bring your favorite MongoDB client.

Your getting started guide
Go 1.23+ Source-first setup
01

Install Mammoth

Build the published beta with the Go toolchain.

step 1
go install github.com/mammothengine/mammoth/cmd/mammoth@v0.1.0-beta
02

Give your data a home

A local listener. A directory you control.

step 2
mammoth serve --bind 127.0.0.1 --port 27017 --data-dir ./data
03

You’re connected

Use mongosh or your application’s MongoDB driver.

step 3
mongosh mongodb://127.0.0.1:27017
A FEW GOOD QUESTIONS

A little more
perspective.

Ask the project
01What exactly is Mammoth?+

Mammoth is an open-source, MongoDB-compatible document database written in Go. Use its standalone server with MongoDB clients, or access the engine directly with its embedded Go API.

02Is it a drop-in replacement for MongoDB?+

Compatibility is a goal, not a promise of complete parity. The project implements the MongoDB wire protocol and a growing set of commands. Validate the exact driver versions, operators and operational features your application uses.

03Can I embed it in my application?+

Yes. The Go embed package opens a database directory directly, without a server or wire-protocol connection. See the embedded guide for the API and a source-backed example. Read the embedded guide →

04Where should I start for production?+

Start by evaluating the beta against your workload. Configure authentication and TLS, protect management listeners, test restore procedures, and read the source and deployment guide. The repository’s README, VERSION and release metadata differ; the site does not claim a stable production release.

05What is the license?+

The repository’s LICENSE file specifies Apache License 2.0. That file is authoritative; the README’s older MIT description is inconsistent with it.

A STRONG FOUNDATION. AN OPEN FUTURE.

Build something
mammoth.

DOCUMENTS. POSSIBILITIES. YOURS.