Model Context Protocol (MCP) finally gives AI models a way to access the business data needed to make them really useful at work. CData MCP Servers have the depth and performance to make sure AI has access to all of the answers.
Try them now for free →
The MongoDB ODBC Driver is a powerful tool that allows you to connect with live MongoDB document databases, directly from any applications that support ODBC connectivity. Access MongoDB like you would a database - read, write, and update through a standard ODBC Driver interface.

- 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
- Full support for data aggregation and complex JOINs in SQL queries
- Seamless integration with leading BI, reporting, and ETL tools and with custom applications
Target Service, API
The 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.
Robust ODBC Access to MongoDB
Full-featured and consistent SQL access to any supported data source through ODBC
-
Standards-Compliant ODBC
ODBC 3.8 compliant native protocol based drivers.
-
Unicode, 32-bit and 64-bit support
Support 32-bit and 64-bit applications and unicode ODBC APIs.
-
Cross-platform ODBC (Windows/Linux/Mac)
Available for Microsoft Windows, Unix, and Mac (macOS / OS X) platforms.
-
Certified ODBC Compatibility*
Our drivers undergo extensive testing and are certified to be compatible with leading analytics and reporting applications like Tableau, Microsoft Excel, and many more.
* Please visit our knowledge base to access how-to articles. -
Embedded Remoting Capabilities
Our exclusive Remoting feature allows hosting the ODBC connection on a server to enable connections from various clients on any platform (Java, .NET, C++, PHP, Python, etc.), using any standards based technology (ODBC, JDBC, etc.). ODBC Remoting is enabled using the popular MySQL and SQL (TDS) wire protocol server.
-
String, Date, Numeric SQL Functions
The driver includes a library of 50 plus functions that can manipulate column values into the desired result. Popular examples include Regex, JSON, and XML processing functions.
-
Collaborative Query Processing
Our drivers enhance the data source's capabilities by additional client-side processing, when needed, to enable analytic summaries of data such as SUM, AVG, MAX, MIN, etc.
-
Easily Customizable and Configurable
The data model exposed by our ODBC Drivers can easily be customized to add or remove tables/columns, change data types, etc. without requiring a new build. These customizations are supported at runtime using human-readable schema files that are easy to edit.
-
Enterprise-class Secure Connectivity
Includes standard Enterprise-class security features such as TLS/ SSL data encryption for all client-server communications.
-
Replication and Caching
Our replication and caching commands make it easy to copy data to local and cloud data stores such as Oracle, SQL Server, Google Cloud SQL, etc. The replication commands include many features that allow for intelligent incremental updates to cached data.
See what you can do with MongoDB ODBC Driver
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.
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.
Connect MongoDB from any ODBC compatible tools:
Desktop
Your familiar tools can connect to MongoDB using CData ODBC.
- Microsoft Access
- Power Query
- DBeaver
- and more
Connect to MongoDB — empower every team
- Easiest way to connect to MongoDB
- Dashboard / Reports that connect with MongoDB
- Data drives business, but IT teams are overwhelmed by accessing numerous siloed sources like MongoDB. CData ODBC Drivers offer the fastest, easiest way to connect MongoDB to BI tools like SAP BusinessObjects, Crystal Reports, Qlik, or Access.
Integrate MongoDB to your system:
- Custom application integration with SQL
- SQL Server Linked Server
- Informatica PowerCenter
Need to integrate your internal systems with MongoDB? CData ODBC Drivers let you do it easily—access MongoDB as a SQL Server Linked Server or connect via tools like Informatica PowerCenter using an SQL-based driver, no extra middleware required.
- Data Client of your choice
- Excel, MS Access Linked-table, PowerQuery
Still exporting and importing CSVs manually or with scripts? CData ODBC Drivers give you live access to MongoDB — no middleware or files needed. Use your preferred tools and stay in control of your MongoDB data.
Frequently Asked MongoDB ODBC Driver Questions
Learn more about MongoDB ODBC drivers for data and analytics integration
Does MongoDB support ODBC?
Not natively. However, CData offers an ODBC driver for MongoDB that allows you to connect to MongoDB data from any ODBC-compliant application, just like you would access a traditional database. This can be useful for tasks like:
- Accessing MongoDB from applications: Connect to MongoDB data in popular tools and applications including Microsoft Excel, Tableau, Power BI, and many others.
- Real-time data: You can work with live MongoDB data within these applications, enabling tasks like reporting and analysis.
- Connecting systems: Build data integrations between MongoDB and other systems.
The MongoDB ODBC driver is an ODBC 3.8 compliant native protocol-based driver with comprehensive ANSI SQL-92 support. This means that virtually any application that can connect to data via ODBC, can use the CData ODBC driver for real-time integration. Download a fully functional free trial of the MongoDB ODBC driver today to get started.
Is there an ODBC driver for MongoDB?
Yes, the CData ODBC driver for MongoDB provides universal ODBC data connectivity for MongoDB. The MongoDB ODBC driver offers a simple SQL-based layer of abstraction that simplifies real-time data access for users and applications, enabling them to communicate with MongoDB using a standardized set of functions. Virtually any application on any platform (including Windows, macOS, or *nix) can use the CData ODBC driver for real-time integration.
How do I connect to MongoDB via ODBC?
Connectivity to MongoDB via ODBC is easy. First, download and install the MongoDB ODBC driver. The download page includes separate installers for Windows, macOS, and Unix, so please select the MongoDB ODBC driver that matches the platform where you intend to use the driver.
Once the installation is complete, navigate to the ODBC driver documentation page. Here, you'll find a wealth of information about the installed driver. The step-by-step instructions for creating a DSN and using it to connect to MongoDB via ODBC are just the beginning. The documentation also provides extensive configuration details for using the MongoDB ODBC driver with all your favorite applications and development tools, ensuring you have all the support you need.
Where can I download an ODBC driver for MongoDB?
All of the CData ODBC drivers, including the MongoDB ODBC driver are available for download online. To get started, download a fully functional free trial of the MongoDB ODBC driver today.
How do I install an ODBC driver for MongoDB?
To install the MongoDB driver, simply download one of the MongoDB ODBC driver installers available online. The download page includes separate Windows, macOS, and Unix installers, so please select the MongoDB ODBC driver that matches the platform where you intend to use the driver. The installers are comprehensive setup utilities that will install all the components required to use the MongoDB ODBC driver on your system.
Is the MongoDB ODBC driver 32-bit or 64-bit?
The MongoDB ODBC driver is available in both 32-bit and 64-bit binaries. The MongoDB driver installer will allow you to install both options, and you can select the ODBC driver binary that is appropriate for the system where you intend to use the driver.
Does pyODBC work with MongoDB?
Absolutely. The MongoDB ODBC driver seamlessly supports pyODBC connectivity. For example, check out this article on our online knowledgebase that demonstrates how you can connect to MongoDB from PyCharm using pyODBC and the MongoDB ODBC driver.
However, besides ODBC support, we also provide native Python data connectivity for MongoDB. To learn more, check out the MongoDB Python Connector online.