Postgres MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 147 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": {
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
]
}
}
}
[mcp_servers.postgres-mcp]
command = "npx"
args = ["-y", "@edelciomolina/postgres-mcp"]
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
]
}
}
}
{
"servers": {
"postgres-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
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)).
Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
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
Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.
Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
Answers built from our own checks of this server.