Official MCP server providing read-only access to PostgreSQL databases with schema inspection and query capabilities
Key capabilities and functionality
About this MCP server
The official PostgreSQL MCP Server from Anthropic provides read-only access to PostgreSQL databases, enabling Claude to inspect schemas and execute safe queries.
Add these configurations to your Claude Desktop or Claude Code setup
Setup instructions and requirements
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Create a .mcp.json file with PostgreSQL server configuration and connection string
Common scenarios and applications
Security considerations and requirements
Common issues and solutions
Common usage examples
What tables exist in my database?
Describe the structure of the users table
How many records are in each table?
Write a query to find active users from last month
Generate documentation for my database schema
Required
September 16, 2025