NestDaddy

Postgres (read-only)

io.github.contextflo/postgres-mcp · v0.1.4

Read-only Postgres: drop-in for the archived server-postgres, with schema context.

Connect Runs on your machine

Terminal
claude mcp add postgres-mcp -e DATABASE_URL=<DATABASE_URL> -- npx -y @contextflo/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@contextflo/[email protected]"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@contextflo/[email protected]"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "postgres-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@contextflo/[email protected]"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
DATABASE_URL
Required, secret
Postgres connection string. Use a read-only role.

Details

Package@contextflo/[email protected] (NPM, stdio)
First published28 Sep 2026
Last updated28 Sep 2026
Registry nameio.github.contextflo/postgres-mcp

More databases servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.