LocalFree server, account needed

MCPg MCP server

devopam/MCPg

PostgreSQL catalog introspection, AST-validated query execution, index tuning, natural-language SQL, and pgvector, TimescaleDB and AGE integrations.

14 GitHub stars1 forks

Install MCPg in Claude Code

Claude Code
claude mcp add mcpg -- uvx mcpg
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "mcpg": {
      "command": "uvx",
      "args": [
        "mcpg"
      ]
    }
  }
}

Frequently asked questions

What does the MCPg MCP server do?

PostgreSQL catalog introspection, AST-validated query execution, index tuning, natural-language SQL, and pgvector, TimescaleDB and AGE integrations.

Is the MCPg MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does MCPg run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add MCPg to Claude Code?

Run: claude mcp add mcpg -- uvx mcpg

More databases MCP servers

View all