Skip to main content

About PostgreSQL MCP Server

An archived MCP server that provided AI assistants with SQL query execution and schema inspection for PostgreSQL databases.

PostgreSQL MCP Server was an open-source Model Context Protocol server maintained by the Model Context Protocol team. It enabled AI assistants to connect to PostgreSQL databases, execute SQL queries, and inspect schemas directly from MCP-compatible environments. Though now archived, the server demonstrated how MCP could facilitate database exploration and query management in AI-powered IDEs such as Claude Desktop and Cursor. Developers could configure it with database credentials and use it to streamline database-driven workflows in natural language.

Key features

  • Connect to PostgreSQL databases with credentials
  • Execute SQL queries via AI assistants
  • Inspect database schemas and metadata
  • Integrate PostgreSQL into AI-assisted workflows
  • Simple setup with npm
  • Designed for Claude and Cursor integration
  • Lightweight and open-source
  • Archived as of May 2025
MCP Servers
  • Neon MCP Server

    neondatabase

    An MCP server that enables natural language management of Neon Postgres databases via IDEs and AI assistants.

    Developer ToolsOpen source
    macOS · Windows77 stars
  • An official MCP server that enables AI assistants to manage Heroku applications, databases, and add-ons via the Heroku CLI.

    Developer ToolsOpen source
    Heroku · macOS14 stars
  • An advanced Postgres MCP server with performance tuning, health checks, and safe SQL execution for AI-assisted development.

    Developer ToolsOpen source
    macOS · Windows1.2K stars
  • SQLite MCP Server

    modelcontextprotocol

    Official MCP server for SQLite database access, providing safe read-only queries and schema inspection for AI assistants.

    Developer ToolsOpen source
    macOS · Windows15K stars
  • Official AWS Aurora PostgreSQL MCP server with Kiro integration for data plane and control plane operations.

    Developer Tools
    macOS · WindowsUpdated 1 Dec 2025