mongodb/mongodb-natural-language-querying
Translate natural language into MongoDB queries and aggregation pipelines
Description
mongodb-natural-language-querying is an agent skill that turns plain-language requests into MongoDB find queries and aggregation pipelines. It only generates read-only queries. Before it writes anything, it fetches the collection's schema, indexes and sample documents through the MongoDB MCP server, so the field names and types it uses match your real data. That check is meant to catch wrong field names and to point out a missing index, instead of returning an empty result without warning. The skill covers the usual cases: converting a request such as users who signed up last week and have not logged in since into a find filter, building a $group pipeline that sums order totals by category, translating an SQL JOIN into a $lookup stage, writing a geospatial query with the correct longitude and latitude order, and converting relative dates into date ranges. It is useful when you know what you want to ask a collection but not the exact MongoDB syntax. Install it with the command shown on this page.…
Highlights
- Natural language to find queries
- Aggregation pipeline generation
- Read-only query output
- Checks schema and indexes before querying
- SQL JOIN to $lookup translation
Ratings & Reviews
No ratings yet
Be the first to rate mongodb/mongodb-natural-language-querying.
People also visit

mongodb-search-and-ai
Guides MongoDB users through implementing and optimizing Atlas Search
mongodb/mongodb-natural-language-querying FAQ
What does this skill do?
It turns plain-language questions into read-only MongoDB find queries and aggregation pipelines.
How do I install it?
Run npx skills add https://github.com/mongodb/agent-skills --skill mongodb-natural-language-querying, or paste the skill link into your coding assistant and ask it to install the skill.
Does it check my field names?
Yes. It fetches the collection schema, indexes and sample documents through the MongoDB MCP server before building the query.
Can it change my data?
No. The skill generates read-only find queries and aggregation pipelines.
What are the best mongodb/mongodb-natural-language-querying alternatives?
Popular alternatives to mongodb/mongodb-natural-language-querying include mongodb-natural-language-querying, mongodb-search-and-ai and mongodb-skills. See all mongodb/mongodb-natural-language-querying alternatives
















