← Index

io.github.marcelo-ochoa/postgres

io.github.marcelo-ochoa/postgres·v1.0.8·Databases
Quality Score
83
/100

MCP server for interacting with PostgreSQL databases

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-postgres"
      ],
      "env": {
        "POSTGRES_USER": "<postgres_user>",
        "POSTGRES_PASSWORD": "<your-postgres_password>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-postgres"
      ],
      "env": {
        "POSTGRES_USER": "<postgres_user>",
        "POSTGRES_PASSWORD": "<your-postgres_password>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @marcelo-ochoa/server-postgres
§02  Environment variables
POSTGRES_USER

PostgreSQL user

POSTGRES_PASSWORD
secret

PostgreSQL password

§03  MCP Quality Score  ·  methodology
freshness
23
completeness
10
installability
25
documentation
15
stability
10
§04  Alternatives in Databases