{
 "kind": "tool",
 "slug": "mongodb",
 "path": "tools/mongodb/",
 "name": "MongoDB Node Driver",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Databases, ORMs and clients",
   "tools/databases-orms/"
  ]
 ],
 "lead": "Official Node.js driver for MongoDB providing query builders and connection management.",
 "chips": [
  {
   "label": "Databases, ORMs and clients",
   "path": "tools/databases-orms/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install mongodb"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/mongodb/node-mongodb-native"
  },
  {
   "label": "Website",
   "href": "https://github.com/mongodb/node-mongodb-native"
  },
  {
   "label": "API page",
   "path": "apis/mongodb/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/mongodb/node-mongodb-native"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Nov 19, 2026. ",
   "src": "https://github.com/mongodb/node-mongodb-native"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "31 projects",
   "status": "info",
   "sub": "#20 of 120 in its category",
   "note": "Dependency in 31 public GitHub projects set up for AI coding agents that we scanned (0.5%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "2 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What MongoDB Node Driver does",
   "parts": [
    {
     "t": "prose",
     "text": "Official Node.js driver for MongoDB providing query builders and connection management."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "MongoDB Node Driver popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "71",
       "of": "/ 100",
       "l": "Gid Score, #339 overall"
      },
      {
       "n": "22.7M",
       "l": "downloads a week, npm"
      },
      {
       "n": "10.2K",
       "l": "GitHub stars"
      },
      {
       "n": "31",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How MongoDB Node Driver is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "MongoDB Node Driver is a dependency in 31 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.6% of the 4,867 JavaScript/TypeScript ones), #20 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 208; those are left out of every share on this page.",
      "The most used alternative in our scan is libSQL Client (45 projects).",
      "Projects that use it most often also use Mongoose (38.7%), Express (35.5%), cors (29.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "19 projects, 0.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "16 projects, 0.5%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "12 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 38.7% of its projects",
       "v": "Mongoose",
       "path": "tools/mongoose/"
      },
      {
       "l": "In 35.5% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 29.0% of its projects",
       "v": "cors",
       "path": "tools/cors/"
      },
      {
       "l": "In 29.0% of its projects",
       "v": "Nodemailer",
       "path": "tools/nodemailer/"
      },
      {
       "l": "In 41.9% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 58.1% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 29.0% of its projects",
       "v": "tw-animate-css",
       "path": "tools/tw-animate-css/"
      },
      {
       "l": "In 22.6% of its projects",
       "v": "pg",
       "path": "tools/pg/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about MongoDB Node Driver",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "mongodb-atlas-stream-processing: Manages MongoDB Atlas Stream Processing (ASP) workflows. Handles workspace provisioning, data source/sink connections, processor lifecycle o",
        "mongodb: Administer MongoDB databases. Configure replica sets, sharding, and backups. Use when managing MongoDB deployments."
       ]
      },
      {
       "title": "More in Databases, ORMs and clients",
       "path": "tools/databases-orms/",
       "items": [
        {
         "text": "pg",
         "path": "tools/pg/"
        },
        {
         "text": "Drizzle ORM",
         "path": "tools/drizzle-orm/"
        },
        {
         "text": "Prisma",
         "path": "tools/prisma/"
        },
        {
         "text": "Drizzle Kit",
         "path": "tools/drizzle-kit/"
        },
        {
         "text": "SQLAlchemy",
         "path": "tools/sqlalchemy/"
        },
        {
         "text": "better-sqlite3",
         "path": "tools/better-sqlite3/"
        },
        {
         "text": "psycopg2",
         "path": "tools/psycopg2-binary/"
        },
        {
         "text": "Alembic",
         "path": "tools/alembic/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "MongoDB Node Driver",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 71",
        "22.7M/wk"
       ]
      },
      {
       "name": "libSQL Client",
       "why": "TypeScript/JavaScript driver for libSQL databases with modern async/await support.",
       "path": "tools/libsql-client/",
       "facts": [
        "MIT",
        "Gid 55",
        "6.1M/wk"
       ]
      },
      {
       "name": "mysql2",
       "why": "Fast MySQL driver with native protocol implementation, prepared statements and SSL.",
       "path": "tools/mysql2/",
       "facts": [
        "MIT",
        "Gid 66",
        "25.6M/wk"
       ]
      },
      {
       "name": "PGlite",
       "why": "Run PostgreSQL in the browser or Node.js via WebAssembly with no external dependencies.",
       "path": "tools/electric-sql-pglite/",
       "facts": [
        "Apache-2.0",
        "Gid 74",
        "44M/wk"
       ]
      },
      {
       "name": "Mongoose",
       "why": "MongoDB object modeling library providing schema validation and query building.",
       "path": "tools/mongoose/",
       "facts": [
        "MIT",
        "Gid 73",
        "9.4M/wk"
       ]
      },
      {
       "name": "sqlite3",
       "why": "Asynchronous, non-blocking SQLite3 database bindings for Node.js.",
       "path": "tools/sqlite3/",
       "facts": [
        "BSD-3-Clause",
        "Gid 58",
        "2.9M/wk"
       ]
      }
     ],
     "more": "Compare MongoDB Node Driver with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install mongodb"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for MongoDB Node Driver yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm mongodb"
  ],
  [
   "Category",
   "Databases, ORMs and clients"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "71.1"
  ],
  [
   "Rank in category",
   "#20 of 120"
  ],
  [
   "GitHub",
   "mongodb/node-mongodb-native"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/mongodb.png"
}