mongodb-natural-language-querying
mongodb natural language querying
What it does
- Database name and collection name (use mcpmongodblist-databases and mcpmongodblist-collections if not provided)
- User's natural language description of the query
- Returns flattened schema with field names and types
- Includes nested document structures and array fields
- Shows actual data values and formats
- Reveals common patterns (enums, ranges, etc.)
- Simple filtering on one or more fields
Requirements & configuration
- No need for grouping, complex transformations, or multi-stage processing
- Use Aggregation Pipeline when the request requires:
- For array length checks, use $size when you need an exact count
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
mongodb-natural-language-querying FAQ
What does the mongodb-natural-language-querying skill do?
Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents. Use this skill whenever the user asks to write, create, or generate MongoDB queries, wants to filter/query/aggregate data in MongoDB, asks "how do I query...", needs help with query syntax, or discusses finding/filtering/grouping MongoDB documents. Also use for translating SQL-like requests to MongoDB syntax. Does NOT handle Atlas Search ($search operator), vector/semantic search ($vectorSearch operator), fuzzy matching, autocomplete indexes, or relevance scoring - use search-and-ai for those. Does NOT analyze or optimize existing queries - use mongodb-query-optimizer for that. Does NOT handle aggregation pipelines that involve write operations. Requires MongoDB MCP server. Database name and collection name (use mcpmongodblist-databases and mcpmongodblist-collections if not provided) User's natural language description of the query
What does mongodb-natural-language-querying require?
No need for grouping, complex transformations, or multi-stage processing Use Aggregation Pipeline when the request requires: For array length checks, use $size when you need an exact count
How do I install mongodb-natural-language-querying?
Run: npx -y skills add https://github.com/mongodb/agent-skills --skill mongodb-natural-language-querying --agent claude-code — the source lives at github.com/mongodb/agent-skills.
Maintain mongodb-natural-language-querying?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[mongodb-natural-language-querying on getagentictools](https://getagentictools.com/skills/mongodb-agent-skills-mongodb-natural-language-querying?ref=badge) npx agentictools info skills/mongodb-agent-skills-mongodb-natural-language-querying The second line is the CLI lookup for this page — handy in READMEs and docs.