JaviMaligno/postgres_mcp
The only postgress MCP server I have been able to connect to my docker postgres
Platform-specific configuration:
{
"mcpServers": {
"postgres_mcp": {
"command": "npx",
"args": [
"-y",
"postgres_mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<!-- mcp-name: io.github.JaviMaligno/postgresql -->
[](https://github.com/JaviMaligno/postgres_mcp/actions/workflows/ci.yml) [](https://pypi.org/project/postgresql-mcp/) [](https://www.npmjs.com/package/postgresql-mcp) [](https://opensource.org/licenses/MIT)
MCP server for PostgreSQL database operations. Works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.
This repository contains both TypeScript and Python implementations:
| Version | Directory | Status | Installation | |---------|-----------|--------|--------------| | TypeScript | /typescript | ✅ Recommended (Smithery) | npm install -g postgresql-mcp | | Python | /python | ✅ Stable | pipx install postgresql-mcp |
> Note: The TypeScript version is used for Smithery deployments. Both versions provide identical functionality.
# Install globally
npm install -g postgresql-mcp
# Or run directly with npx
npx postgresql-mcp# Install
pipx install postgresql-mcp
# Configure Claude Code
claude mcp add postgres -s user \
-e Loading reviews...