Skip to content

MCP servers and agent skills for postgresql

30 MCP servers and 14 agent skills for postgresql in databases, including SQL queries and Alloydb basics, most popular first. 32 of the 44 are listed as free or open source. Each one is written up from its own site or README, with pricing, platforms and alternatives.

Showing 1–28 of 28

  1. Write BigQuery, PostgreSQL or MySQL queries from plain-language questions and a schema

    • Open source
    • 28.1K GitHub stars
    • Databases
  2. Administer AlloyDB for PostgreSQL clusters, instances and backups with secure defaults

    • Open source
    • 24.4K GitHub stars
    • Databases
  3. Reviews PostgreSQL code for JSONB, array, schema, function and RLS best practices

    • Open source
    • 41.3K GitHub stars
    • Databases
  4. Guides an agent through PostgreSQL-specific features, query tuning and indexing patterns

    • Open source
    • 41.3K GitHub stars
    • Databases
  5. Guides an AI agent through SQL query tuning, indexing and performance review

    • Open source
    • 41.3K GitHub stars
    • Databases
  6. Guides an agent through creating and connecting to Cloud SQL MySQL, PostgreSQL or SQL

    • Open source
    • 24.4K GitHub stars
    • Databases
  7. Guides an agent to connect Node.js/TypeScript apps to Azure PostgreSQL with pg

    • Open source
    • 3.2K GitHub stars
    • Databases
  8. PlatypusDB

    MCP server

    Gives MCP clients access to your PlatypusDB database connections, scoped per agent

    Runs locally
    • Open source
    • Databases
  9. Query PostgreSQL, inspect schemas and read EXPLAIN plans, read-only by default

    Runs locally
    • 13 tools
    • Open source
    • Databases
  10. pgman

    MCP server

    PostgreSQL schema, read-only queries, EXPLAIN and masked dumps for coding agents

    Runs locally
    • Open source
    • Databases
  11. RisingWave

    MCP server

    Query and manage a RisingWave streaming database from an agent over SQL tools

    Runs locally
    • 15 tools
    • Open source
    • Databases
  12. dryrun

    MCP server

    Offline PostgreSQL schema, query-stat and migration-safety server for AI assistants

    Runs locally
    • 7 tools
    • Open source
    • Databases
  13. Maplith Bridge

    MCP server

    Read-only MCP bridge that shares a data folder and fills it from PostgreSQL

    Not checked yet
    • Remote
    • Open source
    • Databases
  14. NeoSQL MCP

    MCP server

    Give Claude Code, Codex and other MCP hosts your database schema through NeoSQL Desktop

    Runs locally
    • 2 tools
    • Open source
    • Databases
  15. Mcpg

    MCP server

    PostgreSQL MCP server with 279 tools for queries, tuning and ops, read-only by default

    Runs locally
    • Open source
    • Databases
  16. dbmole

    MCP server

    PostgreSQL and MySQL for agents that add their own connections at runtime, via SSH

    Runs locally
    • 1 tool
    • Open source
    • Databases
  17. orm-preflight

    MCP server

    Reads TypeORM migration files and flags data loss, table locks and unsafe deploys

    Runs locally
    • Open source
    • Developer tools
  18. Read-only guarded SQL access to eight database engines for AI agents

    Runs locally
    • 11 tools
    • Open source
    • Databases
  19. Faucet

    MCP server

    Single-binary Go gateway that exposes SQL databases as a REST API and MCP tools

    Not checked yet
    • Remote
    • Open source
    • Databases
  20. AgentSQL

    MCP server

    Guard agents' PostgreSQL and MySQL access with SQL audit, masking and write approval

    Not checked yet
    • Remote
    • Open source
    • Databases