pgmcp
An MCP server to query any Postgres database in natural language.
- 541 stars
- 63 forks
- 2 open issues
- Language: Go
- License: NOASSERTION
- updated
Install
git clone https://github.com/subnetmarco/pgmcp{
"mcpServers": {
"pgmcp": {
"command": "pgmcp"
}
}
}{
"mcpServers": {
"pgmcp": {
"command": "pgmcp"
}
}
}- Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
- Replace any <placeholder> values with your API keys or paths.
- Restart Claude. The MCP server and its tools appear automatically.
Install the binary first: go install github.com/subnetmarco/pgmcp@latest (make sure it ends up on your PATH).
MCP Servers overview
What people ask about pgmcp
What is subnetmarco/pgmcp?
subnetmarco/pgmcp is mcp servers for the Claude AI ecosystem. An MCP server to query any Postgres database in natural language. It has 541 GitHub stars and its last recorded update is dated 2026-05-26.
How do I install pgmcp?
You can install pgmcp by cloning the repository (https://github.com/subnetmarco/pgmcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is subnetmarco/pgmcp safe to use?
Our security agent has analyzed subnetmarco/pgmcp and assigned a Trust Score of 77/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains subnetmarco/pgmcp?
subnetmarco/pgmcp is maintained by subnetmarco. The last recorded GitHub activity is dated 2026-05-26, with 2 open issues.
Are there alternatives to pgmcp?
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.