PostgreSQL MCP Servers & Connectors
PostgreSQL is an advanced open source relational database management system that offers robustness, scalability, and performance.
1942 open-source servers · 4 connectors · postgresql.org ↗
Open-source servers
Code you run yourself, locally or on your own infrastructure.
Built for PostgreSQL (561)
Why this server?
Provides database connectivity and operations for managing financial transaction data and other structured data stored in PostgreSQL databases
FlicenseNot gradedqualityDmaintenanceEnables integration with financial transaction data through REST APIs, PostgreSQL databases, and document storage systems. Demonstrates agentic AI capabilities by connecting to Alpha Vantage API and managing financial data through natural language interactions.-Why this server?
Provides tools for managing employee data in a PostgreSQL database, including listing employees with optional limits and adding new employees with details like name, position, department, and salary
FlicenseNot gradedqualityDmaintenanceEnables interaction with a PostgreSQL database through MCP tools for employee management. Supports listing and adding employees via natural language chat interface with LLM integration.-Why this server?
Enables natural language interaction with PostgreSQL databases through read-only queries, schema exploration, table inspection, and data sampling with support for multiple output formats.
FlicenseNot gradedqualityDmaintenanceA template/boilerplate MCP server for building custom tools and integrations that enable seamless connections between AI applications and external data sources.-Why this server?
Provides appointment scheduling functionality with PostgreSQL database storage, enabling creation and management of appointments with validation for names, identification numbers, phone numbers, and dates.
FlicenseNot gradedqualityNot gradedmaintenanceEnables scheduling and managing appointments through a PostgreSQL database, allowing users to create appointments with name, identification, phone number, and date information via natural language interactions.-Why this server?
Provides access to a mock e-commerce store database, exposing tools for querying customers, products, inventory levels, orders, and store summary metrics through PostgreSQL-backed data models.
FlicenseNot gradedqualityDmaintenanceEnables AI agents to explore and query a mock e-commerce store's data including customers, products, inventory, and orders through conversational interactions backed by PostgreSQL.-Why this server?
Provides secure read-only access to a PostgreSQL-based Hospital Management System through defined views, enabling queries for doctors, departments, appointments, room status, and billing summaries while protecting sensitive patient health information.
FlicenseNot gradedqualityDmaintenanceProvides secure, read-only access to a PostgreSQL Hospital Management System through Claude Desktop. Enables querying doctor information, appointments, room status, and billing summaries using safe, parameterized queries.-Why this server?
Provides tools for querying and managing PostgreSQL databases, including executing SQL queries, inspecting schemas and tables, and accessing multi-schema data across customer, document, loan, and leasing management systems.
FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to interact with PostgreSQL databases through query execution and schema inspection, supporting multiple schemas for customer data, document management, loan systems, and asset leasing.-Why this server?
Provides read-only access to PostgreSQL databases with tools for executing SELECT queries, inspecting database schemas, viewing table structures and indexes, and tracking query history with multiple output formats (JSON, CSV, Markdown).
FlicenseNot gradedqualityDmaintenanceProvides read-only access to PostgreSQL databases with schema inspection, query execution in multiple formats (JSON, CSV, Markdown), and query history tracking with built-in security features.-Why this server?
Provides direct SQL database access to LiteFarm's PostgreSQL database for complex multi-step operations, schema inspection, and atomic transactions with automatic rollback on errors.
FlicenseNot gradedqualityDmaintenanceConnects Claude Desktop to a local LiteFarm installation, enabling farm management, task operations, crop browsing, and direct SQL database operations through natural language commands.-Why this server?
Provides CRUD operations and advanced search capabilities for managing video metadata records with game information, teams, scores, and sports-related data stored in PostgreSQL with JSONB support.
FlicenseNot gradedqualityNot gradedmaintenanceEnables management of sports video metadata with PostgreSQL backend, supporting CRUD operations, advanced search, and tracking of game information including teams, scores, player statistics, and match details.-Why this server?
Stores and manages LinkedIn lead data, API keys, usage tracking, and automated follow-up sequences using PostgreSQL (with Neon support)
FlicenseNot gradedqualityNot gradedmaintenanceEnables automated LinkedIn lead generation and outreach through profile search, AI-powered lead scoring, personalized message generation, and automated follow-up sequences. Includes API key management with tier-based usage limits and PostgreSQL-backed tracking.-Why this server?
Provides tools for connecting to and interacting with CockroachDB databases (which use the PostgreSQL protocol), including executing SQL queries, retrieving table schemas, listing tables, and monitoring database connection status.
FlicenseNot gradedqualityDmaintenanceEnables direct interaction with CockroachDB databases in Cursor, allowing users to connect, query tables, execute SQL statements, and manage database connections with automatic reconnection and keep-alive mechanisms.-Why this server?
Provides secure, read-only access to a Pagila PostgreSQL database, allowing for the querying of relational data across tables such as actors, films, customers, and rentals.
FlicenseNot gradedqualityDmaintenanceA read-only Model Context Protocol server developed with FastMCP for querying the Pagila PostgreSQL database. It enables secure access to movie rental data including films, actors, and customer information through natural language queries.-Why this server?
Enables AI agents to query a PostgreSQL database through a secure layer of predefined tools, allowing for the retrieval of employee information, project statuses, and issue priorities without exposing database credentials or allowing direct SQL execution.
FlicenseNot gradedqualityDmaintenanceA secure Model Context Protocol implementation that enables AI agents to query PostgreSQL databases through predefined tools for employee, project, and issue data. It protects sensitive credentials and prevents arbitrary SQL execution by acting as a controlled connector layer between the LLM and the database.-Why this server?
Provides tools to connect to and interact with a PostgreSQL database, enabling AI models to perform database operations and execute queries.
FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server deployed on Cloudflare Workers that enables interaction with PostgreSQL databases. It allows AI clients like Claude and Cursor to execute database operations via a remote SSE connection.-Why this server?
Provides tools for interacting with a PostgreSQL database, enabling AI assistants to execute SQL queries and inspect database schemas.
FlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to interact with PostgreSQL databases by executing SQL queries and inspecting database schemas. It provides tools for standardized database exploration and management through the Model Context Protocol.-Why this server?
Enables natural language data exploration and visualization for PostgreSQL databases, allowing users to query tables, generate SQL, and analyze data through an AI-driven interface.
FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables natural language data exploration and visualization for PostgreSQL databases. It allows users to convert questions into SQL queries and interact with data through a Streamlit web interface featuring automated chart generation.-Why this server?
Provides tools for full access to a PostgreSQL database, enabling users to execute SQL queries, list tables and schemas, inspect table schemas, and monitor database statistics such as cache hit ratios and connection counts.
FlicenseNot gradedqualityDmaintenanceEnables Claude to interact with PostgreSQL databases by executing SQL queries, exploring schemas, and monitoring database health. It provides tools for data manipulation and schema management via a secure SSE connection.-Why this server?
Connects to a PostgreSQL database to explore schemas, query data using natural language, analyze table statistics, and optionally perform write operations.
FlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to interact with PostgreSQL databases through natural language for schema exploration, data analysis, and query execution. Users can search schemas, describe tables, and perform read or write operations without needing to write manual SQL.-Why this server?
Provides tools for executing SQL queries (with parameterized support), inspecting database schemas (listing tables, columns, indexes, foreign keys), and retrieving table statistics. Supports read-only operations by default with optional explicit enablement for write operations (INSERT, UPDATE, DELETE, DDL) via the `execute_statement` tool.
FlicenseNot gradedqualityDmaintenanceEnables AI agents to execute SQL queries and introspect PostgreSQL schemas, tables, and indexes with read-only safety by default. Supports optional write operations and works with Claude, LangChain, and other agents via stdio or HTTP transports.-Why this server?
Allows interaction with a PostgreSQL database, enabling SQL queries and data retrieval through an MCP interface.
FlicenseNot gradedqualityNot gradedmaintenanceEnables natural language database querying through GPT-powered SQL generation and execution with metadata-driven validation and intermediate representation.-Why this server?
Manages recipe technical sheets for bakeries, providing tools for creating, updating, approving, comparing versions, and storing data in a PostgreSQL database.
FlicenseNot gradedqualityDmaintenanceMCP server for managing bakery recipe technical sheets with Postgres. Enables AI agents to search, create, update, approve, and compare recipe versions through secure tools.-Why this server?
Provides tools for executing SQL queries and inspecting PostgreSQL database schemas.
FlicenseNot gradedqualityCmaintenanceExposes PostgreSQL database operations as tools for AI assistants, allowing SQL queries and schema inspection.-Why this server?
Provides tools for listing tables, getting table schemas, executing read-only SQL queries, and analyzing data in a PostgreSQL database.
FlicenseNot gradedqualityDmaintenanceEnables interaction with PostgreSQL databases through resources, tools, and prompts for data analysis, including listing tables, executing read-only queries, and generating analysis workflows.-Why this server?
Manages appointment scheduling by storing and retrieving data from a PostgreSQL database.
FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that connects to a PostgreSQL database to manage appointment scheduling.-Why this server?
Provides read-only tools to query attacker activity data (sessions, IPs, credentials, commands, malware downloads) from a PostgreSQL database populated by a self-hosted honeypot stack.
FlicenseNot gradedqualityDmaintenanceEnables querying a honeypot threat-intelligence database via natural language to analyze attacker activity, without writing SQL. Provides read-only tools for overview, top attackers, credentials, commands, and more.-Why this server?
Provides read-only access to PostgreSQL databases, allowing AI agents to list databases, schemas, tables, describe table structure, and execute SELECT queries.
FlicenseNot gradedqualityCmaintenanceA read-only MCP server for PostgreSQL. Connect any MCP-compatible AI agent to your PostgreSQL server and explore databases, schemas, tables, and run SELECT queries through natural language. Built with .NET 10.-Why this server?
Allows querying and managing manufacturing equipment health data stored in a PostgreSQL database, including sensor readings, maintenance history, anomaly flags, and production metrics.
FlicenseNot gradedqualityDmaintenanceAn AI agent system that monitors manufacturing equipment health using the Model Context Protocol (MCP). Enables answering natural language questions about equipment status, maintenance, and anomalies through MCP tools.-Why this server?
Manages items and suppliers in a PostgreSQL database, providing CRUD operations, stock transfers, and supplier management through natural language commands.
FlicenseNot gradedqualityDmaintenanceAn AI-powered inventory management system with a natural language interface, enabling CRUD operations on items and suppliers, stock transfers, and supplier management via MCP tools.-Why this server?
Provides tools for managing inventory in a PostgreSQL database, including adding/restocking items, selling stock with low stock warnings, viewing inventory grouped by category, checking low stock items, viewing activity history, and deleting items.
FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that lets Claude AI manage a real PostgreSQL inventory database using natural language.-