Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Mongoose

MongoDB object modeling library providing schema validation and query building.

Databases, ORMs and clientsNPM

GitHubWebsite

1. License

License from npm.

github.com/Automattic/mongoose

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Mongoose does

MongoDB object modeling library providing schema validation and query building.

Mongoose popularity

73 / 100
Gid Score, #259 overall
9.4M
downloads a week, npm
27.5K
GitHub stars
37
agent projects use it
Mongoose: downloads per weeknpm, mongoose 9,379,180
Mongoose: GitHub starsAutomattic/mongoose 27,451

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Mongoose is used

  • Mongoose is a dependency in 37 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.8% of the 4,867 JavaScript/TypeScript ones), #17 of 120 in databases, orms and clients.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 295; those are left out of every share on this page.
  • The most used alternative in our scan is Drizzle ORM (253 projects).
  • Projects that use it most often also use dotenv (56.8%), clsx (62.2%), Lucide React (59.5%).

By coding agent

26 projects, 0.9%
22 projects, 0.9%
19 projects, 0.6%
9 projects, 3.2%
5 projects, 1.1%

Often used with

In 56.8% of its projects
In 62.2% of its projects
In 59.5% of its projects
In 54.1% of its projects
In 40.5% of its projects
In 73.0% of its projects
In 75.7% of its projects
In 54.1% of its projects

More about Mongoose

Funding
  • GitHub Sponsors: https://github.com/mongoosejs
  • Open Collective: https://opencollective.com/mongoose
  • Tidelift: https://tidelift.com/funding/github/npm/mongoose
  • 2 GitHub sponsors

See all

More in Databases, ORMs and clients

Alternatives

Mongoose This page

MITGid 739.4M/wk

Drizzle ORM

TypeScript ORM for SQL databases with type safety and zero-runtime overhead.

Apache-2.0Gid 8649.6M/wk

Prisma

Modern ORM with intuitive schema, migrations, and type-safe database queries.

Apache-2.0Gid 6426M/wk

MongoDB Node Driver

Official Node.js driver for MongoDB providing query builders and connection management.

Apache-2.0Gid 7122.7M/wk

Compare Mongoose with another tool

Get started

Install it.

npm install mongoose

No step-by-step start for Mongoose yet: we have not written its hand-checked card.