Skip to content
MCP-BridgeMCP-Bridge
DatabasespythonNeeds API KeyCommunityUnknown

PostgreSQL MCP (Python)

400 starsScore: 69

Python-based PostgreSQL MCP server for database management through AI.

Quick Answer

  1. 1. PostgreSQL MCP (Python) gives AI agents databases capabilities with 400 GitHub stars and a quality score of 69/99.
  2. 2. Install: Run pip install mcp-server-postgres or add the config to your MCP client.
  3. 3. Runtime: pythonrequires an API key.
  4. 4. Health: Unknown status — last checked Invalid Date.

Overview

Category: Databases

Runtime: python

Install: pip install mcp-server-postgres

Auth: API key required

Source: community

Stars: 400

Setup time: ~2 min (API key needed)

What You Can Build

With the PostgreSQL MCP (Python) MCP server, your AI assistant can:

  • Access databases functionality through natural language
  • Securely use your API credentials for authenticated operations
  • Combine with other MCP servers for cross-tool automation workflows
  • Run with python for reliable, consistent deployments

Health Status

Unknown

One-Click Install

Copy the snippet for your MCP client and paste it in.

Claude Desktop

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-postgres-py": {
      "command": "pip",
      "args": [
        "install",
        "mcp-server-postgres"
      ],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}
Deep link

Cursor

Settings → MCP Servers → Add

{
  "mcpServers": {
    "mcp-server-postgres-py": {
      "command": "pip install mcp-server-postgres"
    }
  }
}

Saves as .cursor/mcp.json in the download. Move it to your project root.

Deep link install →

VS Code

Use with MCP extension

{
  "mcpServers": {
    "mcp-server-postgres-py": {
      "command": "pip install mcp-server-postgres"
    }
  }
}

MCP Server Configuration

Add this to your claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-postgres-py": {
      "command": "pip",
      "args": ["install","mcp-server-postgres"],
      "env": {
      "API_KEY": "your-api-key-here"
}
    }
  }
}

Topics

postgresqlmcp-serverdatabase

Own this server?

Claim your listing to update description, links, and category — and get a verified badge.

Claim this listing →