For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

MongoDB with Gemini

You can use MongoDB with Gemini through the official MongoDB Gemini Extension.

The MongoDB Gemini Extension provides:

The MongoDB Gemini Extension is available in the official Gemini Extension Marketplace.

To install the MongoDB Gemini Extension:

  1. Start a Gemini session.

  2. Install the extension:

    gemini extensions install https://github.com/mongodb/agent-skills
  3. Follow the prompts to complete the installation.

After installing the Extension, you must configure the MCP Server before using any agent skills or functionality that connects to MongoDB.

The MongoDB Gemini Extension bundles the MongoDB MCP Server. To configure the MCP Server, see MongoDB MCP Server Get Started.