mcps
MongoDB + MongoDB × your AI agent

Explore your collections

If you ask

“List collections in the app database and show me 3 sample documents from each”

Then

See what collections exist and inspect sample documents.

Works in Claude, Codex, Cursor & any MCP agent

How this prompt works

  1. Turn on the MongoDB connector in Claude, ChatGPT or Cursor — once.

  2. Paste the prompt above. No code, no menus.

  3. See what collections exist and inspect sample documents.

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

Browse all skills →

FAQ

How do I explore your collections with MongoDB?

Add the MongoDB MCP connector once, then paste this prompt into Claude or ChatGPT: "List collections in the app database and show me 3 sample documents from each". 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 setup

More prompts