MongoDB Source

MongoDB is a no-sql data platform that can not only serve general purpose data requirements also perform VectorSearch where both operational data and embeddings used of search can reside in same document.

About

MongoDB is a popular NoSQL database that stores data in flexible, JSON-like documents, making it easy to develop and scale applications.

Available Tools

MongoDB Source Tools

Tool NameDescription
mongodb-aggregateA "mongodb-aggregate" tool executes a multi-stage aggregation pipeline against a MongoDB collection.
mongodb-delete-manyA "mongodb-delete-many" tool deletes all documents from a MongoDB collection that match a filter.
mongodb-delete-oneA "mongodb-delete-one" tool deletes a single document from a MongoDB collection.
mongodb-findA "mongodb-find" tool finds and retrieves documents from a MongoDB collection.
mongodb-find-oneA "mongodb-find-one" tool finds and retrieves a single document from a MongoDB collection.
mongodb-insert-manyA "mongodb-insert-many" tool inserts multiple new documents into a MongoDB collection.
mongodb-insert-oneA "mongodb-insert-one" tool inserts a single new document into a MongoDB collection.
mongodb-update-manyA "mongodb-update-many" tool updates all documents in a MongoDB collection that match a filter.
mongodb-update-oneA "mongodb-update-one" tool updates a single document in a MongoDB collection.

Example

kind: source
name: my-mongodb
type: mongodb
uri: "mongodb+srv://username:password@host.mongodb.net"

Reference

fieldtyperequireddescription
typestringtrueMust be “mongodb”.
uristringtrueconnection string to connect to MongoDB



Last modified March 26, 2026: chore(main): release 0.31.0 (#2814) (c6b811c)