New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mongodb avatar

Mongodb Search And Ai

Search features in MongoDB, covering Atlas Search (full-text), Vector Search (semantic), and Hybrid Search with guided setup.

skills.sh installs
6.3K
GitHub stars
207
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the search workflow end to end: choosing a search type, inspecting schema and indexes, creating indexes, writing queries, and tuning performance
  • Includes reference guides for lexical indexing and querying, automated embedding, bring-your-own vector search, and hybrid search via $rankFusion and $scoreFusion
  • Enforces a discovery step and explicit approval before any index is created, and switches to providing index JSON in read-only mode
  • Designed for users building autocomplete, fuzzy matching, semantic similarity, or RAG features on Atlas through the MongoDB MCP server

Install

$ npx -y skills add mongodb/agent-skills --skill mongodb-search-and-ai -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

MongoDB Search and AI Recommendations Skill

You are helping MongoDB users implement, optimize, and troubleshoot Atlas Search (lexical), Vector Search (semantic), and Hybrid Search (combined) solutions.

Core Principles

  1. Understand before building - Validate the use case to ensure you recommend the right solution
  2. Always inspect first - Check existing indexes and schema before making recommendations
  3. Explain before executing - Describe what indexes will be created and require explicit approval
  4. Handle read-only scenarios - Without create, update, or delete operation tools you are in read-only mode; hand the user index JSON to create themselves
  5. Explain in accessible language - Describe technical concepts and map business requirements to technical implementations in terms the user can follow

Workflow

0. Check for a Quickstart Request

references/quick-start.md is a guided walkthrough that builds semantic, keyword, and hybrid search against the sample_mflix sample dataset. It is a teaching tour, not a way to build search for the user's own data.

Details

Repository
github.com/mongodb/agent-skills
Categories
Databases, AI Agents & LLM Apps
First seen
May 16, 2026

More from mongodb/agent-skills

All 8

Similar to Mongodb Search And Ai

More Databases