MongoDB MCP Server by CData
@CDataSoftware
This read-only MCP Server allows you to connect to MongoDB data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).
Overview
What is MongoDB MCP Server by CData?
CData's read-only MCP server that allows LLMs (like Claude Desktop) to query live MongoDB data using natural language. It wraps the CData JDBC Driver for MongoDB, exposing MongoDB collections as relational SQL models via the Model Context Protocol (MCP).
How to use MongoDB MCP Server by CData?
Clone the repository, build with mvn clean install, download and license the CData JDBC Driver for MongoDB, create a .prp configuration file with your JDBC connection string, then add the server to your Claude Desktop config file (claude_desktop_config.json). The server runs locally via stdio.
Key features of MongoDB MCP Server by CData
- Read-only access to MongoDB data via MCP
- Natural language queries without SQL required
- Built on the CData JDBC Driver for MongoDB
- Tools for listing tables, columns, and executing SELECT queries
- Local execution using
stdiotransport
Use cases of MongoDB MCP Server by CData
- Ask Claude Desktop questions about MongoDB data in plain English
- Retrieve live information from MongoDB without writing SQL
- Analyze MongoDB collections through conversational AI
FAQ from MongoDB MCP Server by CData
What dependencies are required to run this server?
You need Java, Maven (to build), and the CData JDBC Driver for MongoDB installed and licensed on your machine.
Does this server support write, update, or delete operations?
No. This MCP server is read-only. For full CRUD and local hosting, see the separate CData MCP Server for MongoDB.
Where does data live when I use this server?
All data remains local. The server runs on your machine and queries MongoDB directly via the JDBC driver.
What transport does the server use?
It uses stdio transport, so it can only be used with MCP clients running on the same machine as the server.
How do I authenticate to MongoDB?
Use the CData JDBC Driver’s Connection String utility to configure authentication (e.g., OAuth) and copy the resulting JDBC URL into your .prp file.