MCP servers for Postgres
These servers let an assistant connect to a Postgres database, read its structure and run queries. Check what each one is allowed to change before you give it a connection string.
Servers maintained by the product's own maker come first, then Anthropic's reference servers, then community servers, and within each group the most recent repository activity comes first. A server its maintainers have archived comes last. This is an order, not a test: nobody here has tried these servers.
Supabase
Supabase, the maker of the productSupabase's official MCP — query Postgres, manage auth, inspect storage buckets, all from your agent.
claude mcp add --scope project --transport http supabase "https://mcp.supabase.com/mcp"
Last repository activity: 24 November 2026Read the listingNeon
Neon, the maker of the productNeon's official MCP for serverless Postgres. Manage projects, branches, and run SQL against any of your databases.
npx add-mcp https://mcp.neon.tech/mcp
Last repository activity: 22 November 2026Read the listingHeroku
Heroku, the maker of the productHeroku's official MCP. Manage apps, databases, dynos, and pipelines through the platform CLI from inside an agent.
npx -y @heroku/mcp-server
Last repository activity: 20 November 2026Read the listingAWS Aurora PostgreSQL
AWS, the maker of the productAWS Labs' Postgres MCP. Aurora-aware: pgwire, pgwire-iam, RDS Data API. Natural-language SQL with AWS auth handled.
uvx awslabs.postgres-mcp-server@latest
Last repository activity: 17 November 2026Read the listingTeslaMate MCP
Tunahan Cobanov (community)Queries your TeslaMate PostgreSQL database with 18 predefined analytics tools for battery, charging, and driving data.
uv sync
Last repository activity: 14 November 2026Read the listingMCP Alchemy
Rune Kaagaard (community)Universal SQLAlchemy MCP supporting PostgreSQL, MySQL, MariaDB, SQLite, Oracle, MS SQL Server, and more with relationship inspection.
uvx --from mcp-alchemy --refresh-package mcp-alchemy mcp-alchemy
Last repository activity: 15 October 2026Read the listingQuery Postgres databases with natural language. Read-only access by default - the agent sees your schema and runs SELECT queries safely.
npx -y @modelcontextprotocol/server-postgres postgresql://user:pass@host/db
Last repository activity: 29 May 2025Read the listing