Database MCP Postgres runs on your own machine — the client starts it, so there is no endpoint to ping. 58 installs a week from pypi. Last commit 17 Jul 2026.
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
We read the source, 20 h ago · rules 3dff92dd89df
Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.
const child = spawn(command, args, { env: process.env });
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.
этот файл ставится пользователю, но в репозитории его нет
const child = spawn(command, args, { env: process.env });
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Database MCP Postgres and you get told the day something new turns up.
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 database-mcp-postgres -- npx -y @database-mcp/postgres
{
"mcpServers": {
"database-mcp-postgres": {
"args": [
"-y",
"@database-mcp/postgres"
],
"command": "npx"
}
}
}
[mcp_servers.database-mcp-postgres]
command = "npx"
args = ["-y", "@database-mcp/postgres"]
{
"mcpServers": {
"database-mcp-postgres": {
"args": [
"-y",
"@database-mcp/postgres"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"database-mcp-postgres": {
"args": [
"-y",
"@database-mcp/postgres"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
POSTGRES_HOST (Database host), POSTGRES_USER (Database user (a read-only user is recommended)), POSTGRES_PASSWORD (Database password (or use POSTGRES_PASSWORD_FILE)), POSTGRES_DATABASE (Database name).
The author declared them in the registry entry; get the values from the project itself.
MCP server for MariaDB. Read-only by default, row caps, timeouts, secrets never logged.
MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.
MCP server for libSQL/Turso, local or remote. Read-only by default, row caps, timeouts.
MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.
Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
MCP server for read-only PostgreSQL database queries in Claude Desktop
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
Answers built from our own checks of this server.