PostgreSQL
by Anthropic (reference)
PostgreSQL
6,000624,355/mov0.6.2stdioVerified on npm
Data AnalysisDeveloper ToolsMCP / Integrations
Install & run
Add to claude_desktop_config.json:
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres"
]
}
}
}Overview
Read-only access to a PostgreSQL database — inspect schemas and run safe SELECT queries. Lets an assistant answer questions over your relational data.
Tools (2)
queryRun a read-only SQL query
list_schemasInspect database schema
Key features
- Read-only SQL access
- Schema inspection
- Safe by default
Use cases
- Answer questions over your data
- Generate reports
- Explore a database
Frequently asked questions about PostgreSQL
No — it is read-only (SELECT) for safety.
Did you find this helpful?