Read-only Postgres: drop-in for the archived server-postgres, with schema context.
Connect Runs on your machine
claude mcp add postgres-mcp -e DATABASE_URL=<DATABASE_URL> -- npx -y @contextflo/[email protected]
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@contextflo/[email protected]"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@contextflo/[email protected]"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
DATABASE_URLRequired, secret | Postgres connection string. Use a read-only role. |
Details
| Package | @contextflo/[email protected] (NPM, stdio) |
| First published | 28 Sep 2026 |
| Last updated | 28 Sep 2026 |
| Registry name | io.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.
