This read-only MCP Server allows you to connect to PostgreSQL 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/).
MCPpedia last refreshed this data
PostgreSQL MCP Server By Cdata is an MCP server that this read-only MCP Server allows you to connect to PostgreSQL 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/). Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 55/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"postgresql-mcp-server-by-cdata": {
"url": "<see-readme-for-url>"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
CData's Model Context Protocol (MCP) Server for PostgreSQL
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in data
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
Manage Supabase projects — databases, auth, storage, and edge functions
Firecrawl, the context API for AI agents: search, scrape, interact with the web, plus paper search.
A cross-platform desktop application for managing AI Agents and MCP Servers. 一款用于管理AI智能体与MCP服务器的跨平台桌面应用程序。
MCP Security Weekly
Get CVE alerts and security updates for Postgresql Mcp Server By Cdata and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
CData's Model Context Protocol (MCP) Server for PostgreSQL
:heavy_exclamation_mark: This project builds a local, read-only MCP server. For fully remote MCP access, check out the first managed MCP platform: CData Connect AI. For locally hosted, full read, write, update, delete, and action capabilities and a simplified setup, check out our CData MCP Server for PostgreSQL.
We created this read-only MCP Server to allow LLMs (like Claude Desktop) to query live data PostgreSQL supported by the CData JDBC Driver for PostgreSQL.
CData JDBC Driver connects to PostgreSQL by exposing them as relational SQL models.
This server wraps that driver and makes PostgreSQL data available through a simple MCP interface, so LLMs can retrieve live information by asking natural language questions — no SQL required.
git clone https://github.com/cdatasoftware/postgresql-mcp-server-by-cdata.git
cd postgresql-mcp-server-by-cdata
mvn clean install
This creates the JAR file: CDataMCP-jar-with-dependencies.jarlib folder in the installation directory, typically:
C:\Program Files\CData\CData JDBC Driver for PostgreSQL\/Applications/CData JDBC Driver for PostgreSQL/java -jar cdata.jdbc.postgresql.jar --licenseRun the command java -jar cdata.jdbc.postgresql.jar to open the Connection String utility.
Configure the connection string and click "Test Connection"
Note: If the data sources uses OAuth, you will need to authenticate in your browser.
Once successful, copy the connection string for use later.
.prp file for your JDBC connection (e.g. postgresql.prp) using the following properties and format:
Prefix=postgresql
ServerName=CDataPostgreSQL
ServerVersion=1.0
DriverPath=PATH\TO\cdata.jdbc.postgresql.jar
DriverClass=cdata.jdbc.postgresql.PostgreSQLDriver
JdbcUrl=jdbc:postgresql:InitiateOAuth=GETANDREFRESH;
Tables=
Create the config file for Claude Desktop ( claude_desktop_config.json) to add the new MCP server, using the format below. If the file already exists, add the entry to the mcpServers in the config file.
Windows
{
"mcpServers": {
"{classname_dash}": {
"command": "PATH\\TO\\java.exe",
"args": [
"-jar",
"PATH\\TO\\CDataMCP-jar-with-dependencies.jar",
"PATH\\TO\\postgresql.prp"