Skip to main content
Glama
110,728 servers. Updated
20 Best PostgreSQL MCP Servers: compared and ranked, October 2026Ranked from 1,524 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"A tool for PostgreSQL database querying and schema inspection" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for querying and managing multiple databases (SQLite, PostgreSQL, MySQL) with read-only mode and schema inspection.
    2
    13
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A production-oriented MCP server for PostgreSQL that exposes database operations like query execution, schema introspection, and table metadata to MCP clients such as Claude Desktop and VS Code.
    6
    6 npm
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A read-only MCP server for PostgreSQL schemas and their git history, enabling AI agents to inspect schema details, migrations, ERDs, missing indexes, circular foreign keys, and churn without write access.
    8
    AGPL 3.0
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that provides targeted PostgreSQL schema access to AI agents, retrieving only relevant tables for a question and enforcing read-only access through multiple layers.
    4
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Provides an AI agent with read-only PostgreSQL access, enabling schema browsing, foreign-key exploration, column search across tables, capped SELECT queries, and offline data dictionary export while rejecting write operations.
    9
    5 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables generating JSON Schema from sample data, generating TypeScript types, validating data against schemas, creating mock data from schemas, and comparing schemas for differences.
    5
    18 npm
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Schema-aware MCP server for Accurate Online, providing tools to list resources, lookup endpoint schemas, make authenticated API calls, and refresh database host resolution.
    4
    3
    -
  • A
    license
    A
    quality
    B
    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
    A secure MCP server that lets AI assistants directly interact with PostgreSQL databases via tools like create_table, list_tables, and execute_sql, plus a web configurator for managing connections.
    4
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that provides persistent memory for database schemas by storing table structures and metadata in a local SQLite file. It enables LLMs to save, retrieve, and manage database snapshots to maintain a structured understanding of database architectures.
    5
    MIT
  • A
    license
    A
    quality
    C
    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
    62 npm
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to run deterministic database intelligence tasks including natural-language-to-SQL synthesis, AST SQL auditing and optimization, schema migration diffing, SQL transpilation, index and normalization advice, PII scrubbing, fixture generation, connection-pool sizing, isolation-hazard auditing, and ORM model compilation over Streamable HTTP or stdio.
    1
    12
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    A Model Context Protocol server that provides a scratchpad tool for LLMs to organize thoughts, take notes, and plan approaches to complex problems.
    1
    6 npm
    1
    MIT
  • 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
    4 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP router that fronts your other MCP servers behind a few small generic tools, so their tool definitions stay out of the context window and are discovered on demand.
    6
    523 npm
    167 PyPI
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for Microsoft SQL Server that lets LLMs explore schema and execute read-only SELECT queries, with optional stored procedure execution when explicitly enabled.
    3
    68 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Full-featured MCP server that exposes 36 tools for interacting with PostgreSQL databases, covering schema introspection, query execution, data exploration, performance monitoring, security auditing, and maintenance.
    36
    2 npm
    MIT