MCP Servers

PostgreSQL MCP Server

Last updated December 15, 2024

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

Related tools

  • Neon MCP Server

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

  • Heroku MCP Server

    An official MCP server that enables AI assistants to manage Heroku applications, databases, and add-ons via the Heroku CLI.

  • Postgres MCP Pro

    An advanced Postgres MCP server with performance tuning, health checks, and safe SQL execution for AI-assisted development.

  • SQLite MCP Server

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

  • AWS Aurora PostgreSQL MCP

    Official AWS Aurora PostgreSQL MCP server with Kiro integration for data plane and control plane operations.