Investigate live data
If you ask
“Find users where lastLogin is older than 90 days and account status is active”
Then
Query live data to answer product or debugging questions.
Works in Claude, Codex, Cursor & any MCP agent
How this prompt works
-
Turn on the MongoDB connector in Claude, ChatGPT or Cursor — once.
-
Paste the prompt above. No code, no menus.
-
Query live data to answer product or debugging questions.
Level up: install the MongoDB skill
A prompt you paste once. A skill your agent keeps — playbooks and defaults it loads every session. Official pack.
npx skills add mongodb/agent-skills FAQ
How do I investigate live data with MongoDB?
Add the MongoDB MCP connector once, then paste this prompt into Claude or ChatGPT: "Find users where lastLogin is older than 90 days and account status is active". Your AI runs it in MongoDB.
Do I need to code?
No. You install the connector once (a short config or one click), then ask in plain words. The prompt on this page works as-is.
Which AI assistants work?
Claude (Desktop, Code), Cursor, ChatGPT and other MCP clients. The same prompt works across them.
Set up MongoDB in Claude
Copy-paste config, setup steps and more ready-to-run prompts on the connector page.
Open MongoDB setupMore prompts