PostgreSQL
MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion.
MCP server · by antonorlov
About
PostgreSQL is an MCP server published by antonorlov. Marketplaces we read that list it: 1 (Official MCP Registry). We first saw it on 2026-10-11 and have recorded no change since. As of our marketplace pass on 2026-10-13.
What it asks for
- Runs on your machine
- Secrets: 4
- Settings: 22
Requires: DATABASE_URL (secret), PG_PASSWORD (secret), PG_SSH_PASSPHRASE (secret), PG_SSH_PASSWORD (secret)
What it declares, asks for and runs, in full
Only install plugins from developers you trust. We list what marketplaces publish and do not test plugins.
Package
npm mcp-postgres-server (mcp-postgres-server on npm)
- npm downloads/week: 889 (2026-10-13)
- npm downloads/month: 6 700 (2026-10-13)
- Latest version on npm: 0.3.1, published 2026-09-14
No known vulnerabilities in OSV for 0.3.1 (checked 2026-10-13)
npm facts come from the public npm registry (registry.npmjs.org, api.npmjs.org). Each figure is the registry's own and is never added to another. A registry that publishes no figure shows none: no number is not zero. Vulnerability records come from OSV.dev (CC BY 4.0) and concern the declared version only; a listing that declares no version gets no answer. We do not scan code.
Works with
- Claude Code
- Codex
- Cursor
- VS Code
- Copilot CLI
From the marketplaces that list it and the MCP transport it declares, as each client documents them. We do not test plugins.
Connect
Commands and configs built only from what its marketplaces declare. We do not run them for you and do not test plugins.
As a local MCP server: npm package
Built from what Official MCP Registry declares.
claude mcp add --env "DATABASE_URL=<YOUR_DATABASE_URL>" --env "PG_PASSWORD=<YOUR_PG_PASSWORD>" --env "PG_SSH_PASSPHRASE=<YOUR_PG_SSH_PASSPHRASE>" --env "PG_SSH_PASSWORD=<YOUR_PG_SSH_PASSWORD>" --transport stdio mcp-postgres-server -- npx -y mcp-postgres-server
[mcp_servers.mcp-postgres-server]
command = "npx"
args = ["-y", "mcp-postgres-server"]
[mcp_servers.mcp-postgres-server.env]
DATABASE_URL = "<YOUR_DATABASE_URL>"
PG_PASSWORD = "<YOUR_PG_PASSWORD>"
PG_SSH_PASSPHRASE = "<YOUR_PG_SSH_PASSPHRASE>"
PG_SSH_PASSWORD = "<YOUR_PG_SSH_PASSWORD>"
{
"mcpServers": {
"mcp-postgres-server": {
"command": "npx",
"args": [
"-y",
"mcp-postgres-server"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>",
"PG_PASSWORD": "<YOUR_PG_PASSWORD>",
"PG_SSH_PASSPHRASE": "<YOUR_PG_SSH_PASSPHRASE>",
"PG_SSH_PASSWORD": "<YOUR_PG_SSH_PASSWORD>"
}
}
}
}
Replace the values in angle brackets with your own. We show the names of the settings, never values.
Optional settings it also lists: PG_ALLOW_WRITE, PG_CONNECT_TIMEOUT, PG_DATABASE, PG_ENABLE_RUNTIME_CONNECT, PG_HOST, PG_MAX_RESULT_BYTES, PG_PORT, PG_SSH_AGENT, PG_SSH_FINGERPRINT, PG_SSH_HOST, PG_SSH_KEEPALIVE_INTERVAL, PG_SSH_PORT, PG_SSH_PRIVATE_KEY, PG_SSH_USER, PG_SSLMODE, PG_SSL_CA, PG_STATEMENT_TIMEOUT, PG_USER.
Where it is published
| Marketplace | Status | Version | Figures | Verified | First seen |
|---|---|---|---|---|---|
| Official MCP Registry (Open the registry record) | Listed | 0.3.1 | Downloads/month (npm): 6 700 Downloads/week (npm): 889 Forks (GitHub): 10 Stars (GitHub): 23 |
Not marked |
Each figure is the marketplace's own and is never added up across marketplaces. A marketplace that publishes no figure shows none: no number is not zero.
What changed
Nothing has moved on this plugin since we started watching it.
Similar plugins
Products whose own names, descriptions, tools and skills are closest in meaning to this one, on every marketplace we read. Closeness is ranked within this list only.
-
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
-
ainative-postgres-mcp io.github.AINative-Studio/ainative-postgres-mcp
Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.
-
PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management
-
PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
-
postgres io.github.marcelo-ochoa/postgres
MCP server for interacting with PostgreSQL databases
-
database-mcp-postgres io.github.arifulislamat/database-mcp-postgres
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
-
Enterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations
-
postgres io.github.ofershap/postgres
PostgreSQL MCP — query databases, inspect schemas, explain queries.
-
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
-
PostgreSQL DBA tools over MCP, scoped to one database and one schema.
Similar plugins by marketplace
The same question asked of one marketplace at a time: is there an analog of this plugin there?
Has a listing on Claude Code: claude-plugins-community (5)
-
Create, connect, and interact with an AlloyDB for PostgreSQL database and data.
-
Zero-config MCP server for searchable documentation. SQLite or PostgreSQL.
-
Prisma MCP integration for Postgres database management, schema migrations, SQL queries, and connection string management. Provision Prisma Postgres databases, run migrations, and…
-
Manage your Neon projects and databases with the neon-postgres agent skill and the Neon MCP Server.
-
Easily deploy managed PostgreSQL (pg), Kafka, OpenSearch, Clickhouse and other databases, streaming and apps. Free tier available, up and running in minutes.
Has a listing on Claude Code: claude-plugins-official (4)
-
Create, connect, and interact with an AlloyDB for PostgreSQL database and data.
-
Prisma MCP integration for Postgres database management, schema migrations, SQL queries, and connection string management. Provision Prisma Postgres databases, run migrations, and…
-
Manage your Neon projects and databases with the neon-postgres agent skill and the Neon MCP Server.
-
Easily deploy managed PostgreSQL (pg), Kafka, OpenSearch, Clickhouse and other databases, streaming and apps. Free tier available, up and running in minutes.
Has a listing on Claude: knowledge-work-plugins (5)
-
Prisma MCP integration for Postgres database management, schema migrations, SQL queries, and connection string management. Provision Prisma Postgres databases, run migrations, and…
-
An authenticated hosted MCP server that accesses your PlanetScale organizations, databases, branches, schema, and Insights data. Query against your data, surface slow queries, and…
-
Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database…
-
Connect Claude to your ClickHouse Cloud databases. Browse organizations, services, databases, and table schemas. Run read-only SQL queries against your data and get instant…
-
Deploy, debug, and monitor applications on Render. Includes skills, an agent, slash commands, and a render.yaml validation hook.
Has a listing on Codex: openai-curated (openai/plugins) (5)
-
Manage Supabase projects directly through ChatGPT. Execute SQL queries on PostgreSQL databases, design and modify table schemas, deploy serverless edge functions, and configure…
-
Cloudflare platform plugin with curated skills for Workers, Wrangler, and Agents SDK plus the official Cloudflare API MCP server.
-
Comprehensive skill for the entire Temporal lifecycle — developing applications, using the Temporal CLI, running and managing Temporal Server, and working with Temporal Cloud.
-
Available for US1 customers only. Analyze, investigate, and act on your Datadog telemetry directly from ChatGPT using natural language. Ask questions about your production…
-
CrowdStrike Falcon Foundry development skills for building cybersecurity applications on the Falcon platform. Includes UI development, collections, functions, workflows, API…
Has a listing on Community GitHub marketplaces (5)
-
Local and cloud workflows for running Postgres with clickhousectl — local Docker-backed Postgres for development (start, psql client, .env wiring, lifecycle) and managed…
-
Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.
-
Create, connect, and interact with an AlloyDB for PostgreSQL database and data.
-
Easily deploy managed PostgreSQL (pg), Kafka, OpenSearch, Clickhouse and other databases, streaming and apps. Free tier available, up and running in minutes.
-
Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database…
Has a listing on Copilot CLI: github/awesome-copilot (5)
-
Expert PostgreSQL guidance and live database tools for Postgres anywhere, including local, self-hosted, containers, on-premises, AWS, Google Cloud, Azure Database for PostgreSQL…
-
Database administration, SQL optimization, and data management tools for PostgreSQL, SQL Server, and general database development best practices.
-
Connect GitHub Copilot to your CockroachDB clusters: run and explore SQL through MCP, with DBA/Developer/Operator agents, CockroachDB best-practice skills, and safety hooks that…
-
oracle-to-postgres-migration-expert
Expert agent for Oracle-to-PostgreSQL application migrations in .NET solutions. Performs code edits, runs commands, and invokes extension tools to migrate .NET/Oracle data access…
-
Complete toolkit for building Model Context Protocol (MCP) servers in Go using the official github.com/modelcontextprotocol/go-sdk. Includes instructions for best practices, a…
Has a listing on Copilot CLI: github/copilot-plugins (5)
-
mcp-apps
Generate MCP App widgets for MCP tools. Produces self-contained HTML widgets using the MCP Apps protocol.
-
Build Power Apps Canvas Apps using the Canvas Authoring MCP server.
-
model-apps
Build and deploy Power Apps generative pages for model-driven apps with specialist agents for planning, entity creation, and parallel code generation. Requires PAC CLI >= 2.7.0…
-
mobile-app
Build and deploy Power Apps code apps for mobile using Expo (React Native), with native device functionality and Power Platform connectors
-
code-apps-preview
Build and deploy Power Apps code apps using React, Vite, and Power Platform connectors.
Has a listing on Cursor: cursor/plugins (5)
-
Work with PostHog from chat: query product analytics and run SQL, manage feature flags and experiments, triage error tracking issues, and review session replays, surveys, and…
-
Fan large tasks out across parallel cloud agents with planners, workers, verifiers, and structured handoffs.
-
Build apps, scripts, and automations with the TypeScript SDK.
-
Query, create, and update records in your org.
-
Search docs, read pages, and update tables.
Has a listing on Docker MCP Catalog (5)
-
Database interaction and business intelligence capabilities.
-
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
-
Enable AI agents to manage, monitor, and query CockroachDB using natural language. Perform complex database operations, cluster management, and query execution seamlessly through…
-
Connect to Oracle databases via MCP, providing secure read-only access with support for schema exploration, query execution, and metadata inspection.
-
mcp-server-couchbase io.github.Couchbase-Ecosystem/mcp-server-couchbase
Couchbase Model Context Protocol Server to interact with Couchbase clusters
Has a listing on Official MCP Registry (5)
-
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
-
ainative-postgres-mcp io.github.AINative-Studio/ainative-postgres-mcp
Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.
-
PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management
-
PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
-
postgres io.github.marcelo-ochoa/postgres
MCP server for interacting with PostgreSQL databases
Found by meaning, not by shared code or a shared repository: similar plugins stay separate products, and this is not a review or a recommendation.
Is this your plugin?
Add it to your projects and prove you maintain it with a file in its repository, a file on your domain or a DNS record. You get alerts when a marketplace lists it, drops it, changes its verified mark or what it asks for, and its remote endpoint goes on monitoring as a web service.
Data comes from the Official MCP Registry (registry.modelcontextprotocol.io), CC0 1.0. Figures come from our own regular passes over the marketplaces, last read on . We publish no contact details for plugin publishers.