PostgreSQL MCP Server

latest · 0.1.2

Python MCP server for PostgreSQL database inspection and querying

MCP registry
io.github.musaddiq-dev/postgresql-mcp-server

Install

Needs env vars: POSTGRES_HOST, POSTGRES_PORT, POSTGRES_USER, POSTGRES_DB — replace the <placeholders> with your values.

claude mcp add io-github-musaddiq-dev-postgresql-mcp-server --env POSTGRES_HOST=<POSTGRES_HOST> --env POSTGRES_PORT=<POSTGRES_PORT> --env POSTGRES_USER=<POSTGRES_USER> --env POSTGRES_DB=<POSTGRES_DB> -- uvx mdev-postgresql-mcp-server

/mcp confirms it's connected.

Install

Or add it manually in ~/.cursor/mcp.json:

{
  "mcpServers": {
    "io-github-musaddiq-dev-postgresql-mcp-server": {
      "command": "uvx",
      "args": [
        "mdev-postgresql-mcp-server"
      ],
      "env": {
        "POSTGRES_HOST": "<POSTGRES_HOST>",
        "POSTGRES_PORT": "<POSTGRES_PORT>",
        "POSTGRES_USER": "<POSTGRES_USER>",
        "POSTGRES_DB": "<POSTGRES_DB>"
      }
    }
  }
}

In claude_desktop_config.json (Settings → Developer → Edit Config), then restart:

{
  "mcpServers": {
    "io-github-musaddiq-dev-postgresql-mcp-server": {
      "command": "uvx",
      "args": [
        "mdev-postgresql-mcp-server"
      ],
      "env": {
        "POSTGRES_HOST": "<POSTGRES_HOST>",
        "POSTGRES_PORT": "<POSTGRES_PORT>",
        "POSTGRES_USER": "<POSTGRES_USER>",
        "POSTGRES_DB": "<POSTGRES_DB>"
      }
    }
  }
}

Config entry, any MCP client:

{
  "command": "uvx",
  "args": [
    "mdev-postgresql-mcp-server"
  ],
  "env": {
    "POSTGRES_HOST": "<POSTGRES_HOST>",
    "POSTGRES_PORT": "<POSTGRES_PORT>",
    "POSTGRES_USER": "<POSTGRES_USER>",
    "POSTGRES_DB": "<POSTGRES_DB>"
  }
}

Community score

Community41/ 100

from web signals · no reviews yet (community v3)

  • Web signals (ecosystem baseline)41/100 · 100% of the weight
Used it? Rate v0.1.2

No reviews yet — be the first.

What the web says

Ecosystem baseline41/ 100

Objective public usage & activity (formula v3) — the community score's web-signals input, and its own sort.

GitHub stars · 26 days ago
★ 1
Last commit · 26 days ago
124 days ago
Release cadence · 26 days ago
multiple releases a day
Latest release · 26 days ago
v0.1.2
License · 26 days ago
MIT
Packages

No package-registry data collected yet.

Listed on
Glama · 3 days ago
Listed ↗
Mentions
Quotes1
Docs & liveness
Namespace · 23 days ago
Registry-verified
Listing completeness · 23 days ago
100%
Version history1
  • 0.1.22026-05-23
Badge for your README

Shows this page's community score and its sample, kept current, and links readers here to review.

rateme12 community score badge

[![rateme12 community score](https://api.rateme12.com/servers/0a613120-0391-43b9-bb13-48cbfb1c82de/badge.svg)](https://rateme12.com/servers/0a613120-0391-43b9-bb13-48cbfb1c82de)
Details
Transport
stdio
Status
listed
Source
Imported from the MCP registry
Repository
source ↗