MCP ServerFeatured
Postgres MCP MCP Server
by Anthropic
Run read-only SQL queries against a Postgres database.
About Postgres MCP
Read-only Postgres MCP server with schema introspection and parameterized SQL. Useful for letting agents inspect tables and run analytical queries safely.
Tags
SQLdatabaseread-only
How to install Postgres MCP
Add the following entry to your MCP client config (e.g. claude_desktop_config.json or .mcp.json). Refer to the official repository for the exact command, package name, and required environment variables.
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres"]
}
}
}Example shape only — see the repository for the canonical install command.