Postgres MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 92 installs a week from npm. Last commit 14 Jun 2026.
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
Today is the operative word: we check Postgres MCP 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 postgres-mcp -- npx -y @edelciomolina/postgres-mcp
{
"mcpServers": {
"postgres-mcp": {
"args": [
"-y",
"@edelciomolina/postgres-mcp"
],
"command": "npx"
}
}
}
[mcp_servers.postgres-mcp]
command = "npx"
args = ["-y", "@edelciomolina/postgres-mcp"]
{
"mcpServers": {
"postgres-mcp": {
"args": [
"-y",
"@edelciomolina/postgres-mcp"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"postgres-mcp": {
"args": [
"-y",
"@edelciomolina/postgres-mcp"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
MCP_KEY_HOST (Name of the .env variable that holds the database host), MCP_KEY_PORT (Name of the .env variable that holds the database port), MCP_KEY_NAME (Name of the .env variable that holds the database name), MCP_KEY_USER (Name of the .env variable that holds the database user), MCP_KEY_PASS (Name of the .env variable that holds the database password), MCP_KEY_SSLMODE (Name of the .env variable that holds the SSL mode (e.g. require)).
The author declared them in the registry entry; get the values from the project itself.
Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
Fail-closed, read-only PostgreSQL and MongoDB access for AI agents over MCP.
PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention
Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.
Safety-railed database access for agents: Postgres, MySQL, Redis. Read-only by default.
Answers built from our own checks of this server.