PostgreSQL MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 4 335 installs a week from npm. Last commit 15 Sep 2026.
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
We read the source, 17 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.
const out = execFileSync(cmd, ["--version"], {
If the error was E401 or E404, the automation token in ~/.npmrc is dead.
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 -- npx -y @yawlabs/postgres-mcp
{
"mcpServers": {
"postgres-mcp": {
"args": [
"-y",
"@yawlabs/postgres-mcp"
],
"command": "npx"
}
}
}
[mcp_servers.postgres-mcp]
command = "npx"
args = ["-y", "@yawlabs/postgres-mcp"]
{
"mcpServers": {
"postgres-mcp": {
"args": [
"-y",
"@yawlabs/postgres-mcp"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"postgres-mcp": {
"args": [
"-y",
"@yawlabs/postgres-mcp"
],
"command": "npx"
}
}
}
A Snowflake MCP server — SQL queries, schema exploration, and data insights for AI assistants
PostgreSQL MCP server for schema, query, health, security, and performance analysis.
Python MCP server for PostgreSQL database inspection and querying
Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL
PostgreSQL MCP — query databases, inspect schemas, explain queries.
MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis
Read-only PostgreSQL, Oracle and SQL Server access for AI agents: SQL, plans, schema, index stats
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.