#20 · of 445 · by weekly downloadsMCP server
Postgres MCP Pro
Postgres access for agents, with index tuning and health checks alongside plain SQL.
Rank
#20
of 445 · by weekly downloads
Weekly downloads
124K
npm + PyPI, last 7 days
Add it to your client
CommunityInstall
uvx postgres-mcp --access-mode=restricted
mcpServers
{
"mcpServers": {
"postgres-mcp": {
"command": "uvx",
"args": [
"postgres-mcp",
"--access-mode=restricted"
]
}
}
}- Transport
- both
- Runtime
- Python
- Auth
- Required
- Tools
- 9
- License
- MIT
Tools
list_schemaslist_objectsget_object_detailsexecute_sqlexplain_queryget_top_queriesanalyze_workload_indexesanalyze_query_indexesanalyze_db_health
Connects to a PostgreSQL instance through a connection string and exposes schema listing, SQL execution and EXPLAIN plans as tools. Beyond running queries it scans the workload to propose index candidates and reports health signals such as cache hit rates, vacuum status and connection utilisation. The access mode is configurable, so a restricted setup keeps the model read-only.
Similar MCP servers
MCP Toolbox for Databases
MCP serverDefine database tools in YAML and serve them to agents from one process.
Developer ToolsDatabases
Prisma MCP Server
MCP serverPrisma's hosted server for creating and operating Prisma Postgres databases.
Developer ToolsDatabases
DBHub
MCP serverOne MCP server that speaks Postgres, MySQL, SQL Server, MariaDB and SQLite through a DSN.
Developer ToolsDatabases

Comments(0)
Sign in to comment