Database Postgres MCP server
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
5 stars48 downloads/wk
Reviews
Write oneNobody has reviewed Database Postgres yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Database Postgres tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned; 3 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 6 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Database Postgres repository's README, as published. We do not edit it. Read it on GitHub
database-mcp
MCP servers that give AI clients safe, structured access to SQL databases.
One installable package per database engine, in TypeScript (npm) and Python (PyPI). Every package exposes the same minimal two-tool surface, executesql and searchobjects, with guardrails on by default: read-only mode, row caps, and statement timeouts.
Packages
Both lines are published and pass the same language-agnostic conformance suite against real databases in CI, so behavior is identical regardless of language. Every engine is also listed on the MCP Registry with both install options.
Go and Rust implementations are planned.
Design principles
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y @database-mcp/postgres on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add database-mcp-postgres -- npx -y @database-mcp/postgres
Database Postgres: common questions
- Is Database Postgres MCP server safe?
- Mostly: it is graded B (83/100). Read the Database Postgres safety report
- How do I install Database Postgres?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Database Postgres need an API key?
- Yes. The registry entry asks for
POSTGRES_PASSWORD. - Is Database Postgres maintained?
- The last commit was 7 days ago (2026-09-20). The latest release is v0.4.2.
- What can I use instead of Database Postgres?
- Servers from other publishers that do the same job: Quarry MCP server, DBHub MCP server and Neon MCP server. Compare all Database Postgres alternatives.
Alternatives to Database Postgres
Same job from other publishers: the closest match first, then the best rated.
- QuarrySafety-railed database access for agents: Postgres, MySQL, Redis. Read-only by default.not reviewedGrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- NeonOfficial Neon MCP server for managing Neon projects and Lakebase Postgres databases.not reviewedEstablishedA
- PostgreSQLMCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.not reviewedEstablishedB
- PostgreSQL MCP ServerPostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistantsnot reviewedGrowingB