Skip to content
Agentmart
Submit a tool

Best MCP servers for Postgres

We found 173 MCP servers for Postgres in the catalog; these are the 15 that rank highest. The order comes from our rank, which weighs adoption, freshness, documentation and publisher identity. Nobody can pay for a place on this list. Neon, Pg Aiguide and DBHub lead it. Neon, Aiven MCP and WoWSQL are published by the company that makes them. DBHub has the most GitHub stars here (3,716). 14 of the 15 had activity in the last 30 days. Remote servers need no local install; local ones run on your machine and can reach local files. Each entry lists why it made the list and links to its install page.

Updated Oct 26, 2026 · Built from catalog data; how we rank and grade

Top 15 of 173

  1. 1
    Neon

    neon.comOfficial

    Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

    • Published by the vendor
    • Remote server, no local install
    • Active in the last 30 days

    ★ 655Last active Oct 21, 2026Remote (HTTP)Claude Code, VS Code, Cursor, Windsurf

  2. 2
    Pg Aiguide

    timescale

    Comprehensive PostgreSQL documentation and best practices, including ecosystem tools

    • 1.9K GitHub stars
    • Runs locally or as a remote server
    • Active in the last 30 days

    ★ 1.9KLast active Oct 22, 2026Local (stdio), Remote (HTTP)Claude Code, VS Code, Codex, Cursor +2

  3. 3
    DBHub

    bytebase

    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

    • Most GitHub stars here (3,716)
    • Active in the last 30 days
    • Open source (MIT)

    ★ 3.7K↓ 17.1K/wkLast active Oct 21, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2

  4. 4

    Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI

    • Active in the last 30 days
    • Open source (PostgreSQL)

    ★ 240Last active Sep 28, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2

  5. 5
    Faucet

    faucetdb

    SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.

    • Runs locally or as a remote server
    • Active in the last 30 days
    • Open source (MIT)

    ★ 164↓ 53/wkLast active Oct 18, 2026Local (stdio), Remote (HTTP)Claude Code, Codex, VS Code, Cursor +2

  6. 6
    appwrite/mcp

    appwrite

    Build and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDN

    • Most weekly downloads here (72.2K)
    • Runs locally or as a remote server
    • Active in the last 30 days

    ★ 73↓ 72.2K/wkLast active Oct 25, 2026Local (stdio), Remote (HTTP)Claude Code, VS Code, Codex, Cursor +2

  7. 7
    Aiven MCP

    aiven.ioOfficial

    Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant.

    • Published by the vendor
    • Runs locally or as a remote server
    • Active in the last 30 days

    ★ 28Last active Oct 20, 2026Local (stdio), Remote (HTTP)Claude Code, VS Code, Codex, Cursor +2

  8. 8
    Dbmcp

    haymon.ai

    Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention

    • Runs locally or as a remote server
    • Active in the last 30 days
    • Open source (MIT)

    ★ 32Last active Oct 22, 2026Local (stdio), Remote (HTTP)Claude Code, Codex, VS Code, Cursor +2

  9. 9

    Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse

    • Active in the last 30 days
    • Open source (MIT)

    ★ 6↓ 333/wkLast active Oct 21, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2

  10. 10
    AgentSQL

    cuipengdba

    Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval

    • Remote server, no local install
    • Active in the last 30 days
    • Open source (Apache-2.0)

    ★ 13Last active Oct 24, 2026Remote (HTTP)Claude Code, VS Code, Cursor, Windsurf

  11. 11
    pgtriage

    pgtriage

    Read-only MCP server for evidence-based PostgreSQL performance auditing.

    • Active in the last 30 days
    • Open source (MIT)

    ↓ 202/wkLast active Oct 23, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2

  12. 12

    PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants

    • Active in the last 30 days
    • Open source (MIT)

    ★ 10Last active Oct 15, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2

  13. 13
    Quarry

    yiminspace

    Safety-railed database access: Postgres, MySQL, SQLite, Redis.

    • Active in the last 30 days
    • Open source (MIT)

    ★ 4↓ 475/wkLast active Oct 20, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2

  14. 14
    WoWSQL

    wowsql.comOfficial

    Managed Postgres MCP: projects, SQL, docs search, and storage buckets via OAuth.

    • Published by the vendor
    • Remote server, no local install
    • Active in the last 30 days

    ★ 5Last active Oct 5, 2026Remote (HTTP)Claude Code, VS Code, Cursor, Windsurf

  15. 15

    Python MCP server for PostgreSQL database inspection and querying

    • Open source (MIT)

    ★ 1↓ 3.6K/wkLast active May 23, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2