Safe Postgres MCP Server
Safety-first, read-only PostgreSQL MCP server. Read-only isn't a regex — it's enforced by Postgres itself (READ ONLY transactions, statement timeouts, row caps). One npx command to give AI agents safe access to your database.
context tax
pending
security
pending
cold start
pending
freshness
pending
Our reading of Safe Postgres, from the data
Safe Postgres is a database MCP server from samuel-cabral.
We haven't measured its tool list yet, so its token cost is unknown.
With 0 GitHub stars it ranks #676 of 1,397 database servers we index.
It runs locally on your machine over stdio.
Install Safe Postgres MCP server
Install in Claude Code
claude mcp add safe-postgres -- npx -y safe-postgres-mcpInstall in Cursor
{
"mcpServers": {
"safe-postgres": {
"command": "npx",
"args": [
"-y",
"safe-postgres-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"safe-postgres": {
"command": "npx",
"args": [
"-y",
"safe-postgres-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"safe-postgres": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"safe-postgres-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"safe-postgres": {
"command": "npx",
"args": [
"-y",
"safe-postgres-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Not enough public signals yet to judge maintenance.
Last commit (default branch)
2026-08-10 · 2mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
How it compares in Database
Against the most-starred database servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Safe Postgres (this) | 0 | — | not measured | — | local |
| Screenpipe | 21,982 | — | not measured | Active | — |
| Genai Toolbox | 16,679 | — | not measured | Active | hosted |
| Convex Backend | 12,716 | — | not measured | Active | — |
| Kubeshark | 12,100 | — | not measured | Active | local |
| Baserow | 6,174 | — | not measured | Active | — |
FAQ
›How do I install the Safe Postgres MCP server in Claude Code?
Run: claude mcp add safe-postgres -- npx -y safe-postgres-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Safe Postgres require an API key?
No required environment variables are declared in its published metadata.
›Can I use Safe Postgres as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Safe Postgres in the official MCP registry?
No. It was indexed from npm.
Sources and method
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Spot an error? Request a correction or claim the listing.
Alternatives to Safe Postgres
Other database MCP servers.