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. 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.

Installs per day peak 72 · avg 9 · +488% w/w
a month agotoday
147
Installs / week
npm · @edelciomolina/postgres-mcp
5
Stars
0 open issues
14 Jun 2026
Last commit
no releases in 90 days
MIT
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": {
      "command": "npx",
      "args": [
        "-y",
        "@edelciomolina/postgres-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.postgres-mcp]
command = "npx"
args = ["-y", "@edelciomolina/postgres-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@edelciomolina/postgres-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "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)).

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.

220 installs/wk local only
AI2SQL
by ai2sql

Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema

answering
D
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

90 installs/wk local only
Rowbase
by djstreet11

Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.

95 installs/wk local only
DB Explorer
by ayush-148

Read-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advice

118 installs/wk local only
Database MCP Postgres
by arifulislamat

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

114 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 147 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 in the form 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 147 times in the last week. Week over week that is +488%. 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?
Yes — it is published under the MIT licence, written in JavaScript and 5 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.