mcpbeat Sign in

Postgres (read-only, safe) MCP Server

local only

Postgres (read-only, safe) runs on your own machine — the client starts it, so there is no endpoint to ping. Last commit 1 Nov 2026.

Drop-in replacement for @modelcontextprotocol/server-postgres that is actually read-only.

—
Installs / week
npm · postgres-mcp-safe
1
Stars
0 open issues
1 Nov 2026
Last commit
4 releases in 90 days
MIT
License
Go

Nothing serious here today

Today is the operative word: we check Postgres (read-only, safe) 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-safe -- npx -y postgres-mcp-safe
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "postgres-mcp-safe": {
      "command": "npx",
      "args": [
        "-y",
        "postgres-mcp-safe"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.postgres-mcp-safe]
command = "npx"
args = ["-y", "postgres-mcp-safe"]
.cursor/mcp.json
{
  "mcpServers": {
    "postgres-mcp-safe": {
      "command": "npx",
      "args": [
        "-y",
        "postgres-mcp-safe"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "postgres-mcp-safe": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "postgres-mcp-safe"
      ]
    }
  }
}

Alternatives to Postgres (read-only, safe)

same job, measured the same way
Kaiva Postgres MCP
by kaiv

Read-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres.

271 installs/wk local only
Postgres (read-only)
by contextflo

Read-only Postgres: drop-in for the archived server-postgres, with schema context.

285 installs/wk local only
Read Only Local Postgres MCP Server
by hove

MCP server for read-only PostgreSQL database queries in Claude Desktop

143 installs/wk local only
Tokenlite Mysql MCP
by andezdev

A secure, efficient, and intelligent MySQL server for the Model Context Protocol

79 installs/wk local only
D
Data
by thinair

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

answering
Pg Readonly MCP
by les-k

A read-only Postgres MCP server that parses SQL rather than pattern-matching it.

78 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
Copilot Datagate
by afurlane

Policy-driven, read-only MCP server for safe database access from AI tools.

53 installs/wk local only

Postgres (read-only, safe) — questions

Answers built from our own checks of this server.

Why is there no uptime for Postgres (read-only, safe)?
Postgres (read-only, safe) 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 postgres-mcp-safe.
How do I connect Postgres (read-only, safe)?
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 postgres-mcp-safe straight from npm; nothing to host, nothing to sign up for.
Is Postgres (read-only, safe) open source?
Yes — it is published under the MIT licence, written in Go and 1 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.