DBeast PostgreSQL MCP

A PostgreSQL MCP server that gives AI assistants expert DBA capabilities. Quick Start · Demo · Tools · Safety · Configuration · Docs. Its 21 documented tools cover analysis, audit, health, analyze.

People who need database tools inside Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-08-10 · ★ 9 · #124 OF 151 MAINTAINED DATABASE · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install DBeast PostgreSQL MCP

before you install - you'll need

Set DATABASE_URL, DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, DB_NAME, DB_SSLMODE, AWS_SECRET_NAME, AWS_REGION, DBEAST_AUDIT_ENABLED, DBEAST_AUDIT_DIR before connecting.

Docker

docker run -i --rm ghcr.io/snss10/dbeast:2.0.2

Claude Desktop - add to config

{
  "mcpServers": {
    "snss10-dbeast": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/snss10/dbeast:2.0.2"
      ]
    }
  }
}
Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as container (OCI image) - can be sandboxed away from your filesystem

license MIT - declared in the repository

registry namespace io.github.snss10 is GitHub-verified and matches the repo owner

03 · What DBeast PostgreSQL MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can connect to PostgreSQL, check current status, or discover local databases, close the current database connection, verify connectivity, pool health, PostgreSQL version, and extensions, and list schemas, tables, columns, indexes, relationships, and optional Mermaid ERDs.

Capability map

Tools grouped from the project's README - what DBeast PostgreSQL MCP lets an agent do.

read & search

3 tools - e.g. List schemas, tables, columns, indexes, relationships, and optional Mermaid ERDs; Recommend indexes and rewrites for a given query; Report slow or expensive queries from PostgreSQL statistics

get_schema · query_optimizer · query_performance

Audit

3 tools - e.g. Inspect roles, privileges, superuser accounts, and public schema exposure; Retrieve logged MCP tool calls for a given date; List available audit log files

security_audit · get_audit_logs · list_audit_files

Analyze

2 tools - e.g. Parse and inspect query structure, warnings, and optimization hints; Preview write-query impact, risk level, affected rows, and rollback context without executing

analyze_query · analyze_impact

Connect

1 tool - e.g. Connect to PostgreSQL, check current status, or discover local databases

connect

Disconnect

1 tool - e.g. Close the current database connection

disconnect

Health

1 tool - e.g. Verify connectivity, pool health, PostgreSQL version, and extensions

health_check

Dependency

1 tool - e.g. Map object dependencies before renaming, dropping, or changing database objects

dependency_analysis

run & execute

1 tool - e.g. Run read-only SELECT queries with automatic row-limit injection

execute_query

Latest releases

v2.0.2 · 2026-06-10

Prepare v0.2.1 release · Fix Glama startup when using uv sync · bump codecov/codecov-action from 6 to 7 in the github-actions group · Prepare v0.2.1 release · Fix Glama startup when using uv sync · bump…

v0.1.0 · 2026-06-03

DBeast v0.1.0 · First stable release of DBeast, a PostgreSQL MCP server that gives AI assistants structured DBA-style tools for database analysis. · Highlights · 21 MCP tools for PostgreSQL workflows · Schema discovery…

04 · Who maintains DBeast PostgreSQL MCP

DBeast PostgreSQL MCP is maintained by snss10. It's the only MCP server we track from this author; the repo dates to Jun 2026.

05 · Facts

category
database - ranked #124 of 151 actively-maintained database servers as of 2026-08-25.
release cadence
2 releases in the last 90 days (latest 2026-06-10)
registry
io.github.snss10/dbeast (active, first published 2026-06-06 · 4 versions)
packages
oci:ghcr.io/snss10/dbeast:2.0.2

06 · DBeast PostgreSQL MCP FAQ

Is DBeast PostgreSQL MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-10 and it shipped 2 releases in the last 90 days. We re-verify nightly.

What can DBeast PostgreSQL MCP do?

With this server connected, an agent can connect to PostgreSQL, check current status, or discover local databases, close the current database connection, verify connectivity, pool health, PostgreSQL version, and extensions, and list schemas, tables, columns, indexes, relationships, and optional Mermaid ERDs.

How do I install DBeast PostgreSQL MCP?

Run `docker run -i --rm ghcr.io/snss10/dbeast:2.0.2`. The README documents 11 environment variables (DATABASE_URL, DB_HOST, DB_PORT…) to set first. Set DATABASE_URL, DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, DB_NAME, DB_SSLMODE, AWS_SECRET_NAME, AWS_REGION, DBEAST_AUDIT_ENABLED, DBEAST_AUDIT_DIR before connecting. You can also paste the ready-made client config above.

07 · Alternatives to DBeast PostgreSQL MCP