Skip to main content
Glama
126,837 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, November 2026Ranked from 1,766 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"Databases or database systems written in Python, like Postgres" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    A
    quality
    B
    maintenance
    Enables agents to work with SQL Server, MySQL/MariaDB and PostgreSQL through named connections, listing databases, tables, columns, indexes and foreign keys, testing connections, and running row-limited read-only queries with optional write/DDL support. Connections can be declared in config files or saved at runtime by the agent.
    9
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that allows users to run and visualize systems models using the lethain:systems library, including capabilities to run model specifications and load systems documentation into the context window.
    2
    14
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to query OpenRouter model information including prices, ELO rankings, context, and perform comparisons.
    48 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to run SQL queries against PostgreSQL databases through the psql CLI, with support for multiple configured databases and enforced read-only guarantees.
    4
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables SQL database interaction with true server-side result paging, runtime-managed connection profiles, and SSH-bridged access for PostgreSQL.
    18
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for querying and managing multiple databases (SQLite, PostgreSQL, MySQL) with read-only mode and schema inspection.
    13
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A Postgres MCP server with index tuning, explain plans, health checks, and safe SQL execution for AI agents.
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Postgres Pro is an open source Model Context Protocol (MCP) server built to support you and your AI agents throughout the entire development process—from initial coding, through testing and deployment, and to production tuning and maintenance.
    9
    3,490
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables querying and interacting with PostgreSQL databases using natural language through MCP. Supports configuration via environment variables and Cursor IDE integration.
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables read-only, SELECT-only querying of any Postgres database through MCP-compatible clients like Claude, with schema introspection and guarded SQL execution.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a natural language interface for querying and managing PostgreSQL, MySQL, MariaDB, MSSQL, and SQLite databases using the Model Context Protocol. Users can explore database schemas and visualize query results through an integrated web dashboard.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables read-only SQL query execution and database schema information retrieval for PostgreSQL databases.
    7 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to query and explore PostgreSQL databases with tools for executing SQL queries, listing tables, and describing table structures.
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    MCP server for connecting to databases (PostgreSQL, MySQL, SQL Server, Redis) enabling SQL queries, table exploration, and Redis key-value operations.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Runs a local, file-based toolkit of 100 systems engineering skills that lets an AI assistant clean and map requirements, review specifications against ECSS, derive sub-requirements, check interfaces and budgets, and build verification and compliance matrices. It works on documents in a user-chosen local folder without sending customer data to a remote service or requiring an account or API key.
    33 PyPI
    15
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides universal database operations for AI assistants through MCP, supporting 40+ databases including PostgreSQL, MySQL, MongoDB, Redis, and SQLite with built-in introspection tools for schema exploration.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    what is go-mcp-postgres? go-mcp-postgres is a Model Context Protocol (MCP) server designed for interacting with Postgres databases, allowing for easy CRUD operations and automation without the need for a Node.js or Python environment.
    7
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables SQL queries, schema exploration, and Oracle sequence management across multiple databases including Oracle, OceanBase, and DolphinDB. Supports multiple environments with secure password handling.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables running SQL queries, DML, DDL, transactions, and schema introspection against a PostgreSQL database through the Model Context Protocol.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables querying and inspecting a PostgreSQL database, including executing SQL queries, listing schemas and tables, and describing table columns.
    -
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables 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.
    -
  • A
    license
    A
    quality
    C
    maintenance
    Read-only MySQL/MariaDB MCP server for running SELECT queries safely, with automatic read-only enforcement and query limits.
    3
    14 npm
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables LLM agents to perform CRUD operations across multiple databases including PostgreSQL, MySQL, and SQL Server using SQLAlchemy. It features configurable permission management and secure connection handling with automatic password redaction.
    4
    -
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for PostgreSQL that enables safe read-only database queries, table schema inspection, and query execution planning.
    6
    BSD 3-Clause
  • A
    license
    A
    quality
    C
    maintenance
    Local MCP server for safe querying and inspecting PostgreSQL databases, with write and maintenance operations disabled by default.
    8
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Query and manage PostgreSQL databases from Claude Code, Cursor, and any MCP client, with read-only by default and built-in schema introspection, EXPLAIN, and performance diagnostics.
    23
    2,170 npm
    12
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to investigate a legacy ERP's PostgreSQL database through read-only queries, apply writes and multi-statement atomic transactions behind static and in-transaction guardrails, and snapshot tables before destructive changes. Row limits, sequence-integrity checks, and optional JSON audit logging keep every call bounded, reversible, and traceable.
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables read-only exploration of PostgreSQL databases, allowing schema inspection and safe SELECT queries without data mutation.
    8
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    MCP server providing automated code linting, rule explanations, and configuration templates for wemake-python-styleguide, with structured violation reports and offline rule database.
    5
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables local coding agents to safely inspect and query PostgreSQL databases — listing schemas, tables, and columns and running capped SELECT statements across multiple configured environments — while the server itself holds the database credential so the LLM never sees it.
    5
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A self-hostable PostgreSQL MCP server for exploring database schemas and running guarded read/write queries with selectable access modes (readonly, readwrite, admin), plus a dry-run confirm workflow for safety.
    14
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to format SQL, explain queries in plain English, analyze schemas, build queries from natural language, and generate migrations, all without requiring a database connection.
    5
    50 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude or any MCP host to explore and query a SQLite database through read-only tools for listing tables, describing schemas, and running SQL queries.
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides PostgreSQL database management and analysis via MCP, enabling schema exploration, query execution, performance monitoring, and database health checks.
    36
    40 npm
    MIT
  • A
    license
    A
    quality
    Not graded
    maintenance
    Enables Claude to interact with a local PostgreSQL database through SQL queries, schema inspection, and CRUD operations.
    8
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to explore PostgreSQL schemas, run read-only SQL, inspect query plans and live database diagnostics, and optionally perform governed inserts, updates, and admin operations. Ships with layered access modes, schema allowlists, row caps, secret redaction, and human-approved destructive actions so changes stay safe by default.
    12
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to analyze, optimize, and safely interact with PostgreSQL databases, including health checks, index recommendations, query planning, and SQL execution with read-only and production protection modes.
    15
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A SQL Server CLI and MCP server for Claude Code that supports standard SQL Server authentication for database interaction and management. It enables users to perform schema exploration, execute queries, and manage data records with built-in SQL injection prevention.
    12
    5
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Enables AI agents to interact with PostgreSQL or MySQL databases using natural language. Supports SQL queries, schema discovery, and pre-built aggregations without writing SQL.
    3
    -
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants such as Claude, ChatGPT and Cursor to safely explore database schemas and answer business questions by running read-only SQL queries in plain English.
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A comprehensive PostgreSQL MCP server providing 27 tools for database management and administration, including connection management, query execution, schema introspection, CRUD operations, and server monitoring.
    27
    38 npm
    AGPL 3.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables MCP clients to inspect and query a shared PostgreSQL database safely, running one read-only statement per call with bounded rows and timeouts. Write tools appear only when explicitly enabled, and the database connection is supplied through the environment rather than command-line arguments.
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    This MCP server provides direct access to ruff linting, formatting checks, and ty type-checking for Python projects, with token-efficient, structured output.
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A database MCP server providing 33 tools across PostgreSQL, MySQL, and SQLite, with connection groups, rollback, dump/restore, and schema auto-discovery via natural language.
    34
    95 npm
    5
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to explore a PostgreSQL database, run bounded read-only SQL, inspect query plans, test hypothetical indexes, find slow queries, and check database health with compact CSV output.
    10
    1
    MIT
  • F
    license
    A
    quality
    Not graded
    maintenance
    Enables comprehensive PostgreSQL database management through natural language including queries, schema operations, user management, and administrative tasks. Features enterprise-grade connection pooling, transaction support, and full database administration capabilities.
    11
    144 npm
    1
    -
  • A
    license
    B
    quality
    D
    maintenance
    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.
    10
    ISC
  • A
    license
    B
    quality
    D
    maintenance
    Connects AI assistants to SQL Server, PostgreSQL, and MySQL databases so they can list schemas and tables, describe table structures, run health checks, and execute single read-only SELECT queries. Safety defaults enforce read-only access, block stored procedures and multi-statement queries, and cap returned rows.
    6
    13 npm
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    A Model Context Protocol (MCP) server that provides secure database access to PostgreSQL through Kysely ORM, enabling Claude Desktop to interact with PostgreSQL databases using natural language.
    10
    1
    ISC
  • A
    license
    B
    quality
    Not graded
    maintenance
    A JSON-based database MCP server with JWT authentication that enables user management, project tracking, department analysis, meeting management, and equipment tracking. Integrates with Claude Desktop to provide secure CRUD operations and analytics through natural language commands.
    21
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Enables academic research through paper search across multiple databases (IACR, CryptoBib, Crossref, Google Scholar), PDF processing, and GitHub repository browsing. Features modular architecture with FastMCP-based proxy server routing to specialized academic tools.
    7
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to safely explore, analyze, and maintain PostgreSQL databases with read-only mode by default, SQL injection prevention, query performance analysis, and optional write operations.
    67 npm
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for PostgreSQL that enables Cursor and other MCP clients to execute SQL queries, list tables, and explore database schemas via HTTP.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI tools to query a PostgreSQL database, read its schema, list and describe tables, and explain queries while enforcing read-only transactions, row and byte limits, and timeouts.
    1
    MIT