# Mongoose — card for AI agents

MongoDB object modeling library providing schema validation and query building.

Category: Databases, ORMs and clients · npm package `mongoose` · latest version 9.11.4 (checked 2026-11-01)
Install: `npm install mongoose`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 73.4 (#259 of all tools, 6 of 120 in its category)
- Used in 37 public projects set up for AI coding agents (0.6%)
- Downloads last week: 9,379,180 (as of 2026-11-24), +39.3% over 4 weeks
- GitHub stars: 27,451 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
dotenv 56.8%, clsx 62.2%, Lucide React 59.5%, Next.js 54.1%, Express 40.5%, React 73.0%

## Checked alternatives (same job)
- Drizzle ORM: https://agentgid.com/tools/drizzle-orm/agent.md
- Prisma: https://agentgid.com/tools/prisma/agent.md
- MongoDB Node Driver: https://agentgid.com/tools/mongodb/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/mongoose/
- Homepage: https://mongoosejs.com
- Repository: https://github.com/Automattic/mongoose

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
