Postgres MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 106 installs a week from pypi. Last commit 21 Aug 2026.
PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.
We read the source, 20 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
log_file_path = os.path.join(logs_path, host_log_file)
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
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 postgres-mcp -- uvx postgres-mcp-pro
{
"mcpServers": {
"postgres-mcp": {
"args": [
"postgres-mcp-pro"
],
"command": "uvx"
}
}
}
[mcp_servers.postgres-mcp]
command = "uvx"
args = ["postgres-mcp-pro"]
{
"mcpServers": {
"postgres-mcp": {
"args": [
"postgres-mcp-pro"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"postgres-mcp": {
"args": [
"postgres-mcp-pro"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
DATABASE_URL (PostgreSQL connection URL, e.g. postgresql://user:pass@localhost:5432/dbname).
The author declared them in the registry entry; get the values from the project itself.
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
MCP server for interacting with PostgreSQL databases
Enterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI
Answers built from our own checks of this server.