‹ The Index

Postgres · modelcontextprotocol

npm ✓ Anthropic · official

MCP server for interacting with PostgreSQL databases

Works with: Claude Code, Cursor, Claude Desktop, Codex CLI, Gemini CLI, Cline, Windsurf, VS Code

Category: Database — see all ranked ›

Install (Claude Code):

claude mcp add ostgres---modelcontextprotocol -- npx -y @modelcontextprotocol/server-postgres
Looking for a replacement? npx tashan-cli doctor is free and tells you everything above about your whole config. tashan Pro names the replacement — which one, and how it measures. $6/mo.

Security audit

scanned 2026-07-30

Every finding is shown in full. Nothing on this page is behind a licence — there is no advisory to name and no install script to read.

No known advisoriesclearchecked against OSV for 0.6.2
Connects to databasesfrom declared dependencies
No build provenanceno attestation — the published artifact cannot be traced to its source

npm ↗  ·  pkg:@modelcontextprotocol/server-postgres

Already running this? npx tashan-cli doctor checks your whole config against the Index — how it works ›