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
    A
    quality
    B
    maintenance
    Enables users to evaluate a planned purchase through fixed multiple-choice questions and receive deterministic BUY, WAIT, or SKIP and NEED, MIXED, or WANT verdicts, with challenge, outcome logging, and 30/90-day reviews while keeping data local and making no network calls.
    5
    346 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
    B
    maintenance
    A drop-in Model Context Protocol (MCP) server that lets an AI agent query PostgreSQL — read-only, enforced at the database level, with real SQL validation, timeouts, cost limits, OAuth 2.1, and an audit trail.
    10
    3
    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
    14 npm
    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 read-only exploration of PostgreSQL databases, allowing schema inspection and safe SELECT queries without data mutation.
    8
    Apache 2.0
  • 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
  • F
    license
    A
    quality
    C
    maintenance
    Read-only Text-to-SQL MCP server for PostgreSQL and MySQL that lets users query databases using natural language, with robust multi-layer safety guarantees against writes.
    6
    -
  • F
    license
    A
    quality
    D
    maintenance
    Execute Python code via subprocess with timeout and error handling, returning stdout, stderr, and exit code.
    1
    1
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables read-only PostgreSQL interaction with enforced SQL security policies, including query validation, row limits, and timeouts.
    4
    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
    B
    maintenance
    Python MCP server for SolidWorks automation with 109 tools covering the full CAD lifecycle. Enables AI-assisted design workflows through COM automation on Windows.
    157
    665 PyPI
    113
    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
    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
    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 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
    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
  • 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
  • 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
    Governed PostgreSQL DBA operations — slow-query, bloat, and blocking-lock RCA, index management, vacuum/analyze, and replication lag, with unbypassable audit logging (MCP + CLI), budget/runaway guards, dry-run, and undo/rollback.
    35
    MIT
  • 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
    Provides read-only, MCP-based access to due follow-ups stored in a Postgres view, letting an assistant list overdue follow-ups with days overdue and count them per channel without any write path to the database.
    2
    6 npm
    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
  • F
    license
    A
    quality
    D
    maintenance
    A small MCP server that lets an LLM query PostgreSQL, MySQL, MariaDB, SQL Server, or SQLite databases safely — read-only, role-restricted, and with sensitive data blacked out.
    4
    -
  • 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
    D
    maintenance
    Enables AI assistants to connect to and interact with PostgreSQL, MySQL, SQLite, and MongoDB databases through natural language, supporting schema exploration, query execution, data export, and more.
    13
    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
    B
    quality
    C
    maintenance
    Enables Claude to work with local MySQL databases through natural language, including creating databases and tables, performing CRUD operations, switching between configured connections, and executing safe read-only or write SQL.
    19
    MIT
  • 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
    C
    quality
    C
    maintenance
    A Model Context Protocol server that provides secure database access to PostgreSQL through Kysely ORM, enabling natural language interaction with PostgreSQL databases. It offers 40+ MCP tools for querying, schema inspection, diagnostics, and Java backend monitoring.
    40
    4 npm
    1
    ISC
  • 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
    A
    quality
    D
    maintenance
    Sandboxed Python execution with automatic dependency management. Executes Python scripts in isolated environments (bubblewrap or Docker) with PEP 723 inline dependencies, preventing host pollution.
    3
    33 PyPI
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables Codex to rank available tools and skills, rerank code and documentation search results, and triage saved output artifacts using Jev-based relevance scoring while leaving final decisions to Codex.
    1
    7
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables AI agents to securely interact with PostgreSQL databases with least-privilege scopes, PII masking, and human approval for writes.
    4
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Exposes 120+ Chinese frontier AI models (DeepSeek, Qwen, GLM, Kimi, Seedance, MiniMax, Hunyuan, CogVideoX) as MCP tools via one OpenAI-compatible endpoint: chat, image generation, free-model list, and a live first-party price leaderboard. Zero platform fee.
    7
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents and MCP clients to drive real Chrome, Edge, Brave, and Firefox browsers through native automation protocols. It exposes tools for navigation, page snapshots, form filling, clicks, screenshots, console/network inspection, and tab management.
    23
    MIT
  • A
    license
    A
    quality
    B
    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
  • 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