Postgres MCP

by crystaldba• 3.4k•• Scanned•Claim this listing•Request removal

Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.

Postgres MCP is an open-source mcp server by crystaldba, written mainly in Python, with 3,447 GitHub stars and the MIT license. Its code was last updated Aug 17, 2026. The latest PyPI release is postgres-mcp 0.3.0, published May 16, 2025, with 128,395 downloads last week.

Scan summary: scanned Nov 5, 2026 at commit 15c8e33. Seen able to connect to the internet. Scan policy

How to install Postgres MCP

Built from the start command in the project's README: uvx postgres-mcp --access-mode=unrestricted. Check the README for required keys or settings.

Claude Code · Terminal
claude mcp add postgres-mcp -- uvx postgres-mcp --access-mode=unrestricted
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "postgres-mcp": {
      "command": "uvx",
      "args": [
        "postgres-mcp",
        "--access-mode=unrestricted"
      ]
    }
  }
}
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "postgres-mcp": {
      "command": "uvx",
      "args": [
        "postgres-mcp",
        "--access-mode=unrestricted"
      ]
    }
  }
}
VS Code · Terminal
code --add-mcp '{"name":"postgres-mcp","command":"uvx","args":["postgres-mcp","--access-mode=unrestricted"]}'

What Postgres MCP can touch

  • Run shell commandsNot seen in this scan
  • Run dynamic codeNot seen in this scan
  • Read or write filesNot seen in this scan
  • Read environment and secretsNot seen in this scan
  • Control a web browserNot seen in this scan
  • Connect to databasesLikely, from its own description
  • Read or send messagesNot seen in this scan
  • Touch money or tradingNot seen in this scan
  • Connect to the internetFound in the code by our scan

"Not seen" means our checks did not find it, and the tool may still do it. Covers commit 15c8e33, Nov 5, 2026. See the scan policy.

Before you install Postgres MCP

AgenticMart scanned Postgres MCP on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.

What it can access

  • An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.
  • Based on its description and topics, it likely needs to connect to a database.

Before you install

  1. Give it a read-only database user unless it must write.
  2. Pin the version you reviewed instead of always installing the latest release.
  3. Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
  • Maintained by crystaldba on GitHub, 3,447 stars and 397 forks. Popularity is not proof of safety.
  • Last code change: Aug 17, 2026.
  • Open-source license: MIT.

Postgres MCP is an open-source mcp server by crystaldba, written mainly in Python. Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.

At a glance

Stars
3.4k
Forks
397
Language
Python
License
MIT
Created
Mar 2025
Last update
Aug 17, 2026
Type
MCP Server
Price
Free

Questions about Postgres MCP

What is Postgres MCP?

Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.

Who maintains Postgres MCP?

Postgres MCP is maintained by crystaldba on GitHub (crystaldba/postgres-mcp). AgenticMart lists it from public repository data.

Is Postgres MCP safe to use?

AgenticMart scanned Postgres MCP on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.

What license does Postgres MCP use?

It is published under the MIT license.

Postgres MCP alternatives

View more →

Similar mcp servers in Database Management, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Postgres MCP (this page)
crystaldba
3.4kMITAug 17, 2026Scanned, no flagged issues
Codebase Memory MCP
DeusData
48kMITNov 1, 2026Scanned, see report
Xerj
xerj-org
19kApache-2.0Nov 1, 2026Scanned, no flagged issues
MCP Toolbox
googleapis
17kApache-2.0Nov 1, 2026Scanned, no flagged issues
Nightingale
ccfos
13kApache-2.0Oct 30, 2026Scanned, no flagged issues
Dbhub
bytebase
3.8kMITOct 26, 2026Scanned, no flagged issues