Best MCP servers for PostgreSQL (2026)
These are the 18 most popular open-source MCP servers for PostgreSQL, ranked by GitHub stars. Each one links to a page with repository details, install configs where available, and related servers.
- Douyin_TikTok_Download_API ★20643 – 🚀 抖音、TikTok 数据采集与无水印视频下载 API,自托管,支持 MCP 调用与 Docker 一键部署。| Self-hosted TikTok & Douyin scraper and no-watermark video do
- tabularis ★5214 – Open-source desktop SQL workspace with 3 built-in database drivers and 16 shipped plugins, including SQL Server, DuckDB,
- whodb ★5037 – Where data access meets operational intelligence
- dbhub ★3646 – Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
- FlyEnv ★3280 – Native local development environment for Windows, macOS & Linux. A modern alternative to XAMPP, MAMP, Laragon and Larave
- carbon ★2731 – Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on
- pg-aiguide ★1869 – MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL cod
- nocturne_memory ★1391 – A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to Vector RAG and amnesia. E
- CloudBase-AI-Toolkit ★1136 – Backend for AI coding agents on CloudBase — database, auth, functions via Plugin, Skills & MCP.
- pgmcp ★542 – An MCP server to query any Postgres database in natural language.
- PerformanceMonitor ★520 – Free, open-source SQL Server and Postgres performance monitoring. Collectors, real-time alerts, graphical plan viewer, M
- EDDI ★384 – Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/
- redd-archiver ★346 – A PostgreSQL-backed archive generator that creates browsable HTML archives from link aggregator platforms including Redd
- Deft ★263 – Self-hostable AGPL workspace where humans and AI agents share chat, tasks, knowledge, approvals, and MCP context.
- MCP-PostgreSQL-Ops ★160 – 🐘 Give AI assistants full PostgreSQL DBA superpowers — 30+ tools for performance analysis, bloat detection, lock/deadlo
- eion ★159 – Shared Memory Storage for Multi-Agent Systems
- pgconsole ★156 – Minimal Postgres editor for speed, collaboration, and AI
- goldenmatch ★133 – Zero-config entity resolution feeding a durable identity layer: messy records from any source become stable golden entit
Frequently asked questions
What is an MCP server for PostgreSQL?
An MCP (Model Context Protocol) server connects AI assistants such as Claude, Cursor or GitHub Copilot in VS Code to external tools and data. The servers on this page are focused on PostgreSQL.
How is this list ranked?
By GitHub stars and recent activity, using public repository data refreshed on October 15, 2026.
How do I install one?
Most servers are added to your client’s MCP config file as an npx, uvx or Docker command. Our install guides for Claude Desktop, Cursor and VS Code walk through it step by step.
Related guides
- How to install MCP servers in Claude Desktop (step by step)
- How to install MCP servers in Cursor (mcp.json guide)
- How to use MCP servers in VS Code with GitHub Copilot
Weekly MCP digest – new and trending MCP servers in your inbox.