A plugin for Rivet (AI graph application) providing 4 nodes to interact with MongoDB: store vectors, perform aggregations, search collections, and execute vector searches ($vectorSearch). Current stable version is 6.4.0, released as part of Rivet's plugin ecosystem. It is a community-maintained plugin that bridges Rivet's graph-based AI workflows with MongoDB's document and vector search capabilities. Key differentiators: native integration with Rivet nodes, support for MongoDB Atlas Vector Search, and simple plugin installation via Rivet's UI. Requires a MongoDB connection string and, for vector search, an appropriate Atlas index. Release cadence is irregular, with last major change being deprecation of MongoDBVectorKNN in favor of MongoDBVectorSearch.
npm install rivet-plugin-mongodbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to import and configure the MongoDBVectorSearch and MongoDBStore nodes for use within Rivet graphs.
Remove MongoDBVectorKNN node and use MongoDBVectorSearch instead. Create a new Atlas Vector Search index per documentation.
Create an index using MongoDB Atlas UI or CLI as described in https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-type/
Limit collection size or use MongoDBVectorSearch with filter for large datasets. The plugin roadmap notes this issue.
Replace MongoDBVectorKNN with MongoDBVectorSearch and update index.
Ensure MONGODB_URI environment variable is set or connection string is configured in Rivet plugin settings.
Replace MongoDBVectorKNN with MongoDBVectorSearch.
Create a valid vector search index on the collection. See https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-type/
Check that the MONGODB_URI is correctly set and includes proper credentials.
Install plugin via Rivet UI plugins tab or add @rivet-gg/plugin-mongodb to package.json if using custom setup.
No dependency data recorded yet.