PostgreSQL MCP Server
Python MCP server for PostgreSQL database inspection and querying
MCP server · by musaddiq-dev
About
PostgreSQL MCP Server is an MCP server published by musaddiq-dev. 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-12.
What it asks for
- Runs on your machine
- Secrets: 1
- Settings: 6
Requires: POSTGRES_DB, POSTGRES_HOST, POSTGRES_PASSWORD (secret), POSTGRES_PORT, POSTGRES_USER
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.
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: PyPI package
Built from what Official MCP Registry declares.
claude mcp add --env "POSTGRES_DB=<YOUR_POSTGRES_DB>" --env "POSTGRES_HOST=<YOUR_POSTGRES_HOST>" --env "POSTGRES_PASSWORD=<YOUR_POSTGRES_PASSWORD>" --env "POSTGRES_PORT=<YOUR_POSTGRES_PORT>" --env "POSTGRES_USER=<YOUR_POSTGRES_USER>" --transport stdio postgresql-mcp-server -- uvx mdev-postgresql-mcp-server
[mcp_servers.postgresql-mcp-server]
command = "uvx"
args = ["mdev-postgresql-mcp-server"]
[mcp_servers.postgresql-mcp-server.env]
POSTGRES_DB = "<YOUR_POSTGRES_DB>"
POSTGRES_HOST = "<YOUR_POSTGRES_HOST>"
POSTGRES_PASSWORD = "<YOUR_POSTGRES_PASSWORD>"
POSTGRES_PORT = "<YOUR_POSTGRES_PORT>"
POSTGRES_USER = "<YOUR_POSTGRES_USER>"
{
"mcpServers": {
"postgresql-mcp-server": {
"command": "uvx",
"args": [
"mdev-postgresql-mcp-server"
],
"env": {
"POSTGRES_DB": "<YOUR_POSTGRES_DB>",
"POSTGRES_HOST": "<YOUR_POSTGRES_HOST>",
"POSTGRES_PASSWORD": "<YOUR_POSTGRES_PASSWORD>",
"POSTGRES_PORT": "<YOUR_POSTGRES_PORT>",
"POSTGRES_USER": "<YOUR_POSTGRES_USER>"
}
}
}
}
Replace the values in angle brackets with your own. We show the names of the settings, never values.
Optional settings it also lists: POSTGRES_READ_QUERY_LIMIT.
We do not store launch arguments. If the server needs any, its own documentation names them.
Where it is published
| Marketplace | Status | Version | Figures | Verified | First seen |
|---|---|---|---|---|---|
| Official MCP Registry (Open the registry record) | Listed | 0.1.2 | Forks (GitHub): 0 Stars (GitHub): 1 |
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.
-
postgres io.github.marcelo-ochoa/postgres
MCP server for interacting with PostgreSQL databases
-
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
-
postgres io.github.ofershap/postgres
PostgreSQL MCP — query databases, inspect schemas, explain queries.
-
PostgreSQL MCP server for schema, query, health, security, and performance analysis.
-
PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management
-
postgres-connector io.github.martymarkenson/postgres-connector
MCP server for querying PostgreSQL databases
-
PostgreSQL DBA tools over MCP, scoped to one database and one schema.
-
mcp-psycopg2 io.github.daedalus/mcp-psycopg2
MCP server exposing psycopg2 PostgreSQL database adapter functionality
-
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
-
PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering
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…
-
Manage your Neon projects and databases with the neon-postgres agent skill and the Neon MCP Server.
-
redash-mcp io.github.seob717/redash-mcp
Connect Redash to Claude -- query data, manage dashboards, and run SQL with natural language.
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.
-
Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database…
-
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…
-
Official SigNoz plugin for MCP setup, docs, queries, dashboards, and alerts
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…
-
Available for US1 customers only. Analyze, investigate, and act on your Datadog telemetry directly from ChatGPT using natural language. Ask questions about your production…
-
Inspect recent issues and events in Sentry from Codex.
-
Work with SharePoint using the configured Microsoft SharePoint app connector.
-
PostHog gives your AI agent direct access to your product analytics, feature flags, experiments, error tracking, surveys, logs, and LLM analytics. Ask questions about your data…
Has a listing on Community GitHub marketplaces (5)
-
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.
-
Local and cloud workflows for running Postgres with clickhousectl — local Docker-backed Postgres for development (start, psql client, .env wiring, lifecycle) and managed…
-
Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database…
-
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 Copilot CLI: github/awesome-copilot (5)
-
Database administration, SQL optimization, and data management tools for PostgreSQL, SQL Server, and general database development best practices.
-
Expert PostgreSQL guidance and live database tools for Postgres anywhere, including local, self-hosted, containers, on-premises, AWS, Google Cloud, Azure Database for PostgreSQL…
-
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…
-
Toolkit for building Microsoft 365 Copilot declarative agents — scaffolding, JSON manifest development, and capability configuration.
-
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…
-
Search docs, read pages, and update tables.
-
Explore datasets and tables and run SQL queries.
-
Build apps, scripts, and automations with the TypeScript SDK.
-
CLI-backed repo compatibility scans plus agents that audit startup, validation, and docs against reality.
Has a listing on Docker MCP Catalog (5)
-
Database interaction and business intelligence capabilities.
-
Connect to Oracle databases via MCP, providing secure read-only access with support for schema exploration, query execution, and metadata inspection.
-
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
-
schemacrawler-ai io.github.schemacrawler/schemacrawler-ai
Enables natural language schema queries — explore tables, keys, procedures, and get SQL help fast
-
Enable AI agents to manage, monitor, and query CockroachDB using natural language. Perform complex database operations, cluster management, and query execution seamlessly through…
Has a listing on Official MCP Registry (5)
-
postgres io.github.marcelo-ochoa/postgres
MCP server for interacting with PostgreSQL databases
-
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
-
postgres io.github.ofershap/postgres
PostgreSQL MCP — query databases, inspect schemas, explain queries.
-
PostgreSQL MCP server for schema, query, health, security, and performance analysis.
-
PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management
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.