mcpbeat Sign in

Postgres MCP Server

by edelciomolina Your server? Claim it
local only

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.

Installs per day peak 54 · avg 18 · +55% w/w
a month agotoday
92
Installs / week
npm · @edelciomolina/postgres-mcp
5
Stars
0 open issues
14 Jun 2026
Last commit
0 releases in 90 days
License
JavaScript

Nothing serious here today

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add postgres-mcp -- npx -y @edelciomolina/postgres-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "postgres-mcp": {
      "args": [
        "-y",
        "@edelciomolina/postgres-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.postgres-mcp]
command = "npx"
args = ["-y", "@edelciomolina/postgres-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "postgres-mcp": {
      "args": [
        "-y",
        "@edelciomolina/postgres-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "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.

Alternatives to Postgres MCP

same job, measured the same way
Mcpg
by devopam

Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.

1 099 installs/wk local only
C
Data
by thinair

PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.

answering
SafeSelect MCP
by antonillos

Fail-closed, read-only PostgreSQL and MongoDB access for AI agents over MCP.

local only
PostgreSQL MCP Server
by neverinfamous

PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering

67 installs/wk local only
Database MCP Postgres
by arifulislamat

MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.

58 installs/wk local only
Dbmcp
by haymon

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention

local only
SQL
by abhishekkumar2021

Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.

45 installs/wk local only
Quarry
by wangggym

Safety-railed database access for agents: Postgres, MySQL, Redis. Read-only by default.

166 installs/wk local only

Postgres MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Postgres MCP?
Postgres MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @edelciomolina/postgres-mcp was installed 92 times last week.
How do I connect Postgres MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @edelciomolina/postgres-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Postgres MCP?
The npm package @edelciomolina/postgres-mcp was installed 92 times in the last week. Week over week that is +55%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Postgres MCP open source?
We cannot say either way: written in JavaScript and 5 stars on GitHub, but we could not determine the licence, and without one the code is not open source by default.