mongodb/mongodb-search-and-ai
Implement Atlas Search and AI-powered recommendations with vector search
Description
mongodb-search-and-ai is an agent skill that helps you choose between Atlas Search, Vector Search and Hybrid Search in MongoDB, then builds the indexes and aggregation pipelines for the choice you make. It inspects your schema and checks the cluster version, including whether $rankFusion or $scoreFusion are available, and refines queries through the MongoDB MCP server. The point of the routing is to match the search type to your data and version rather than guess between $regex, $text, Atlas Search and Vector Search. Typical tasks include adding typo-tolerant autocomplete with fuzzy matching to a product catalog, building a retrieval step for a retrieval-augmented generation (RAG) pipeline that finds document chunks by embedding similarity, combining keyword filters with semantic ranking for a movie recommendation query, replacing a slow $regex contains search with an Atlas Search text operator, and creating vector indexes for similarity search. Install it with the command shown on this page.…
Highlights
- Chooses Atlas Search, Vector Search or Hybrid Search
- Checks cluster version for $rankFusion and $scoreFusion
- Builds indexes and aggregation pipelines
- Replaces slow $regex searches
- Refines queries through the MCP server
Ratings & Reviews
No ratings yet
Be the first to rate mongodb/mongodb-search-and-ai.
People also visit

mongodb-search-and-ai
Guides MongoDB users through implementing and optimizing Atlas Search

google-cloud-solution-hybrid-search-alloydb
Discovers requirements and generates architectural, design

google-cloud-solution-rag-enterprise-search-gke-sqldb
Discovers requirements, and generates architectural, design
mongodb/mongodb-search-and-ai FAQ
What does this skill do?
It picks the right MongoDB search type for a task and builds the matching index and aggregation pipeline.
How do I install it?
Run npx skills add https://github.com/mongodb/agent-skills --skill mongodb-search-and-ai, or paste the skill link into your coding assistant and ask it to install the skill.
Can it help with RAG?
Yes. The page gives retrieving document chunks by embedding similarity as a typical use.
What does it check first?
Your schema and cluster version, which determine whether features such as $rankFusion are available.
What are the best mongodb/mongodb-search-and-ai alternatives?
Popular alternatives to mongodb/mongodb-search-and-ai include mongodb-search-and-ai, mongodb-natural-language-querying and google-cloud-solution-hybrid-search-alloydb. See all mongodb/mongodb-search-and-ai alternatives











