gatsby-source-mongodb

JSON →
library 5.16.0 ·javascript
verified Jun 5, 2026

Gatsby source plugin for pulling data from MongoDB collections into the Gatsby data layer. Current stable version 5.16.0 supports Gatsby 5 and Node >=18.0.0 <26. It connects to MongoDB (local, Atlas, or custom) and ingests documents as Gatsby nodes. Supports multiple collections, custom queries, type prefixing, and field mapping for transformer plugins (e.g., markdown to HTML). Differentiators include built-in compatibility with MongoDB Atlas, flexible authentication, and options for preserving ObjectIDs. Release cadence follows Gatsby's major releases.