postgresql-mcp-server

MCP server · PyPI · ★ 1 · graded 2026-10-22Source linked

Python MCP server for PostgreSQL database inspection and querying

No outside reports on file

postgresql-mcp-server connects to external service APIs; restrict its folder reach, network access, and credentials before installing.

Based on public adoption and transparency signals as of Oct 21, 2026. Our opinion, not a code audit or security guarantee.

Was this verdict for PostgreSQL MCP Server helpful?

What it can access

  • Local filesNo local folder access notedLOW
  • Command executionNo shell command runner notedLOW
  • Network reachConnects to outside service APINOTED
  • CredentialsNo API token requiredLOW
  • Package sourcePyPI (mdev-postgresql-mcp-server)PUBLIC

Inferred from this listing’s public package details and description. Check the project’s source before installing.

Install

uvx mdev-postgresql-mcp-server

All setup options ↓

About PostgreSQL MCP Server

PostgreSQL MCP Server is an MCP server focused on Data & databases and Cloud & infrastructure: Python MCP server for PostgreSQL database inspection and querying.

It is published on PyPI as mdev-postgresql-mcp-server and hosted on GitHub at musaddiq-dev/postgresql-mcp-server (1 GitHub stars). Based on its public metadata, its operational scope includes: connects to outside service api.

Setup

These use the package this listing points to. Check the project’s own instructions before running anything.

PyPI command

uvx mdev-postgresql-mcp-server

PyPI (pip) command

pip install mdev-postgresql-mcp-server

MCP client config

For Claude Desktop (claude_desktop_config.json) or Cursor (.cursor/mcp.json).

json
{
  "mcpServers": {
    "mdev-postgresql-mcp-server": {
      "command": "uvx",
      "args": [
        "mdev-postgresql-mcp-server"
      ]
    }
  }
}

Why this grade

DD — High risk signals

Signal-based grade (1/7 points): public source code. This reflects adoption and transparency, not a code review.

Popularity and upkeep

11/100
GitHub stars
1
Listing last refreshed
2026-10-29

These are public popularity signals, not a maintenance check. Look at the repository’s commit history and open issues.

Security reports

No reports found for this package in our research (last checked 2026-10-29).

Check a specific version →

Risks to watch for

  • External API & account scope: Connects to third-party service APIs. Use a dedicated, least-privilege token scoped only to the workspaces or repositories this tool needs.
  • Dependency & version pinning: Distributed via PyPI (mdev-postgresql-mcp-server). Pin an exact release version or commit SHA rather than floating tags so upstream updates are reviewed first.

How to lower the risk

Least-privilege permissions

  • Give it access only to the specific folders, accounts or projects it needs, never your whole drive or admin account.
  • Use a separate, limited API key or login just for this tool so you can switch it off without affecting anything else.

Network isolation

  • Run it on a work computer or sandbox account, not one holding personal or company-sensitive data.
  • If your IT team can, limit which websites and services it is allowed to contact.

Monitoring

  • Check its activity history or logs weekly at first, and look at what it changed or sent.
  • Turn on alerts for new logins or unusual usage on any account it connects to.

Red flags to watch for

  • It asks for more access than its job requires, or prompts you to paste passwords.
  • It suddenly updates with new owners, or starts contacting unfamiliar websites.

Questions

How do I install PostgreSQL MCP Server?

Run uvx mdev-postgresql-mcp-server (or pip install mdev-postgresql-mcp-server) in your terminal, or add the server entry to your claude_desktop_config.json or .cursor/mcp.json as shown in the Setup section on this page. Full setup docs and environment variables are in github.com/musaddiq-dev/postgresql-mcp-server.

Are there security reports about PostgreSQL MCP Server?

No reports found for this package in our research (last checked 2026-10-29). PostgreSQL MCP Server currently holds Grade D (High risk signals) based on public adoption and transparency signals. Review the permissions and source repository before granting access to local files, shell commands, or API keys.

Is PostgreSQL MCP Server actively maintained?

PostgreSQL MCP Server has 1 GitHub stars. Our directory data was last refreshed on 2026-10-29. Check recent commit activity, release tags, and open issues at github.com/musaddiq-dev/postgresql-mcp-server before pinning it in production.

What are alternatives to PostgreSQL MCP Server?

Compare PostgreSQL MCP Server side by side with similar MCP servers in the Related tools section on this page, or browse all MCP servers on AgentArmorHQ.

README badge and team notes

Maintain or use PostgreSQL MCP Server? Show its live grade in your GitHub README, docs site, or run a check from the terminal before you install.

AgentArmorHQ Risk Grade D for PostgreSQL MCP Server

GitHub README Markdown:

markdown
[![AgentArmorHQ Risk Grade for PostgreSQL MCP Server](https://agentarmorhq.com/api/badge/musaddiq-dev-postgresql-mcp-server)](https://agentarmorhq.com/skills/musaddiq-dev-postgresql-mcp-server)

HTML embed:

html
<a href="https://agentarmorhq.com/skills/musaddiq-dev-postgresql-mcp-server"><img src="https://agentarmorhq.com/api/badge/musaddiq-dev-postgresql-mcp-server" alt="AgentArmorHQ Risk Grade for PostgreSQL MCP Server" height="20" /></a>

Terminal check:

terminal
curl -fsSL https://agentarmorhq.com/api/cli | node --input-type=module - check "musaddiq-dev-postgresql-mcp-server"

Share with your security lead

Need sign-off to use postgresql-mcp-server? Copy this note for Slack, a ticket or a pull request.

### AgentArmorHQ Security Review Memo: postgresql-mcp-server
- **Listing URL:** https://agentarmorhq.com/skills/musaddiq-dev-postgresql-mcp-server
- **Type:** App connector
- **Risk Grade:** Grade D (High risk signals)
- **Outside Security Advisories on File:** 0
- **Public Adoption:** 1 GitHub stars

#### Permission & Blast-Radius Signals
- **Local files:** No local folder access noted
- **Command execution:** No shell command runner noted
- **Network reach:** Connects to outside service API
- **Credentials:** No API token required
- **Package source:** PyPI (mdev-postgresql-mcp-server)

#### Recommended Hardened Setup
- **Command:** `uvx mdev-postgresql-mcp-server`
- **Controls:** Pin an exact version in `.mcp.json`, scope access to a single workspace folder, and use a least-privilege read-only token where supported.

_Based on public adoption and transparency signals as of Oct 21, 2026. Our opinion, not a code audit or security guarantee._

Key facts

Type
App connector
Publisher
musaddiq-dev
Source code
github.com/musaddiq-dev/postgresql-mcp-server
Install command
pip install mdev-postgresql-mcp-server
Est. context load
~850 tokens / turn (~5 tool schemas, 0.43% of 200k context)
Popularity
1 GitHub stars
Last updated
2026-10-29
Last graded
2026-10-22

Community

Discussions for PostgreSQL MCP Server

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Was this listing for PostgreSQL MCP Server helpful?

Check before you install, in Claude

Your assistant answers Block, Review or No known issues for any package before it installs it.

Get this check inside Claude