Natural language SQL queries on your PostgreSQL databases
Let your AI agents query and manage PostgreSQL databases using natural language. Safe, sandboxed execution with read-only mode support. Features: - Natural language to SQL translation - Read-only mode for safe production use - Schema introspection - Query result formatting - Connection pooling with PgBouncer support - Query history and explain plans
from agents import Agent
from agents.mcp import MCPServerStdio
mcp_server = MCPServerStdio(
command="npx",
args=["-y", "@modelcontextprotocol/server-postgres"],
)
agent = Agent(
name="My Agent",
model="gpt-4o",
mcp_servers=[mcp_server],
)If you maintain PostgreSQL MCP, add this badge to your README to show it's verified on CuratedMCP:
[](https://curatedmcp.com/marketplace/postgresql-mcp)
SQLite MCP Server
SQLite database queries, analysis, and memo storage for local AI workflows
Notion MCP Server
Read, write, and search your Notion workspace β databases, pages, and knowledge base
Supabase MCP Server
Official Supabase integration β manage tables, run queries, handle auth, and deploy edge functions