io.github.alaev-dev/pg-doctor
Read-only PostgreSQL diagnostics for AI agents: slow queries, plans, bloat, vacuum, locks, replicas.
MCP server · by alaev-dev
About
io.github.alaev-dev/pg-doctor is an MCP server published by alaev-dev. Marketplaces we read that list it: 1 (Official MCP Registry). The last change we recorded was on 2026-12-02. As of our marketplace pass on 2026-12-02.
What it asks for
- Runs on your machine
- Secrets: 1
- Settings: 1
Requires: DATABASE_URL (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.
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: Docker image
Built from what Official MCP Registry declares.
claude mcp add --env "DATABASE_URL=<YOUR_DATABASE_URL>" --transport stdio pg-doctor -- docker run -i --rm -e DATABASE_URL ghcr.io/alaev-dev/pg-doctor:0.3.0
[mcp_servers.pg-doctor]
command = "docker"
args = ["run", "-i", "--rm", "-e", "DATABASE_URL", "ghcr.io/alaev-dev/pg-doctor:0.3.0"]
[mcp_servers.pg-doctor.env]
DATABASE_URL = "<YOUR_DATABASE_URL>"
{
"mcpServers": {
"pg-doctor": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DATABASE_URL",
"ghcr.io/alaev-dev/pg-doctor:0.3.0"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}
docker run -i --rm -e "DATABASE_URL=<YOUR_DATABASE_URL>" ghcr.io/alaev-dev/pg-doctor:0.3.0
Replace the values in angle brackets with your own. We show the names of the settings, never values.
Popularity and downloads
GitHub community
github.com/alaev-dev/pg-doctor
Confirmed 2026-12-02 11:02 UTC
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-12-02
- 2026-12-020
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 0 | 2026-12-02 11:02 UTC |
Confirmed 2026-12-02 11:02 UTC
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-12-02
- 2026-12-020
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 0 | 2026-12-02 11:02 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.0 | 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
- Official MCP Registry: description changed
- Official MCP Registry: repository or package changed
- Official MCP Registry: released version 0.3.0 (was 0.2.1)
- Became a product we track
- Official MCP Registry: appeared
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.
-
Hosted MCP server for PostgreSQL diagnostics: slow queries, missing indexes, connection pressure.
-
pgbot — PostgreSQL diagnostics
Read-only, deterministic PostgreSQL diagnostics as an agent tool: health, slow queries, unused indexes, bloat, vacuum, config — findings-first, never writes.
-
postgres-scout-mcp io.github.bluwork/postgres-scout-mcp
Scout your PostgreSQL databases with AI - safety features, monitoring, and data quality
-
Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health.
-
PostgreSQL Performance (read-only)
Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions
-
Read-only backend diagnostics and PostgreSQL data validation with dedicated reader roles.
-
pg-checkup io.github.pgcheckup/pg-checkup
Read-only PostgreSQL checkups for your AI assistant. Lists what to fix, in order, with the SQL.
-
PostgreSQL performance Tuner MCP Server
provides AI-powered PostgreSQL performance tuning capabilities.
-
PostgreSQL MCP server for schema, query, health, security, and performance analysis.
-
Governed PostgreSQL DBA ops: slow-query RCA, bloat/vacuum & blocking-lock analysis; 35 MCP tools.
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)
-
Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database…
-
Database management tools for Claude Code. Query databases, explore schemas, analyze data quality, and get optimization recommendations. Supports PostgreSQL, MySQL/MariaDB…
-
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…
-
Create, connect, and interact with an AlloyDB for PostgreSQL database and data.
-
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)
-
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…
-
Create, connect, and interact with an AlloyDB for PostgreSQL database and data.
-
Manage your Neon projects and databases with the neon-postgres agent skill and the Neon MCP Server.
-
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 Claude: knowledge-work-plugins (5)
-
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
-
An authenticated hosted MCP server that accesses your PlanetScale organizations, databases, branches, schema, and Insights data. Query against your data, surface slow queries, and…
-
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 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…
-
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…
-
Inspect recent issues and events in Sentry from Codex.
-
Cloudflare platform plugin with curated skills for Workers, Wrangler, and Agents SDK plus the official Cloudflare API MCP server.
Has a listing on Community GitHub marketplaces (5)
-
pgbot — PostgreSQL diagnostics
Read-only, deterministic PostgreSQL diagnostics as an agent tool: health, slow queries, unused indexes, bloat, vacuum, config — findings-first, never writes.
-
SQL optimization, query tuning, and database performance expert
-
database-performance-optimizer
Use this agent when you need to optimize database performance for B2B applications at enterprise scale. This agent specializes in multi-tenant database optimization, query…
-
database-performance-optimizer
Use this agent when you need to optimize database performance for B2B applications at enterprise scale. This agent specializes in multi-tenant database optimization, query…
-
Token-efficient MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, SQLite
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.
-
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…
-
Use Datadog directly in Copilot / VS Code through a preconfigured Datadog MCP server. Query logs, metrics, traces, dashboards, and more through natural conversation.
-
MotherDuck skills and the MotherDuck MCP server for agents and developers: use the CLI and Guides, explore schemas, write DuckDB SQL, build Dives and Flights, and ship analytics…
-
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)
-
Advanced Security plugin for GitHub Copilot.
-
Toolkit for building Microsoft 365 Copilot declarative agents — scaffolding, JSON manifest development, and capability configuration.
-
workiq
Query Microsoft 365 data with natural language — emails, meetings, documents, Teams messages, and more.
-
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…
-
Microsoft Dataverse plugin for coding agents, covering record CRUD, bulk data operations, advanced queries, schema and metadata, administration, security, environment management…
Has a listing on Cursor: cursor/plugins (5)
-
Ask Databricks Genie questions about your workspace's data in plain language.
-
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…
-
CLI-backed repo compatibility scans plus agents that audit startup, validation, and docs against reality.
-
Explore datasets and tables and run SQL queries.
-
Inspect and manage feature gates, experiments, dynamic configs, and metrics.
Has a listing on Docker MCP Catalog (5)
-
Enable AI agents to manage, monitor, and query CockroachDB using natural language. Perform complex database operations, cluster management, and query execution seamlessly through…
-
schemacrawler-ai io.github.schemacrawler/schemacrawler-ai
Enables natural language schema queries — explore tables, keys, procedures, and get SQL help fast
-
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
-
Database interaction and business intelligence capabilities.
-
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
Has a listing on Official MCP Registry (5)
-
Hosted MCP server for PostgreSQL diagnostics: slow queries, missing indexes, connection pressure.
-
postgres-scout-mcp io.github.bluwork/postgres-scout-mcp
Scout your PostgreSQL databases with AI - safety features, monitoring, and data quality
-
Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health.
-
PostgreSQL Performance (read-only)
Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions
-
Read-only backend diagnostics and PostgreSQL data validation with dedicated reader roles.
Has a listing on PyPI (MCP servers) (5)
-
mcpg io.github.devopam/mcpg
Production-grade PostgreSQL MCP server — 279 tools for query, tuning & ops, read-only by default.
-
Read-only MCP server for support ticket investigation across PostgreSQL, AWS CloudWatch and New Relic
-
Schema-driven generator for safe, scoped PostgreSQL DML tools in FastMCP agent systems
-
Query and manage Apache Pinot through MCP with typed tools and preview-first safety.
-
Universal Relational Database Model Context Protocol (MCP) Server powered by SQLAlchemy & FastMCP
Has a listing on npm registry (MCP servers) (5)
-
PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
-
Run SQL queries and inspect database schemas through safe, visible MCP tools.
-
PostgreSQL schema intelligence from a committed snapshot. No connection, no credentials.
-
A Model Context Protocol (MCP) server that provides comprehensive PostgreSQL database management capabilities for AI assistants
-
PostgreSQL MCP server for AI coding agents. Inspect a row and its foreign-key relationships with inspect_row, then investigate with bounded, read-oriented SQL.
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.