JaviMaligno/postgres_mcp
by Various
The only postgress MCP server I have been able to connect to my docker postgres
MCP
JaviMaligno/postgres_mcp
Added 1 June 2026
Overview
A Python-based MCP server for PostgreSQL that connects to a Docker-hosted PostgreSQL instance. It was created by a user to enable MCP connectivity to a local Docker PostgreSQL database. The repository has 9 stars and is maintained by various contributors.
Best for
Best for
Developers who need a quick MCP bridge to a Docker PostgreSQL database
Use cases
- Connecting an MCP client to a Docker PostgreSQL database
- Running PostgreSQL queries through an MCP interface
- Integrating PostgreSQL with MCP-based development tools
How to use
Install
npx postgresql-mcp Tools exposed
POSTGRES_HOSTPOSTGRES_PORTPOSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_DBPOSTGRES_SSLMODEALLOW_WRITE_OPERATIONSQUERY_TIMEOUTMAX_ROWSexplain_querylist_schemaslist_tablesdescribe_tablelist_viewsdescribe_viewlist_functionstable_statslist_indexeslist_constraintsget_database_info
Tested with
Claude Desktop, Claude Code, Cursor
Notes
A Python-based MCP server for PostgreSQL that connects to a Docker-hosted PostgreSQL instance. It was created by a user to enable MCP connectivity to a local Docker PostgreSQL database. The repository has 9 stars and is maintained by various contributors.
9 stars on GitHub. Last updated 2026-01-23. Licensed MIT.
Use cases
- Connecting an MCP client to a Docker PostgreSQL database
- Running PostgreSQL queries through an MCP interface
- Integrating PostgreSQL with MCP-based development tools
Pros
- Works specifically with Docker PostgreSQL setups
- Lightweight Python implementation
- Simple to use for basic MCP connectivity
Cons
- Very few stars indicate limited community testing
- May lack production-ready features
- Documentation or support may be minimal
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Works specifically with Docker PostgreSQL setups
- Lightweight Python implementation
- Simple to use for basic MCP connectivity
Cons
- Very few stars indicate limited community testing
- May lack production-ready features
- Documentation or support may be minimal
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.