Back to MCP Servers
Postgres
PostgreSQL MCP server with 14 tools for querying, schema exploration, and table analysis. Features security-first design with SQL injection prevention and read-only by default.
databasespostgressecurity
By JaviMaligno
Installation
npx -y postgres_mcpConfiguration
{
"mcpServers": {
"postgres_mcp": {
"command": "npx",
"args": ["-y", "postgres_mcp"]
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes