MCP Servers for PostgreSQL

PostgreSQL is an advanced open source relational database management system that offers robustness, scalability, and performance.

View all MCP Servers

  • Why this server?

    Provides integration with PostgreSQL databases for storing prompts, with export/import functionality and synchronization between file storage and database

    A
    security
    A
    license
    A
    quality
    Enables creation, management, and templating of prompts through a simplified SOLID architecture, allowing users to organize prompts by category and fill in templates at runtime.
    6
    1,385
    1
    MIT License
    • Apple
    • Linux
  • Why this server?

    Provides tools for executing PostgreSQL queries against Supabase databases with risk assessment, parsing, and validation. Includes automatic migration versioning for database-altering operations.

    A
    security
    A
    license
    A
    quality
    This server enables interaction with Supabase PostgreSQL databases through the MCP protocol, allowing seamless integration with Cursor and Windsurf IDEs for secure and validated database management.
    11
    395
    Python
    Apache 2.0
    • Apple
    • Linux
  • Why this server?

    Provides read-only access to PostgreSQL databases, allowing LLMs to inspect database schemas and execute read-only queries against connected PostgreSQL databases

    A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that provides read-only access to PostgreSQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
    1
    10,278
    17,722
    JavaScript
    MIT License
  • Why this server?

    Allows importing data from CSV and Excel files into PostgreSQL databases

    A
    security
    A
    license
    A
    quality
    A Claude integration that enables updating various database types (PostgreSQL, MySQL, MongoDB, SQLite) from CSV and Excel files through natural language commands.
    2
    JavaScript
    Apache 2.0
    • Apple
  • Why this server?

    Allows connecting to and interacting with PostgreSQL databases, including listing tables, viewing triggers, listing functions, executing SQL queries, and exporting schema and data.

    A
    security
    A
    license
    A
    quality
    A powerful Model Context Protocol (MCP) tool for exploring and managing different types of databases including PostgreSQL, MySQL, and Firestore.
    9
    2
    TypeScript
    MIT License
  • Why this server?

    Provides PostgreSQL database management capabilities including analysis, setup instructions, and debugging for PostgreSQL database instances

    A
    security
    A
    license
    A
    quality
    Facilitates management and optimization of PostgreSQL databases, offering analysis, setup guidance, and debugging, while ensuring secure and efficient database operations.
    3
    4
    TypeScript
    AGPL 3.0
    • Linux
    • Apple
  • Why this server?

    Provides a unified database access interface to PostgreSQL databases, allowing SQL query execution, table structure retrieval, and database analysis capabilities.

    -
    security
    A
    license
    -
    quality
    DButils is an all-in-one MCP service that enables your AI to do data analysis by accessing versatile types of database (sqlite, mysql, postgres, and more) within a unified connection configuration in a safe way.
    12
    Python
    MIT License
  • Why this server?

    Supports using PostgreSQL as a database option when scaffolding Payload CMS projects.

    -
    security
    A
    license
    -
    quality
    Enables management of Payload CMS projects through natural language commands, allowing developers to create, configure, and deploy content models with conversational AI.
    5
    MIT License
    • Linux
    • Apple
  • Why this server?

    Allows querying PostgreSQL databases, browsing tables, viewing schema information, and running read-only SQL queries with safety checks.

    -
    security
    A
    license
    -
    quality
    Universal database MCP server connecting to MySQL, PostgreSQL, SQLite, DuckDB and etc.
    0
    10
    TypeScript
    MIT License
  • Why this server?

    PostgreSQL database integration with schema inspection and query capabilities

    punkpeye
    Verified
    -
    security
    A
    license
    -
    quality
    Test
    8,937
    MIT License
    • Linux
    • Apple
  • Why this server?

    Mentioned as a possible catalog type that can be used with Trino through the MCP server

    -
    security
    A
    license
    -
    quality
    An MCP server that enables listing and querying Trino tables using Python, providing access to data resources through the Model-Control-Protocol.
    5
    Python
    MIT License
  • Why this server?

    Used for storing users, API keys, and transaction records in the MCP blockchain server system

    -
    security
    A
    license
    -
    quality
    A secure system enabling AI assistants to interact with blockchain data and prepare transactions while ensuring users maintain exclusive control over their private keys and transaction signing.
    1
    TypeScript
    MIT License
  • Why this server?

    Provides tools for connecting to and interacting with PostgreSQL databases, supporting data querying, modification, and schema operations

    -
    security
    A
    license
    -
    quality
    MCP to access any database accessible via JDBC such as Postgres, Oracle, mysql, mariadb, sqlite etc.
    37
    Apache 2.0
  • Why this server?

    Provides read-only access to PostgreSQL databases with multi-schema support, allowing inspection of database schemas across multiple namespaces and execution of read-only SQL queries while maintaining schema isolation.

    -
    security
    A
    license
    -
    quality
    A Model Context Protocol server that provides read-only access to PostgreSQL databases with enhanced multi-schema support, allowing LLMs to inspect database schemas across multiple namespaces and execute read-only queries while maintaining schema isolation.
    8
    2
    JavaScript
    MIT License
  • Why this server?

    Connects directly to PostgreSQL databases for query execution, schema exploration, and data analysis

    -
    security
    A
    license
    -
    quality
    Connects Claude Desktop directly to databases, allowing it to explore database structures, write SQL queries, analyze datasets, and create reports through an API layer with tools for table exploration and query execution.
    61
    Python
    Mozilla Public License 2.0
  • Why this server?

    Provides access to PostgreSQL databases, enabling LLMs to inspect schemas, execute queries, and perform CRUD operations (Create, Read, Update, Delete) on database entries.

    -
    security
    A
    license
    -
    quality
    A Model Context Protocol server providing LLMs read-only access to PostgreSQL databases for inspecting schemas and executing queries.
    10,278
    6
    JavaScript
    MIT License
    • Apple
  • Why this server?

    The MCP server supports PostgreSQL with pgvector as a production-ready storage backend option for the knowledge base

    -
    security
    F
    license
    -
    quality
    An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
    11
    Python
  • Why this server?

    Enables read-only SQL queries against a PostgreSQL database, with tools for analyzing table statistics and relationships between tables

    -
    security
    F
    license
    -
    quality
    An MCP server that connects to Supabase PostgreSQL databases, exposing table schemas as resources and providing tools for data analysis through SQL queries.
    JavaScript
  • Why this server?

    Provides tools for exploring and querying a PostgreSQL database, including executing read-only SQL queries, listing tables, and obtaining schema information for specific tables.

    -
    security
    F
    license
    -
    quality
    A server implementing the Model Context Protocol (MCP) for Cursor that allows using a PostgreSQL database as storage for model contexts, enabling secure database exploration and querying.
    JavaScript
    • Linux
    • Apple
  • Why this server?

    Provides database functionality for storing and retrieving educational content and question data

    -
    security
    F
    license
    -
    quality
    Enables Claude Desktop to interact with the Gauntlet Incept system for generating, tagging, and grading educational content for K-8 students directly through natural language.
    JavaScript
  • Why this server?

    Provides read-only access to PostgreSQL databases, allowing LLMs to inspect database schemas and execute read-only queries

    -
    security
    F
    license
    -
    quality
    Provides read-only access to PostgreSQL databases, enabling users to inspect database schemas and execute read-only queries through a Model Context Protocol server.
    1
    JavaScript
  • Why this server?

    Allows direct interaction with PostgreSQL databases through natural language queries, enabling conversational data exploration and manipulation.

    -
    security
    F
    license
    -
    quality
    A server that enables interaction with PostgreSQL, MySQL, MariaDB, or SQLite databases through Claude Desktop using natural language queries.
    Python
  • Why this server?

    Provides natural language interface to PostgreSQL databases, enabling SQL query generation, schema-aware responses, and read-only data access through the Model Context Protocol.

    -
    security
    F
    license
    -
    quality
    An interactive chat interface that combines Ollama's LLM capabilities with PostgreSQL database access through the Model Context Protocol (MCP). Ask questions about your data in natural language and get AI-powered responses backed by real SQL queries.
    25
    TypeScript