MCPg

devopam/MCPg
★ 4 stars Python Database Updated today
Postgres MCP Server
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcpg": {
      "command": "uvx",
      "args": [
        "mcpg"
      ]
    }
  }
}

Or install with pip: pip install mcpg

README Excerpt

**A production-grade [Model Context Protocol](https://modelcontextprotocol.io) server for PostgreSQL.** Lets AI agents safely inspect, query, operate, and tune a Postgres database — over 100 tools spanning catalog introspection, query intelligence, natural-language SQL, structural diffs, hybrid search,

Tools (20)

ANTHROPIC_API_KEYMCPG_ACCESS_MODEMCPG_ALLOWED_ROLESMCPG_ALLOW_DDLMCPG_ALLOW_INSECURE_TLSMCPG_ALLOW_LISTENMCPG_ALLOW_SHELLMCPG_AUDIT_HMAC_KEYMCPG_AUDIT_INTEGRITYMCPG_AUDIT_PERSISTMCPG_AUDIT_REDACT_KEYSMCPG_AUTH_MODEMCPG_CACHE_ENABLEDMCPG_CACHE_MAXSIZEMCPG_CACHE_TTL_SECONDSMCPG_DATABASE_URLMCPG_DEFAULT_ROLEMCPG_ENABLE_HEAVY_DIAGNOSTICSMCPG_HTTP_ALLOWED_ORIGINSMCPG_HTTP_AUTH_TOKEN
📊
Working with market or time-series data?
The Polymarket Historical Dataset — 18.5M+ price snapshots across 18,600+ prediction markets (CSV + SQLite). Built for backtesting & ML.
View dataset →