Postgres MCP vs Db Gateway

A side-by-side look at the Postgres MCP and Db Gateway MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Postgres MCP logoPostgres MCPDatabases · Local subprocess (stdio)All-in-one MCP server for Postgres development and operations, with tools for performance analysis, tuning, and health checks56GoodAuth: api key requiredDb Gateway logoDb GatewayDatabases · Local subprocess (stdio)145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more41FairAuth: not declared

Verdict: choose Postgres MCP for databases work as a local process; choose Db Gateway for databases as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Postgres MCP logoChoose Postgres MCP when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: API key required.
  • You have the keys it needs: DATABASE_URI.
Explore Postgres MCP

Db Gateway logoChoose Db Gateway when

  • You need dedicated capabilities in the Databases domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: DBS, MYSQL, POSTGRESQL, REDIS, MONGODB, REDSHIFT, ELASTICSEARCH, KAFKA.
Explore Db Gateway

Feature & specification comparison

Rows where the two servers differ are marked.

SpecPostgres MCP logoPostgres MCPDb Gateway logoDb Gateway
CategoryDatabasesDatabases
Quality signal56/100 · Good41/100 · Fair
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthAPI key requiredNot declared
PricingFreeNot declared
Required env varsDATABASE_URIDBSMYSQLPOSTGRESQLREDISMONGODBREDSHIFTELASTICSEARCHKAFKA
Verified ownerCommunity listingCommunity listing
GitHub stars3,4250
Directory activity 4 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
ToolsNot listedNot listed

Tools & capabilities

Postgres MCP tools

No tool names declared yet. Check the project README from the listing page.

Db Gateway tools

No tool names declared yet. Check the project README from the listing page.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Postgres MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "crystaldba-postgres-mcp": {
      "command": "uvx",
      "args": [
        "postgres-mcp"
      ],
      "env": {
        "DATABASE_URI": "YOUR_DATABASE_URI_HERE"
      }
    }
  }
}

Db Gateway

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "db-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "db-gateway"
      ],
      "env": {
        "DBS": "YOUR_DBS_HERE",
        "MYSQL": "YOUR_MYSQL_HERE",
        "POSTGRESQL": "YOUR_POSTGRESQL_HERE",
        "REDIS": "YOUR_REDIS_HERE",
        "MONGODB": "YOUR_MONGODB_HERE",
        "REDSHIFT": "YOUR_REDSHIFT_HERE",
        "ELASTICSEARCH": "YOUR_ELASTICSEARCH_HERE",
        "KAFKA": "YOUR_KAFKA_HERE"
      }
    }
  }
}

Frequently asked questions

Postgres MCP is categorized under Databases and uses a local stdio subprocess. Db Gateway belongs to Databases and uses a local stdio subprocess. Pick Postgres MCP for databases work and Db Gateway for databases.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Postgres MCP is listed as free. Auth: api key required. Db Gateway has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add crystaldba-postgres-mcp and db-gateway as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Postgres MCP has a quality signal of 56/100 (Good) with 4 views, 0 installs and 3,425 GitHub stars. Db Gateway has 41/100 (Fair) with 1 views, 0 installs and 0 GitHub stars.