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: 2 (Official MCP Registry, npm registry (MCP servers)). The last change we recorded was on 2026-11-19. As of our marketplace pass on 2026-11-30.
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: 1 491 (2026-11-19)
- npm downloads/month: 5 515 (2026-11-19)
- Latest version on npm: 0.3.1, published 2026-09-14
No known vulnerabilities in OSV for 0.3.1 (checked 2026-11-30)
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.
Popularity and downloads
Package downloads
npm:mcp-postgres-server
Source days in UTC; missing days stay empty. Use arrow keys to inspect observations; Escape closes the tooltip.
- 2026-10-1897
- 2026-10-190
- 2026-10-200
- 2026-10-21350
- 2026-10-22247
- 2026-10-23159
- 2026-10-24113
- 2026-10-25119
- 2026-10-26186
- 2026-10-27138
- 2026-10-28224
- 2026-10-29256
- 2026-10-30134
- 2026-10-3180
- 2026-11-01129
- 2026-11-02178
- 2026-11-03255
- 2026-11-04208
- 2026-11-05149
- 2026-11-06217
- 2026-11-07151
- 2026-11-0878
- 2026-11-09228
- 2026-11-10200
- 2026-11-11225
- 2026-11-12306
- 2026-11-13242
- 2026-11-14129
- 2026-11-1557
- 2026-11-16261
- 2026-11-17228
- 2026-11-18268
Show observations as a table
| Date | Value | Source period (UTC) | Source count last changed |
|---|---|---|---|
| 97 | 2026-11-17 14:58 UTC | ||
| 0 | 2026-11-17 14:58 UTC | ||
| 0 | 2026-11-17 14:58 UTC | ||
| 350 | 2026-11-17 14:58 UTC | ||
| 247 | 2026-11-17 14:58 UTC | ||
| 159 | 2026-11-17 14:58 UTC | ||
| 113 | 2026-11-17 14:58 UTC | ||
| 119 | 2026-11-17 14:58 UTC | ||
| 186 | 2026-11-17 14:58 UTC | ||
| 138 | 2026-11-17 14:58 UTC | ||
| 224 | 2026-11-17 14:58 UTC | ||
| 256 | 2026-11-17 14:58 UTC | ||
| 134 | 2026-11-17 14:58 UTC | ||
| 80 | 2026-11-17 14:58 UTC | ||
| 129 | 2026-11-17 14:58 UTC | ||
| 178 | 2026-11-17 14:58 UTC | ||
| 255 | 2026-11-17 14:58 UTC | ||
| 208 | 2026-11-17 14:58 UTC | ||
| 149 | 2026-11-17 14:58 UTC | ||
| 217 | 2026-11-17 14:58 UTC | ||
| 151 | 2026-11-17 14:58 UTC | ||
| 78 | 2026-11-17 14:58 UTC | ||
| 228 | 2026-11-17 14:58 UTC | ||
| 200 | 2026-11-17 14:58 UTC | ||
| 225 | 2026-11-17 14:58 UTC | ||
| 306 | 2026-11-17 14:58 UTC | ||
| 242 | 2026-11-17 14:58 UTC | ||
| 129 | 2026-11-17 14:58 UTC | ||
| 57 | 2026-11-17 14:58 UTC | ||
| 261 | 2026-11-17 14:58 UTC | ||
| 228 | 2026-11-19 15:34 UTC | ||
| 268 | 2026-11-19 15:34 UTC |
Older observation; not a fresh popularity headline.
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-11-17
- 2026-11-1751162026-10-18 / 2026-11-16
- 2026-11-1955152026-10-20 / 2026-11-18
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 5116 | 2026-10-18 / 2026-11-16 | 2026-11-17 14:58 UTC | |
| 5515 | 2026-10-20 / 2026-11-18 | 2026-11-19 15:34 UTC |
Older observation; not a fresh popularity headline.
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-11-17
- 2026-11-1714202026-11-10 / 2026-11-16
- 2026-11-1914912026-11-12 / 2026-11-18
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 1420 | 2026-11-10 / 2026-11-16 | 2026-11-17 14:58 UTC | |
| 1491 | 2026-11-12 / 2026-11-18 | 2026-11-19 15:34 UTC |
GitHub community
github.com/antonorlov/mcp-postgres-server
Confirmed 2026-11-29 16:39 UTC
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-11-17
- 2026-11-1710
- 2026-11-1910
- 2026-11-2110
- 2026-11-2210
- 2026-11-2410
- 2026-11-2610
- 2026-11-2710
- 2026-11-2910
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 10 | 2026-11-17 22:27 UTC | ||
| 10 | 2026-11-19 15:45 UTC | ||
| 10 | 2026-11-21 08:50 UTC | ||
| 10 | 2026-11-22 20:33 UTC | ||
| 10 | 2026-11-24 14:35 UTC | ||
| 10 | 2026-11-26 08:53 UTC | ||
| 10 | 2026-11-27 22:14 UTC | ||
| 10 | 2026-11-29 16:39 UTC |
Confirmed 2026-11-29 16:39 UTC
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-11-17
- 2026-11-1725
- 2026-11-1925
- 2026-11-2125
- 2026-11-2225
- 2026-11-2425
- 2026-11-2625
- 2026-11-2725
- 2026-11-2925
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 25 | 2026-11-17 22:27 UTC | ||
| 25 | 2026-11-19 15:45 UTC | ||
| 25 | 2026-11-21 08:50 UTC | ||
| 25 | 2026-11-22 20:33 UTC | ||
| 25 | 2026-11-24 14:35 UTC | ||
| 25 | 2026-11-26 08:53 UTC | ||
| 25 | 2026-11-27 22:14 UTC | ||
| 25 | 2026-11-29 16:39 UTC |
Downloads count registry requests, not installs or people. Each chart belongs to one package or repository. Gaps mean no observation; older history with an unknown carrier is not reassigned.
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): 5 515 Downloads/week (npm): 1 491 Forks (GitHub): 10 Stars (GitHub): 25 |
Not marked | |
| npm registry (MCP servers) (Open on npm) | Listed | 0.3.1 | Downloads/month (npm): 5 515 Downloads/week (npm): 1 491 Forks (GitHub): 10 Stars (GitHub): 25 |
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.
-
Read-only PostgreSQL MCP server. Drop-in replacement for the archived 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
-
awslabs.postgres-mcp-server
An AWS Labs Model Context Protocol (MCP) server for postgres
-
postgres io.github.ofershap/postgres
PostgreSQL MCP — query databases, inspect schemas, explain queries.
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.
-
An authenticated hosted MCP server that accesses your PlanetScale organizations, databases, branches, schema, and Insights data. Query against your data, surface slow queries, and…
Has a listing on Claude Code: claude-plugins-official (5)
-
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.
-
An authenticated hosted MCP server that accesses your PlanetScale organizations, databases, branches, schema, and Insights data. Query against your data, surface slow queries, and…
-
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…
-
Hosted MCP server for AI-assisted Grafana Cloud observability — no local installation required.
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)
-
Token-efficient MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, SQLite
-
neon-postgres
Manage your Neon backend with the Neon agent skills and the Neon MCP Server: Lakebase Postgres, Managed Better Auth, Realtime, Object Storage, Functions, the Data API, and AI…
-
Local and cloud workflows for running Postgres with clickhousectl — local Docker-backed Postgres for development (start, psql client, .env wiring, lifecycle) and managed…
-
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…
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.
-
Microsoft Dataverse plugin for coding agents, covering record CRUD, bulk data operations, advanced queries, schema and metadata, administration, security, environment management…
-
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
Has a listing on Cursor: cursor/plugins (5)
-
Deploy and manage projects, environments, deployments, domains, logs, cron jobs, security scans, templates, and sandboxes on NodeOps CreateOS.
-
Let Grok Bot reach MCP servers on your private Tailscale network: connect your own tailnet, or your team's company tailnets turned on by a team admin, with each member using their…
-
Create and run persistent agent runtimes, publish ports, and manage egress, checkpoints, and images in Runta.
-
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.
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.
-
mongodb-mcp-server io.github.mongodb-js/mongodb-mcp-server
Official MongoDB MCP server: let AI agents search and manage databases and the Atlas data platform
-
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.
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.
-
Read-only PostgreSQL MCP server. Drop-in replacement for the archived 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
Has a listing on PyPI (MCP servers) (5)
-
awslabs.postgres-mcp-server
An AWS Labs Model Context Protocol (MCP) server for postgres
-
mcpg io.github.devopam/mcpg
Production-grade PostgreSQL MCP server — 279 tools for query, tuning & ops, read-only by default.
-
Schema-driven generator for safe, scoped PostgreSQL DML tools in FastMCP agent systems
-
Universal Relational Database Model Context Protocol (MCP) Server powered by SQLAlchemy & FastMCP
-
Read-only PostgreSQL surface for an LLM agent over the MCP protocol, with defense-in-depth at parser, executor, DB-role, and transport layers.
Has a listing on npm registry (MCP servers) (5)
-
ainative-postgres-mcp io.github.AINative-Studio/ainative-postgres-mcp
Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.
-
Read-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres.
-
A Model Context Protocol (MCP) server that provides comprehensive PostgreSQL database management capabilities for AI assistants
-
read-only-local-postgres-mcp-server capital.hove/read-only-local-postgres-mcp-server
MCP server for read-only PostgreSQL database queries in Claude Desktop
-
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
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.
Compared side by side
Want this mark on your plugin in our catalog?
Prove you maintain it with a file in its repository, a file on your domain or a DNS record, and you can show this mark on the card, with live banners for your site and README. How verification works
You also 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.
Prefer to verify by email? Ask us for a DNS or website-file verification token.
Data comes from the Official MCP Registry (registry.modelcontextprotocol.io), CC0 1.0. Package data comes from the public npm registry (registry.npmjs.org). Figures come from our own regular passes over the marketplaces, last read on . We publish no contact details for plugin publishers.