Pg MCP Server

by ericzakariasson• 179•• Scanned•Claim this listing•Request removal

MCP Server for Postgres

Pg MCP Server is an open-source mcp server by ericzakariasson, written mainly in TypeScript, with 179 GitHub stars and the MIT license. Its code was last updated Aug 19, 2026. The latest npm release is pg-mcp-server 0.3.0, published Nov 3, 2025, with 488 downloads last week.

Scan summary: scanned Nov 5, 2026 at commit 6cf1ed7. No capabilities flagged by our checks. Scan policy

How to install Pg MCP Server

Built from the start command in the project's README: npx --yes pg-mcp-server --transport stdio. Check the README for required keys or settings.

Claude Code · Terminal
claude mcp add pg-mcp-server -- npx --yes pg-mcp-server --transport stdio
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "pg-mcp-server": {
      "command": "npx",
      "args": [
        "--yes",
        "pg-mcp-server",
        "--transport",
        "stdio"
      ]
    }
  }
}
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "pg-mcp-server": {
      "command": "npx",
      "args": [
        "--yes",
        "pg-mcp-server",
        "--transport",
        "stdio"
      ]
    }
  }
}
VS Code · Terminal
code --add-mcp '{"name":"pg-mcp-server","command":"npx","args":["--yes","pg-mcp-server","--transport","stdio"]}'

What Pg MCP Server 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 internetNot run in this scan

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

Before you install Pg MCP Server

AgenticMart scanned Pg MCP Server 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 ericzakariasson on GitHub, 179 stars and 13 forks. Popularity is not proof of safety.
  • Last code change: Aug 19, 2026.
  • Open-source license: MIT.

Pg MCP Server is an open-source mcp server by ericzakariasson, written mainly in TypeScript. MCP Server for Postgres

At a glance

Stars
179
Forks
13
Language
TypeScript
License
MIT
Created
Aug 2025
Last update
Aug 19, 2026
Type
MCP Server
Price
Free

Questions about Pg MCP Server

What is Pg MCP Server?

MCP Server for Postgres

Who maintains Pg MCP Server?

Pg MCP Server is maintained by ericzakariasson on GitHub (ericzakariasson/pg-mcp-server). AgenticMart lists it from public repository data.

Is Pg MCP Server safe to use?

AgenticMart scanned Pg MCP Server 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 Pg MCP Server use?

It is published under the MIT license.

Pg MCP Server 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
Pg MCP Server (this page)
ericzakariasson
179MITAug 19, 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