/
/
ODBC

MongoDB ODBC Driver

Read, write, and update MongoDB through ODBC

Other Database Technologies
Decorative Icon MongoDB Logo
Claude
Claude
GitHub Copilot
Gemini
New
CData Drivers now work with AI Coding tools

The MongoDB ODBC Driver is a powerful tool that allows you to connect with live data from MongoDB, directly from any applications that support ODBC connectivity. Access MongoDB data like you would a database - read, write, and update MongoDB data through a standard ODBC Driver interface.

ODBC architecture

See what you can do with MongoDB ODBC Driver

Server

SQL
SQL Server Linked-Server

Connect to MongoDB from SQL Server as Linked-Server. You can query MongoDB from familiar Transact-SQL without need of setting up another application.

Informatica
Data Integration & ETL

Integrate MongoDB to your system through popular ETL / EAI tools such as Informatica PowerCenter. Standard SQL and Stored Procedures enable fast delivery of your integration projects.

Reporting & BI
Reporting & BI

Connect MongoDB from any ODBC compatible tools:

Desktop

MS Access / Excel / PowerQuery
MS Access / Excel / PowerQuery

Your familiar tools can connect to MongoDB using CData ODBC.

MongoDB ODBC Connectivity Features

  • Unmatched performance for reading large datasets
  • Compatible with MongoDB 2.6 and above
  • Enables SQL-92 capabilities on MongoDB NoSQL data.
  • Flexible NoSQL flattening - automatic schema generation, flexible querying etc.
  • Connect to live MongoDB data, for real-time data access with the MongoDB Python Connectors
  • Full support for data aggregation and complex JOINs in SQL queries
  • Seamless integration with leading BI, reporting, and ETL tools and with custom applications via the MongoDB Connector.

Target Service, API

The MongoDB ODBC driver models MongoDB instances as relational databases and supports MongoDB versions 2.6 through 7.0. We support not only MonogoDB hosted version, and DBaaS versions such as Atlas, CosmosDB with MongoDB API, and Amazon DocumentDEB Cluster. The driver leverages the MongoDB API, including the MongoDB aggregation framework, to enable bidirectional SQL access to MongoDB data.

Schema, Data Model

MongoDB is a schemaless, document database that provides high performance, availability, and scalability. The driver models the schemaless MongoDB objects into relational tables and translates SQL queries into MongoDB queries to get the requested data. The Automatic Schema Discovery scheme automatically finds the data types in a MongoDB object by scanning a configured number of rows of the object. You can use RowScanDepth, FlattenArrays, and FlattenObjects to control the relational representation of the collections in MongoDB. You can also write Free-Form Queries not tied to the schema.

Key Objects

User defined objects are exposed as relational tables.

Operations

You can use SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, DROP TABLE, CACHE and many other SQL statements.

Authentication

The driver supports Authenticdation Schemes;, MONGODB-CR, SCRAM-SHA-1, SCRAM-SHA-256, PLAIN (LDAP), GSSAPI, and X509.

Start a 30-day free trial today

Robust ODBC access to MongoDB

Full-featured and consistent SQL access to any supported data source through ODBC


Connect to MongoDB—empower every team

Management & Data Consumer
IT Department
IT Pro, Infrastructure

AI-assisted development with CData CLI

Build MongoDB integrations faster with AI that understands your schema

Schema-aware AI

CData CLI gives AI coding tools access to your MongoDB schema. No more guessing table names or column types—AI sees the same metadata in your ODBC Drivers.

Your AI Knows SQL

How to find table names, column names, and how to generate SQL syntax are things that AI knows well from millions of training data. No need for customization, no hallucinations. Your AI acts like a domain specialist to MongoDB.

More Accurate, More Token-Efficient

With CData CLI's queryable schema detection and highly efficient queries with filters, aggregation, joins with correct pushdown, your AI will achieve more accuracy with less token usage.

Supported AI Coding Tools
Download CData CLI
FAQs

Frequently asked MongoDB ODBC driver questions

Learn more about MongoDB ODBC drivers for data and analytics integration

Download the MongoDB ODBC Driver today!

Get the latest MongoDB ODBC Drivers for Windows, Linux, and macOS. Install in minutes and connect your MongoDB data to Power BI, Tableau, and more.