PostgreSQL MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 77 installs a week from pypi. Last commit 23 May 2026.
Python MCP server for PostgreSQL database inspection and querying
Today is the operative word: we check PostgreSQL MCP Server every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add postgresql-mcp-server -- uvx mdev-postgresql-mcp-server
{
"mcpServers": {
"postgresql-mcp-server": {
"args": [
"mdev-postgresql-mcp-server"
],
"command": "uvx"
}
}
}
[mcp_servers.postgresql-mcp-server]
command = "uvx"
args = ["mdev-postgresql-mcp-server"]
{
"mcpServers": {
"postgresql-mcp-server": {
"args": [
"mdev-postgresql-mcp-server"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"postgresql-mcp-server": {
"args": [
"mdev-postgresql-mcp-server"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
POSTGRES_HOST (PostgreSQL host), POSTGRES_PORT (PostgreSQL port), POSTGRES_USER (PostgreSQL username), POSTGRES_PASSWORD (PostgreSQL password), POSTGRES_DB (PostgreSQL database name), POSTGRES_READ_QUERY_LIMIT (Maximum rows returned by read queries).
The author declared them in the registry entry; get the values from the project itself.
Python MCP server for MySQL database inspection and querying
MCP server for querying PostgreSQL databases
Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL
MCP server for interacting with PostgreSQL databases
Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse
MCP server for read-only PostgreSQL database queries in Claude Desktop
PostgreSQL MCP — query databases, inspect schemas, explain queries.
Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention
Answers built from our own checks of this server.