Postgresql MCP
by @sarmadparvez
Connect AI clients to PostgreSQL for read-write SQL, atomic transactions, and schema inspection.
Install Postgresql MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"sarmadparvez-postgresql-mcp": {
"command": "npx",
"args": [
"-y",
"@sarmadparvez/postgresql-mcp"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
We couldn’t confirm it starts correctly
The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.
npx -y @sarmadparvez/postgresql-mcpNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 10d ago.
Overview
Use cases
- Inspect PostgreSQL schemas and table sizes
- Run read-only SELECT queries through an AI client
- Apply INSERT, UPDATE, DELETE, or DDL statements
- Group database changes into atomic transactions
- Connect AI tools to Supabase, RDS, or self-hosted PostgreSQL
Key features
- Read-only SQL queries with JSON results
- Read-write SQL and DDL execution
- Atomic multi-statement transactions
- Schema and primary-key inspection
- Table listings with disk sizes
- Optional read-only operating mode
Tools5
What Postgresql MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 11d ago via OSV.dev · @sarmadparvez/postgresql-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Postgresql MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Postgresql MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sarmadparvez-postgresql-mcp)<a href="https://allmcps.com/mcp/sarmadparvez-postgresql-mcp"><img src="https://allmcps.com/api/badge/sarmadparvez-postgresql-mcp?style=directory" alt="Postgresql MCP on AllMCPs" /></a>