Enterprise DNA
M MCP Servers Developer low

JaviMaligno/postgres_mcp

by Various

The only postgress MCP server I have been able to connect to my docker postgres

J

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_HOST
  • POSTGRES_PORT
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POSTGRES_DB
  • POSTGRES_SSLMODE
  • ALLOW_WRITE_OPERATIONS
  • QUERY_TIMEOUT
  • MAX_ROWS
  • explain_query
  • list_schemas
  • list_tables
  • describe_table
  • list_views
  • describe_view
  • list_functions
  • table_stats
  • list_indexes
  • list_constraints
  • get_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
Free 27-page guide

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.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks