mongodb-search-and-ai
Skill by fcakyon
Guides AI assistants through search in MongoDB, covering Atlas Search, Vector Search and Hybrid Search. Built for users who want to choose a search type, create indexes and write or optimize queries through the MongoDB MCP server.
Install mongodb-search-and-ai
Built from the published package, never by AI.
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings /tmp/claude-codex-settings && mkdir -p ~/.claude/skills && cp -r /tmp/claude-codex-settings/plugins/mongodb-skills/skills/mongodb-search-and-ai ~/.claude/skills/mongodb-search-and-aiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings /tmp/claude-codex-settings && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-codex-settings/plugins/mongodb-skills/skills/mongodb-search-and-ai ~/.gemini/antigravity-cli/skills/mongodb-search-and-aiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mongodb-search-and-ai in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides AI assistants through search in MongoDB. It covers Atlas Search for full-text and lexical matching, Vector Search for semantic similarity with your own embeddings, Automated Embedding for text that MongoDB embeds with Voyage AI models, and Hybrid Search that merges pipelines with $rankFusion or $scoreFusion. The skill inspects collections, schema and indexes through the MongoDB MCP server, then picks a search type using its reference files.
Index creation needs explicit user approval before the create-index tool runs. Without create, update or delete tools, the skill works read-only and provides index JSON for the user to create in the Atlas UI. It also offers a guided tour on Atlas's sample_mflix dataset for users who want to learn. The skill is written for MongoDB users building or troubleshooting features such as autocomplete, fuzzy matching, faceted search and RAG.
Written from the project's SKILL.md and checked against it.
What it can do
- Choose a search typeMatches a use case to Atlas Search, Vector Search, Automated Embedding or Hybrid Search.
- Inspect collections and indexesUses list-databases, list-collections, collection-schema and collection-indexes to review data.
- Check cluster versionUses atlas-inspect-cluster to determine the cluster's MongoDB version.
- Create indexesExplains the index configuration, asks for approval, then uses create-index.
- Run aggregation queriesShows an aggregation pipeline and runs it with the aggregate tool.
- Refine existing queriesCompares a user's query with best practices and proposes before and after changes.
- Guided tour on sample dataWalks through semantic, keyword and hybrid search on the sample_mflix dataset.
What you need
- MongoDB MCP server
- MongoDB Atlas cloud cluster for the guided tour
Try asking
- Help me choose between Atlas Search and Vector Search for my product catalog.
- Create a full-text search index on my articles collection after showing me the JSON.
- Walk me through hybrid search using the sample movie data.
Good to know
- Read-only without create, update or delete tools; index JSON must be created in the Atlas UI.
- The guided tour requires an Atlas cloud cluster; Atlas Local and self-managed MongoDB are out of scope.
- Automated Embedding is text-only; image, audio and multimodal embeddings need Vector Search.
- Does not recommend $regex or $text for search use cases.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/mongodb-skills/skills/mongodb-search-and-ai/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/automated-embedding.md16 KB -
references/hybrid-search.md23 KB -
references/lexical-search-indexing.md20 KB -
references/lexical-search-querying.md17 KB
Show all 7 files
-
references/quick-start.md45 KB -
references/vector-search.md19 KB
Alternatives to mongodb-search-and-ai
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
mongodb-search-and-ai: common questions
Does this skill work with self-managed MongoDB?
The guided walkthrough requires an Atlas cloud cluster, and Atlas Local and self-managed MongoDB are out of scope for it. The skill's Vector Search reference covers self-managed setups without a Voyage AI API key.
Will the skill create indexes without asking?
No. It explains the index configuration, shows the JSON, asks for a name, and requires explicit approval before using create-index.
What is the difference between Automated Embedding and Vector Search here?
Automated Embedding has MongoDB generate and manage embeddings with Voyage AI models, with no embedding code. Vector Search is for your own pre-generated embeddings or models Voyage AI does not provide.
How do I install mongodb-search-and-ai?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mongodb-search-and-ai free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mongodb-search-and-ai safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mongodb-search-and-ai?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
