PostgreSQL MCP Servers
PostgreSQL is an advanced open source relational database management system that offers robustness, scalability, and performance.
1942 open-source servers · 0 connectors · postgresql.org ↗
Open-source servers
Code you run yourself, locally or on your own infrastructure.
Built for PostgreSQL (561)
Why this server?
Provides tools for interacting with Azure Database for PostgreSQL, including listing databases, listing tables with schema, executing read queries, inserting/updating records, and creating/dropping tables.
AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) Server that allows AI models to securely interact with data hosted in Azure Database for PostgreSQL. It enables natural language querying, schema exploration, and data management through MCP clients like Claude Desktop and Visual Studio Code.MITWhy this server?
Provides OAuth authentication token storage using PostgreSQL.
AlicenseNot gradedqualityDmaintenanceA production-ready template for building Model Context Protocol servers in Python, featuring example tools, structured logging, and multiple transport protocols.Apache 2.0Why this server?
Provides tools to create and retrieve student records from a PostgreSQL database, enabling AI assistants to manage student data through database operations.
AlicenseNot gradedqualityDmaintenanceAI-powered Teacher Assistance MCP Server for managing student records with PostgreSQL, enabling create and read operations via MCP tools.MITWhy this server?
Provides tools for exploring a PostgreSQL database schema and running read-only queries, including listing tables, describing table columns and constraints, executing SELECT queries, and retrieving foreign key relationships.
AlicenseNot gradedqualityDmaintenanceEnables AI clients to explore a PostgreSQL database schema and run read-only queries, including listing tables, describing columns, executing SELECT queries, and retrieving foreign key relationships.ISCWhy this server?
Provides tools to interact with a PostgreSQL database, allowing users to list tables, execute read-only queries, and perform write operations with role-based access control.
AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with PostgreSQL databases through MCP tools, with GitHub OAuth authentication and role-based access control.MITWhy this server?
Provides read-only access to a PostgreSQL database, enabling tools for running SELECT queries, listing tables with row counts and sizes, describing table schemas, and listing user-defined schemas.
AlicenseNot gradedqualityDmaintenanceRead-only PostgreSQL MCP server that enables running SELECT queries, listing tables and schemas, and describing columns, with built-in protection against writes and malicious SQL attacks.MITWhy this server?
Allows interaction with PostgreSQL databases, providing tools for executing SQL queries, listing tables, and describing table schemas.
AlicenseNot gradedqualityDmaintenanceMCP server for PostgreSQL that enables Cursor and other MCP clients to execute SQL queries, list tables, and explore database schemas via HTTP.MITWhy this server?
Enables chat-based interaction with a PostgreSQL database, allowing schema discovery, read-only queries, and write operations with role-based access control.
AlicenseNot gradedqualityNot gradedmaintenanceEnables chatting with PostgreSQL databases via MCP tools, with GitHub OAuth authentication and role-based write access, deployable on Cloudflare Workers.MITWhy this server?
Provides secure database operations for PostgreSQL, including listing databases, tables, describing table structures, and executing SQL queries with built-in safety checks and AST-based SQL parsing.
AlicenseNot gradedqualityDmaintenanceA PostgreSQL MCP server with AST-based security for safe database operations. Enables AI assistants to query and manage PostgreSQL databases securely.MITWhy this server?
Provides tools for interacting with PostgreSQL databases, enabling SQL query execution, table listing, and connection testing.
AlicenseNot gradedqualityDmaintenanceMCP server providing PostgreSQL and Vertica database access with tools for querying, listing tables, and testing connections.MITWhy this server?
Provides secure, role-based access to PostgreSQL databases, enabling AI agents to query, insert, update, delete data with fine-grained permissions.
AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides secure, role-based access to PostgreSQL databases for AI agents.MITWhy this server?
Provides tools for connecting to and managing PostgreSQL databases, including executing queries, listing tables, describing schema, creating tables and indexes, inserting, updating, deleting data, and creating backups.
AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with PostgreSQL databases through the Model Context Protocol, supporting SQL queries, schema management, and data operations.MITWhy this server?
Provides tools for querying and executing SQL on a PostgreSQL database, including schema discovery, read-only queries, and write operations with role-based access control.
AlicenseNot gradedqualityDmaintenanceEnables you to chat with your PostgreSQL database via natural language, with GitHub OAuth authentication and role-based access control for secure read/write operations.MITWhy this server?
Provides read-only access to PostgreSQL databases, allowing inspection of schemas and execution of read-only SQL queries.
AlicenseNot gradedqualityDmaintenanceRead-only access to PostgreSQL databases, enabling schema inspection and safe SQL queries.MITWhy this server?
Enables read-only SQL query execution and database schema information retrieval on PostgreSQL databases, including tools for executing queries, listing tables, and fetching table schemas.
AlicenseNot gradedqualityCmaintenanceEnables read-only SQL query execution and database schema information retrieval for PostgreSQL databases.7 npmMITWhy this server?
Provides read-only introspection and query capabilities for PostgreSQL databases, including 13 tools for schema/table inspection, SQL querying with EXPLAIN, and storage statistics, as well as resources and prompts for database analysis.
AlicenseNot gradedqualityDmaintenanceA read-only MCP server for PostgreSQL that enables safe database introspection and querying via natural language.MITWhy this server?
Provides read-only exploration and analysis of PostgreSQL databases, including schema discovery, query execution, and performance analysis through EXPLAIN and EXPLAIN ANALYZE.
AlicenseNot gradedqualityDmaintenanceSecurely connect AI assistants to PostgreSQL databases with read-only access, schema discovery, querying, and performance analysis tools.5 npmMITWhy this server?
Provides tools for executing SQL queries (read-only by default), listing tables, and describing table structures in a PostgreSQL database.
AlicenseNot gradedqualityDmaintenanceEnables AI agents to query and explore PostgreSQL databases with tools for executing SQL queries, listing tables, and describing table structures.MITWhy this server?
Provides read-only access to PostgreSQL databases, allowing querying tables, listing tables, and describing table schemas via SQL.
AlicenseNot gradedqualityDmaintenanceEnables read-only PostgreSQL database access with query, table listing, and schema inspection tools.ISCWhy this server?
Provides database operations (SQL queries, schema management, statistics) and resources for interacting with a PostgreSQL database.
AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server that enables database operations, schema management, and statistics via natural language through SQL queries and resources.MITWhy this server?
Allows AI agents to execute SQL queries, list tables, and describe table structures in a PostgreSQL database.
AlicenseNot gradedqualityDmaintenanceEnables AI models to execute SQL queries, list tables, and describe table structures on a local PostgreSQL database.ISCWhy this server?
Provides tools for managing customers, tickets, products, and analytics in a PostgreSQL database via natural language queries through the Model Context Protocol.
AlicenseNot gradedqualityBmaintenanceEnables natural language queries, CRUD operations, and analytics on a PostgreSQL database (Neon) via Claude, supporting customers, tickets, products, and analytics.MITWhy this server?
Provides tools for querying and executing SQL commands on a PostgreSQL database, including schema discovery (listTables), read-only queries (queryDatabase), and write operations (executeDatabase) with role-based access control.
AlicenseNot gradedqualityDmaintenanceEnables users to interact with PostgreSQL databases through natural language, with GitHub OAuth authentication and role-based access control.MITWhy this server?
Uses PostgreSQL with pgvector extension as a vector database for storing and retrieving document embeddings, enabling RAG functionality such as vector search and document indexing.
AlicenseNot gradedqualityCmaintenanceMCP RAG Server is a Python MCP server that indexes documents in multiple formats (Markdown, text, PowerPoint, PDF) using multilingual-e5-large embeddings and enables vector search for retrieval-augmented generation.MITWhy this server?
Provides tools to query and introspect PostgreSQL databases with support for SSH tunnels, including running SQL queries, explaining query plans, listing schemas and tables, describing table columns, and checking connection status.
AlicenseNot gradedqualityCmaintenanceA cross-platform MCP server for querying and introspecting PostgreSQL databases with SSH tunnel support, featuring multi-layered query safety and read-only enforcement.13 npmMITWhy this server?
Allows executing read-only SQL queries against a PostgreSQL database, returning rows as JSON.
AlicenseNot gradedqualityDmaintenanceProvides secure, read-only database queries, HTTP GET requests with anti-SSRF protection, and file reading within a restricted directory.MITWhy this server?
Provides read-only SQL access to PostgreSQL databases, enabling schema discovery, table metadata retrieval, and safe SELECT queries within read-only transactions.
AlicenseNot gradedqualityDmaintenanceRead-only MCP server for PostgreSQL, enabling schema discovery, table metadata, and safe SELECT queries via READ ONLY transactions.MITWhy this server?
Provides read-only SQL analytics and ALS-based collaborative filtering recommendations on a PostgreSQL e-commerce database.
AlicenseNot gradedqualityDmaintenanceEnables read-only SQL analytics and ALS collaborative filtering recommendations on a Postgres e-commerce database.MITWhy this server?
Read-only PostgreSQL adapter with SQL guardrails, allowing schema inspection and safe SELECT queries with limit enforcement and statement timeout.
AlicenseNot gradedqualityDmaintenanceEnables AI tools to understand a database, inspect schema, and run safe SELECT queries with SQL guardrails, plus optional codebase reading.MITWhy this server?
Provides tools to explore and query a PostgreSQL database, including listing tables, getting schemas, executing SELECT queries, filtering records, and obtaining database statistics.
AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables connecting to PostgreSQL databases and executing queries, listing tables, retrieving schema, and obtaining database statistics through MCP tools.MIT