Install PostgreSQL in Claude Code
claude mcp add neverinfamous-postgres-mcp -- docker run -i --rm docker.io/writenotenow/postgres-mcp-enhanced:v1.2.0{
"mcpServers": {
"neverinfamous-postgres-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/writenotenow/postgres-mcp-enhanced:v1.2.0"
]
}
}
}Frequently asked questions
What does the PostgreSQL MCP server do?
Enterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations
Is the PostgreSQL MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does PostgreSQL run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add PostgreSQL to Claude Code?
Run: claude mcp add neverinfamous-postgres-mcp -- docker run -i --rm docker.io/writenotenow/postgres-mcp-enhanced:v1.2.0
More databases MCP servers
View allCoremcp
corebasehq/coremcp
Tunnel-based bridge connecting local and on-premise databases (such as MSSQL) to LLMs, with AST-based query safety and PII masking.
LoreConvo
labyrinth-analytics/loreconvo
Local-first persistent session memory for Claude Code and other agents. SQLite + FTS5, no cloud.
Qlik
jwaxman19/qlik-mcp
Query Qlik Cloud apps and sheets and extract data from visualizations, with authentication and rate-limiting support.
SchemaBrain
Arun-kc/schemabrain
Read-only Postgres access with SQL compiled from your own definitions, PII refusal and a tamper-evident audit chain.
Reunion
Hug0x0/mcp-reunion
Open data for La Réunion (French overseas region) from data.gouv.fr and the regional portal: economy, demographics, transport, health, education and more.
Postgres
JaviMaligno/postgres_mcp
PostgreSQL querying, schema exploration and table analysis, read-only by default with SQL injection prevention.