Use Claude to Talk to Your MongoDB Data via CData Connect AI

Stanley Liu
Stanley Liu
Associate Technical Product Marketer
Leverage the CData Connect AI Remote MCP Server to enable Claude to securely answer questions and take actions on your MongoDB data for you.

Claude is a family of advanced large language models (LLMs) built by Anthropic, an AI research company founded in 2021. These models power the Claude conversational assistant and developer tools.

CData Connect AI offers a dedicated cloud-to-cloud interface for connecting to MongoDB data. The CData Connect AI Remote MCP Server enables secure communication between Claude and MongoDB. This allows you to ask questions and take actions on your MongoDB data using Claude, all without the need for data replication to a natively supported database. With its inherent optimized data processing capabilities, CData Connect AI efficiently channels all supported SQL operations, including filters and JOINs, directly to MongoDB. This leverages server-side processing to swiftly deliver the requested MongoDB data.

About MongoDB Data Integration

Accessing and integrating live data from MongoDB has never been easier with CData. Customers rely on CData connectivity to:

MongoDB's flexibility means that it can be used as a transactional, operational, or analytical database. That means CData customers use our solutions to integrate their business data with MongoDB or integrate their MongoDB data with their data warehouse (or both). Customers also leverage our live connectivity options to analyze and report on MongoDB directly from their preferred tools, like Power BI and Tableau.

For more details on MongoDB use case and how CData enhances your MongoDB experience, check out our blog post: The Top 10 Real-World MongoDB Use Cases You Should Know in 2024.


Getting Started


Step 1: Configure MongoDB Connectivity for Claude

Connectivity to MongoDB from Claude is made possible through CData Connect AI Remote MCP. To interact with MongoDB data from Claude, we start by creating and configuring a MongoDB connection in CData Connect AI.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. Select "MongoDB" from the Add Connection panel
  3. Enter the necessary authentication properties to connect to MongoDB.

    Set the Server, Database, User, and Password connection properties to connect to MongoDB. To access MongoDB collections as tables you can use automatic schema discovery or write your own schema definitions. Schemas are defined in .rsd files, which have a simple format. You can also execute free-form queries that are not tied to the schema.

  4. Click Save & Test

Step 2: Connect Claude to CData Connect AI

Follow these steps to add a CData Connect AI connector in Claude:

  1. Sign in to Claude.ai or create a new account.
  2. Expand the left navigation menu.
  3. In the bottom-left corner, click your user name and select Settings from the menu. The Settings screen appears.
  4. In the Settings screen, click Connectors.
  5. Click the button to Browse Connectors.
  6. Search for "CData Connect AI" and click the listing.
  7. Click "Connect" and sign into your Connect AI account.
  8. After connecting, Claude opens a new chat.

Step 3: Explore Live MongoDB Data with Claude

  1. You can now start exploring your data with natural language prompts. Claude outlines the steps it uses to retrieve data from the source in CData Connect AI. Refer to CData's prompt library for prompt ideas.

NOTE: Claude's setup process is subject to change. Refer to Claude's documentation for the latest setup information.

Get CData Connect AI

To get live data access to 300+ SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!

Ready to get started?

Learn more about CData Connect AI or sign up for free trial access:

Free Trial