Devart MCP Server for PostgreSQL (ODBC)

自托管 MCP 服务器,可安全地通过 AI 访问 PostgreSQL 数据库。在 Windows 上可免费使用;需要商用 Devart ODBC Driver for PostgreSQL(提供 30 天免费试用)。

文档

Save Big on Cyber Monday! Up to 40% Off ends in   {{days}} Days{{timeFormat.hours}}:{{timeFormat.minutes}}:{{timeFormat.seconds}} Claim Offer

MCP

ODBC ADO.NET MCP Python SSIS Excel Add-in dbExpress Delphi DAC

Devart MCP Server for PostgreSQL

MCP Server for PostgreSQLFree Product

  • Secure self-hosted deployment in your environment
  • Compatibility with Claude, VS Code, Cursor, Codex, and other MCP-ready tools
  • Fast setup without custom integrations

Download for free

MCP Server for PostgreSQL MCP Server for PostgreSQL

Overview

Overview

MCP Server Universal

Docs

Support

Download

Connect your AI tools to live PostgreSQL data

MCP Server for PostgreSQL is a free, self-hosted solution that provides AI tools with access to live PostgreSQL data. It provides a natural-language interface for exploring database content and investigating issues without developing a custom AI-to-database integration.

  • Navigate schemas, tables, and relationships
  • Inspect database objects and metadata
  • Investigate queries and database issues
  • Control how AI interacts with PostgreSQL

What is Devart MCP Server for PostgreSQL?

Devart MCP Server for PostgreSQL is a free, self-hosted middleware that connects AI assistants and agents to PostgreSQL through the Model Context Protocol (MCP). It runs within your environment, translates natural-language requests into SQL, executes queries against PostgreSQL, and returns structured results to the AI tool — without giving the AI direct access to the database.

Under the hood, the server connects to PostgreSQL through Devart ODBC Driver for PostgreSQL, which provides database connectivity and access to data and metadata. This architecture provides a consistent way for AI tools to interact with PostgreSQL without requiring a custom integration to be built and maintained.

How Devart MCP Server for PostgreSQL works

Why connect AI to PostgreSQL data through MCP?

Connecting AI to PostgreSQL through MCP turns a conventional AI chat into a practical way of working with live data. It is much faster than manual data export or SQL querying.

Ask PostgreSQL in plain language

Retrieve data, inspect schemas, and investigate issues in the most natural and convenient way.

Ask PostgreSQL in plain language

Built for teams working with PostgreSQL

MCP Server for PostgreSQL gives teams a natural-language interface to PostgreSQL for analysis, development, troubleshooting, validation, and controlled AI access.

Team

Request

Devart MCP Server for PostgreSQL How MCP Server for PostgreSQL helps

Analysts & BI teams

Show monthly revenue by region for the last 12 months.

Queries PostgreSQL and returns revenue grouped by month and region, without requiring analysts to write SQL or prepare manual exports.

Developers, DBAs & data engineers

Why is this query slow?

Examines schemas, tables, indexes, relationships, and query plans to help teams investigate inefficient queries and database performance issues.

QA, support & operations teams

Find the data related to ticket #548291.

Retrieves related records across tables to help teams reproduce, investigate, and verify issues without manual lookups.

Platform & security teams

How can we give teams AI access to PostgreSQL without giving them direct database access?

Provides a self-hosted layer for controlled AI access to PostgreSQL while keeping database connectivity within your environment.

Built for simpler, safer PostgreSQL AI access

Devart MCP Server for PostgreSQL gives teams a more practical way to bring AI into data workflows — with secure deployment, easier setup, and less custom integration work.

Self-hosted deployment

Self-hosted and controlled

Keep AI-to-data access inside your environment with a secure, controlled PostgreSQL MCP layer.

Fast setup

Fast setup in a few clicks

Start faster with a ready MCP Server instead of building and maintaining a custom integration from scratch.

Compatibility with AI tools

Easy AI tool integration

Connect Claude, VS Code, Cursor, Codex, and other MCP-compatible tools to PostgreSQL with less friction.

Free to use

Free to use

The MCP Server is free — no license key, no activation, no expiry. It connects through Devart ODBC Driver for PostgreSQL, which is licensed separately.

Browser window showing a connected workflow diagram

Built for real PostgreSQL workflows

Support analysis, troubleshooting, investigation, and plain-language access across everyday data work.

Responsive support

Backed by support

Adopt PostgreSQL AI workflows with expert product guidance and dedicated support throughout setup and rollout.

How to get started with an MCP Server for PostgreSQL

1

2

3

4

1

Download MCP Server

Install the self-hosted server and open the setup.

Download

2

Access your PostgreSQL

Use an existing DSN or create a custom PostgreSQL connection.

3

Connect your AI tool

Integrate Claude, VS Code, Cursor, Codex, or another compatible MCP tool.

4

Ask in plain language

Begin querying your PostgreSQL data in natural language through the MCP layer.

Devart MCP Server for PostgreSQL

Get started with MCP Server for PostgreSQL

Download and set up the free, self-hosted MCP Server to securely connect your AI tools to PostgreSQL and start asking questions in plain language.

Download for free

WhoBenefitsTitle

TechnicalTeamsImageAlt

TechnicalTeamsImageAlt TechnicalTeamsImageAlt

TechnicalTeams

Developers, DBAs, data engineers, analytics engineers, and architects who build and maintain PostgreSQL applications and need quick access to database structure, logic, and live data. They can explore schemas, tables, views, functions, and indexes, inspect relationships and object definitions, examine query plans, investigate performance issues, and troubleshoot data or application behavior directly from their AI tools.

BusinessTeams

Sales ops, RevOps, finance, support, accounting, and operations teams that need answers from PostgreSQL data in plain language, without waiting on SQL queries or manual exports.

BusinessTeamsImageAlt BusinessTeamsImageAlt

AiAndAutomationTeams

Teams building copilots, agent workflows, and internal assistants that need secure, governed access to live PostgreSQL data as part of automated workflows.

AiAndAutomationTeamsImageAlt AiAndAutomationTeamsImageAlt

Devart MCP Server Universal

Need an MCP Server for multiple data sources?

A single MCP layer for all your databases and cloud services.

Explore MCP Server Universal

Devart MCP Server Universal

Explore other MCP servers

MCP Server for Clipper Clipper MCP Server for dBase dBase MCP Server for Dynamics 365 Dynamics 365 MCP Server for Dynamics 365 Business Central Dynamics 365 Business Central MCP Server for Firebird Firebird MCP Server for FoxPro FoxPro MCP Server for HubSpot HubSpot MCP Server for MariaDB MariaDB MCP Server for Microsoft Access Microsoft Access MCP Server for MySQL MySQL MCP Server for NetSuite NetSuite MCP Server for Oracle Oracle MCP Server for QuickBooks Online QuickBooks Online MCP Server for Salesforce Salesforce MCP Server for Salesforce Marketing Cloud Salesforce Marketing Cloud MCP Server for SAP Sybase ASE SAP Sybase ASE MCP Server for Snowflake Snowflake MCP Server for SQL Server SQL Server MCP Server for SQLite SQLite MCP Server for Visual FoxPro Visual FoxPro MCP Server for xBase xBase MCP Server for Zoho CRM Zoho CRM MCP Server for Zoho Desk Zoho Desk

MCP Server for Clipper Clipper MCP Server for dBase dBase MCP Server for Firebird Firebird MCP Server for FoxPro FoxPro MCP Server for MariaDB MariaDB MCP Server for Microsoft Access Microsoft Access MCP Server for MySQL MySQL MCP Server for Oracle Oracle MCP Server for SAP Sybase ASE SAP Sybase ASE MCP Server for SQL Server SQL Server MCP Server for SQLite SQLite MCP Server for Visual FoxPro Visual FoxPro MCP Server for xBase xBase

MCP Server for Dynamics 365 Dynamics 365 MCP Server for Dynamics 365 Business Central Dynamics 365 Business Central MCP Server for HubSpot HubSpot MCP Server for NetSuite NetSuite MCP Server for QuickBooks Online QuickBooks Online MCP Server for Salesforce Salesforce MCP Server for Salesforce Marketing Cloud Salesforce Marketing Cloud MCP Server for Snowflake Snowflake MCP Server for Zoho CRM Zoho CRM MCP Server for Zoho Desk Zoho Desk

Frequently asked questions

What is MCP Server for PostgreSQL?

Devart MCP Server for PostgreSQL brings PostgreSQL data and database functionality into AI-powered workflows through the Model Context Protocol (MCP). This free, self-hosted server allows AI assistants to retrieve information, inspect database structures, and execute SQL using configured PostgreSQL connections.

How does MCP Server connect AI to PostgreSQL?

Communication takes place through MCP tool calls. When an AI assistant needs database information, it invokes the appropriate server tool, which interacts with PostgreSQL through Devart ODBC Driver for PostgreSQL. The results are then passed back to the assistant in a structured format.

Can AI query live PostgreSQL data through MCP?

Yes. The server provides access to current PostgreSQL data, allowing AI tools to answer questions using actual database records. They can also inspect schemas, examine object definitions, and retrieve information needed for development or troubleshooting.

Is MCP Server for PostgreSQL secure?

Its self-hosted architecture lets you retain control over deployment, connectivity, and database credentials. The MCP Server uses your configured PostgreSQL account, so you can restrict access to specific databases, schemas, or operations through PostgreSQL permissions.

Is MCP Server for PostgreSQL free?

Yes. You can install and run the MCP Server without purchasing a license or activating the product. PostgreSQL connectivity requires Devart ODBC Driver for PostgreSQL, which is available separately with a 30-day free trial.

What can AI assistants do with PostgreSQL through MCP?

AI assistants can support everyday database administration, development, and analysis. Typical use cases include examining schemas and object definitions, generating SQL queries, investigating performance issues, retrieving related records, and preparing ad-hoc reports.

Do I need to build a custom API integration to connect PostgreSQL to AI?

No. The MCP Server provides a ready-made interface for compatible AI applications. Once you install it, set up the PostgreSQL connection, and configure your AI client, you can start interacting with the database using the available MCP tools.

Which AI tools work with MCP Server for PostgreSQL?

Supported MCP clients include Claude, Visual Studio Code, Cursor, Codex, Windsurf, Cline, and Zed. Other applications that implement the Model Context Protocol can also connect, provided they support the server's transport and configuration requirements.

{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.devart.com/#organization","name":"Devart","url":"https://www.devart.com/","logo":"https://www.devart.com/images/logo/Logo_negative.png"},{"@type":"WebSite","@id":"https://www.devart.com/#website","url":"https://www.devart.com/","name":"Devart","publisher":{"@id":"https://www.devart.com/#organization"}},{"@type":"WebPage","@id":"https://www.devart.com/mcp/postgresql/#webpage","url":"https://www.devart.com/mcp/postgresql/","name":"Free MCP Server for PostgreSQL — Secure AI Data Access | Devart","isPartOf":{"@id":"https://www.devart.com/#website"},"publisher":{"@id":"https://www.devart.com/#organization"},"inLanguage":"en","description":"Connect Claude, Cursor, VS Code, and other AI tools to your PostgreSQL data. Free, self-hosted MCP Server — query your database in plain language.","about":{"@id":"https://www.devart.com/mcp/postgresql/#software"},"mainEntity":{"@id":"https://www.devart.com/mcp/postgresql/#software"},"breadcrumb":{"@id":"https://www.devart.com/mcp/postgresql/#breadcrumb"},"hasPart":[{"@id":"https://www.devart.com/mcp/postgresql/#faq"}]},{"@type":"SoftwareApplication","@id":"https://www.devart.com/mcp/postgresql/#software","name":"MCP Server for PostgreSQL","url":"https://www.devart.com/mcp/postgresql/","applicationCategory":"DeveloperApplication","publisher":{"@id":"https://www.devart.com/#organization"},"operatingSystem":"Windows","offers":[{"@type":"Offer","price":0,"priceCurrency":"USD"}],"softwareVersion":"1.1.0"},{"@type":"FAQPage","@id":"https://www.devart.com/mcp/postgresql/#faq","mainEntity":[{"@type":"Question","name":"What is MCP Server for PostgreSQL?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EDevart MCP Server for PostgreSQL brings PostgreSQL data and database functionality into AI-powered workflows through the Model Context Protocol (MCP). This free, self-hosted server allows AI assistants to retrieve information, inspect database structures, and execute SQL using configured PostgreSQL connections.\u003C/p\u003E"}},{"@type":"Question","name":"How does MCP Server connect AI to PostgreSQL?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003ECommunication takes place through MCP tool calls. When an AI assistant needs database information, it invokes the appropriate server tool, which interacts with PostgreSQL through Devart ODBC Driver for PostgreSQL. The results are then passed back to the assistant in a structured format.\u003C/p\u003E"}},{"@type":"Question","name":"Can AI query live PostgreSQL data through MCP?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EYes. The server provides access to current PostgreSQL data, allowing AI tools to answer questions using actual database records. They can also inspect schemas, examine object definitions, and retrieve information needed for development or troubleshooting.\u003C/p\u003E"}},{"@type":"Question","name":"Is MCP Server for PostgreSQL secure?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EIts self-hosted architecture lets you retain control over deployment, connectivity, and database credentials. The MCP Server uses your configured PostgreSQL account, so you can restrict access to specific databases, schemas, or operations through PostgreSQL permissions.\u003C/p\u003E"}},{"@type":"Question","name":"Is MCP Server for PostgreSQL free?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EYes. You can install and run the MCP Server without purchasing a license or activating the product. PostgreSQL connectivity requires Devart ODBC Driver for PostgreSQL, which is available separately with a 30-day free trial.\u003C/p\u003E"}},{"@type":"Question","name":"What can AI assistants do with PostgreSQL through MCP?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EAI assistants can support everyday database administration, development, and analysis. Typical use cases include examining schemas and object definitions, generating SQL queries, investigating performance issues, retrieving related records, and preparing ad-hoc reports.\u003C/p\u003E"}},{"@type":"Question","name":"Do I need to build a custom API integration to connect PostgreSQL to AI?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003ENo. The MCP Server provides a ready-made interface for compatible AI applications. Once you install it, set up the PostgreSQL connection, and configure your AI client, you can start interacting with the database using the available MCP tools.\u003C/p\u003E"}},{"@type":"Question","name":"Which AI tools work with MCP Server for PostgreSQL?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003ESupported MCP clients include Claude, Visual Studio Code, Cursor, Codex, Windsurf, Cline, and Zed. Other applications that implement the Model Context Protocol can also connect, provided they support the server\u0027s transport and configuration requirements.\u003C/p\u003E"}}]},{"@type":"BreadcrumbList","@id":"https://www.devart.com/mcp/postgresql/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.devart.com/"},{"@type":"ListItem","position":2,"name":"Devart MCP Servers","item":"https://www.devart.com/mcp/"},{"@type":"ListItem","position":3,"name":"MCP Server for PostgreSQL","item":"https://www.devart.com/mcp/postgresql/"}]}]}