sw-postgres-mcp
Safe-write Postgres MCP server with preview-before-execute writes and rollback safety.
MCP server · by jpka
About
sw-postgres-mcp is an MCP server published by jpka. Marketplaces we read that list it: 1 (Official MCP Registry). The last change we recorded was on 2026-11-19. As of our marketplace pass on 2026-12-01.
What it asks for
- Runs on your machine
- Secrets: 2
- Settings: 2
Requires: DATABASE_URL_READONLY (secret), DATABASE_URL_WRITER (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 sw-postgres-mcp (sw-postgres-mcp on npm)
- npm downloads/week: 65 (2026-11-19)
- npm downloads/month: 222 (2026-11-19)
- Latest version on npm: 0.3.1, published 2026-08-15
No known vulnerabilities in OSV for 0.3.1 (checked 2026-12-02)
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_READONLY=<YOUR_DATABASE_URL_READONLY>" --env "DATABASE_URL_WRITER=<YOUR_DATABASE_URL_WRITER>" --transport stdio sw-postgres-mcp -- npx -y sw-postgres-mcp
[mcp_servers.sw-postgres-mcp]
command = "npx"
args = ["-y", "sw-postgres-mcp"]
[mcp_servers.sw-postgres-mcp.env]
DATABASE_URL_READONLY = "<YOUR_DATABASE_URL_READONLY>"
DATABASE_URL_WRITER = "<YOUR_DATABASE_URL_WRITER>"
{
"mcpServers": {
"sw-postgres-mcp": {
"command": "npx",
"args": [
"-y",
"sw-postgres-mcp"
],
"env": {
"DATABASE_URL_READONLY": "<YOUR_DATABASE_URL_READONLY>",
"DATABASE_URL_WRITER": "<YOUR_DATABASE_URL_WRITER>"
}
}
}
}
Replace the values in angle brackets with your own. We show the names of the settings, never values.
Popularity and downloads
Package downloads
npm:sw-postgres-mcp
Source days in UTC; missing days stay empty. Use arrow keys to inspect observations; Escape closes the tooltip.
- 2026-10-183
- 2026-10-190
- 2026-10-200
- 2026-10-214
- 2026-10-221
- 2026-10-238
- 2026-10-246
- 2026-10-257
- 2026-10-265
- 2026-10-273
- 2026-10-2818
- 2026-10-2913
- 2026-10-308
- 2026-10-315
- 2026-11-014
- 2026-11-026
- 2026-11-0311
- 2026-11-044
- 2026-11-059
- 2026-11-0610
- 2026-11-0712
- 2026-11-086
- 2026-11-097
- 2026-11-104
- 2026-11-116
- 2026-11-124
- 2026-11-1316
- 2026-11-146
- 2026-11-1510
- 2026-11-1616
- 2026-11-174
- 2026-11-189
Show observations as a table
| Date | Value | Source period (UTC) | Source count last changed |
|---|---|---|---|
| 3 | 2026-11-17 21:03 UTC | ||
| 0 | 2026-11-17 21:03 UTC | ||
| 0 | 2026-11-17 21:03 UTC | ||
| 4 | 2026-11-17 21:03 UTC | ||
| 1 | 2026-11-17 21:03 UTC | ||
| 8 | 2026-11-17 21:03 UTC | ||
| 6 | 2026-11-17 21:03 UTC | ||
| 7 | 2026-11-17 21:03 UTC | ||
| 5 | 2026-11-17 21:03 UTC | ||
| 3 | 2026-11-17 21:03 UTC | ||
| 18 | 2026-11-17 21:03 UTC | ||
| 13 | 2026-11-17 21:03 UTC | ||
| 8 | 2026-11-17 21:03 UTC | ||
| 5 | 2026-11-17 21:03 UTC | ||
| 4 | 2026-11-17 21:03 UTC | ||
| 6 | 2026-11-17 21:03 UTC | ||
| 11 | 2026-11-17 21:03 UTC | ||
| 4 | 2026-11-17 21:03 UTC | ||
| 9 | 2026-11-17 21:03 UTC | ||
| 10 | 2026-11-17 21:03 UTC | ||
| 12 | 2026-11-17 21:03 UTC | ||
| 6 | 2026-11-17 21:03 UTC | ||
| 7 | 2026-11-17 21:03 UTC | ||
| 4 | 2026-11-17 21:03 UTC | ||
| 6 | 2026-11-17 21:03 UTC | ||
| 4 | 2026-11-17 21:03 UTC | ||
| 16 | 2026-11-17 21:03 UTC | ||
| 6 | 2026-11-17 21:03 UTC | ||
| 10 | 2026-11-17 21:03 UTC | ||
| 16 | 2026-11-17 21:03 UTC | ||
| 4 | 2026-11-19 18:16 UTC | ||
| 9 | 2026-11-19 18:16 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-172122026-10-18 / 2026-11-16
- 2026-11-192222026-10-20 / 2026-11-18
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 212 | 2026-10-18 / 2026-11-16 | 2026-11-17 21:03 UTC | |
| 222 | 2026-10-20 / 2026-11-18 | 2026-11-19 18:16 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-17622026-11-10 / 2026-11-16
- 2026-11-19652026-11-12 / 2026-11-18
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 62 | 2026-11-10 / 2026-11-16 | 2026-11-17 21:03 UTC | |
| 65 | 2026-11-12 / 2026-11-18 | 2026-11-19 18:16 UTC |
GitHub community
github.com/jpka/sw-postgres-mcp
Confirmed 2026-12-01 17:56 UTC
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-11-16
- 2026-11-160
- 2026-11-180
- 2026-11-190
- 2026-11-210
- 2026-11-230
- 2026-11-240
- 2026-11-260
- 2026-11-280
- 2026-11-290
- 2026-12-010
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 0 | 2026-11-16 13:43 UTC | ||
| 0 | 2026-11-18 06:55 UTC | ||
| 0 | 2026-11-19 19:23 UTC | ||
| 0 | 2026-11-21 12:17 UTC | ||
| 0 | 2026-11-23 00:58 UTC | ||
| 0 | 2026-11-24 19:09 UTC | ||
| 0 | 2026-11-26 13:24 UTC | ||
| 0 | 2026-11-28 07:44 UTC | ||
| 0 | 2026-11-29 21:12 UTC | ||
| 0 | 2026-12-01 17:56 UTC |
Confirmed 2026-12-01 17:56 UTC
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-11-16
- 2026-11-160
- 2026-11-180
- 2026-11-190
- 2026-11-210
- 2026-11-230
- 2026-11-240
- 2026-11-260
- 2026-11-280
- 2026-11-290
- 2026-12-010
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 0 | 2026-11-16 13:43 UTC | ||
| 0 | 2026-11-18 06:55 UTC | ||
| 0 | 2026-11-19 19:23 UTC | ||
| 0 | 2026-11-21 12:17 UTC | ||
| 0 | 2026-11-23 00:58 UTC | ||
| 0 | 2026-11-24 19:09 UTC | ||
| 0 | 2026-11-26 13:24 UTC | ||
| 0 | 2026-11-28 07:44 UTC | ||
| 0 | 2026-11-29 21:12 UTC | ||
| 0 | 2026-12-01 17:56 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): 222 Downloads/week (npm): 65 Forks (GitHub): 0 Stars (GitHub): 0 |
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.
-
Read-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres.
-
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
-
database-mcp-postgres io.github.arifulislamat/database-mcp-postgres
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
-
ainative-postgres-mcp io.github.AINative-Studio/ainative-postgres-mcp
Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.
-
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
-
PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
-
PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management
-
postgres io.github.marcelo-ochoa/postgres
MCP server for interacting with PostgreSQL databases
-
Schema-driven generator for safe, scoped PostgreSQL DML tools in FastMCP agent systems
-
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
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)
-
Zero-config MCP server for searchable documentation. SQLite or PostgreSQL.
-
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…
-
An authenticated hosted MCP server that accesses your PlanetScale organizations, databases, branches, schema, and Insights data. Query against your data, surface slow queries, and…
-
Manage your Neon projects and databases with the neon-postgres agent skill and the Neon MCP Server.
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…
-
An authenticated hosted MCP server that accesses your PlanetScale organizations, databases, branches, schema, and Insights data. Query against your data, surface slow queries, and…
-
Manage your Neon projects and databases with the neon-postgres agent skill and the Neon MCP Server.
-
Builds a VillageSQL extension for MySQL end-to-end through a 7-phase persona-driven workflow. Commonly used to port PostgreSQL extensions to MySQL.
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…
-
Sanity content platform integration with MCP server, agent skills, and slash commands. Query and author content, build and optimize GROQ queries, design schemas, and set up Visual…
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…
-
Comprehensive skill for the entire Temporal lifecycle — developing applications, using the Temporal CLI, running and managing Temporal Server, and working with Temporal Cloud.
-
Cloudflare platform plugin with curated skills for Workers, Wrangler, and Agents SDK plus the official Cloudflare API MCP server.
-
CrowdStrike Falcon Foundry development skills for building cybersecurity applications on the Falcon platform. Includes UI development, collections, functions, workflows, API…
-
Work with SharePoint using the configured Microsoft SharePoint app connector.
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…
-
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…
-
Local and cloud workflows for running Postgres with clickhousectl — local Docker-backed Postgres for development (start, psql client, .env wiring, lifecycle) and managed…
Has a listing on Copilot CLI: github/awesome-copilot (5)
-
Database administration, SQL optimization, and data management tools for PostgreSQL, SQL Server, and general database development best practices.
-
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…
-
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…
-
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…
-
Expert PostgreSQL guidance and live database tools for Postgres anywhere, including local, self-hosted, containers, on-premises, AWS, Google Cloud, Azure Database for PostgreSQL…
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…
-
Toolkit for building Microsoft 365 Copilot declarative agents — scaffolding, JSON manifest development, and capability configuration.
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…
-
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…
-
playwright-mcp io.github.microsoft/playwright-mcp
Playwright Tools for MCP
-
Query, create, and update records in your org.
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.
-
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
Has a listing on Official MCP Registry (5)
-
Read-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres.
-
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
-
database-mcp-postgres io.github.arifulislamat/database-mcp-postgres
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
-
ainative-postgres-mcp io.github.AINative-Studio/ainative-postgres-mcp
Zero-config Postgres MCP with auto-provisioning — drop-in for server-postgres.
-
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
Has a listing on PyPI (MCP servers) (5)
-
Schema-driven generator for safe, scoped PostgreSQL DML tools in FastMCP agent systems
-
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.
-
Read-only PostgreSQL surface for an LLM agent over the MCP protocol, with defense-in-depth at parser, executor, DB-role, and transport layers.
-
Universal Relational Database Model Context Protocol (MCP) Server powered by SQLAlchemy & FastMCP
Has a listing on npm registry (MCP servers) (5)
-
Read-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres.
-
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 - query, schema introspection, explain, and health checks for AI assistants
-
Read-only Postgres: drop-in for the archived server-postgres, with schema context.
-
PostgreSQL (hardened, read-only)
Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.
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.
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. Figures come from our own regular passes over the marketplaces, last read on . We publish no contact details for plugin publishers.