mcpbeat Sign in

DB Gateway MCP Server

local only

DB Gateway runs on your own machine — the client starts it, so there is no endpoint to ping. 44 installs a week from npm. Last commit 9 Aug 2026.

145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more

Installs per day peak 294 · avg 27 · +1232% w/w
a month agotoday
44
Installs / week
npm · db-gateway
0
Stars
0 open issues
9 Aug 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check DB Gateway every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add db-gateway -- npx -y db-gateway
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "db-gateway": {
      "args": [
        "-y",
        "db-gateway"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.db-gateway]
command = "npx"
args = ["-y", "db-gateway"]
.cursor/mcp.json
{
  "mcpServers": {
    "db-gateway": {
      "args": [
        "-y",
        "db-gateway"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "db-gateway": {
      "args": [
        "-y",
        "db-gateway"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: DBS (Engines to enable, comma-separated. Only the listed engines get their tools registered. Example: mysql,redis,kafka), READ_ONLY (Set to true to hide every write tool and restrict *_execute_query to SELECT-style statements. Recommended when pointing at production.), MYSQL (MySQL connection string(s), semicolon-separated for multiple instances. Format: mysql://<user>:<password>@<host>:3306/<database>?alias=dev&default=true — alias is required.), POSTGRESQL (PostgreSQL connection string(s), semicolon-separated. Format: postgresql://<user>:<password>@<host>:5432/<database>?alias=dev&ssl=true — alias is required.), REDSHIFT (Redshift connection string(s), semicolon-separated. Format: redshift://<user>:<password>@<host>:5439/<database>?alias=dev&ssl=true — alias is required.), MONGODB (MongoDB connection string(s), semicolon-separated. Format: mongodb://<user>:<password>@<host>:27017/<database>?alias=dev — alias is required.), REDIS (Redis connection string(s), semicolon-separated. Format: redis://:<password>@<host>:6379/0?alias=dev — leave the password empty for a no-auth instance. alias is required.), ELASTICSEARCH (Elasticsearch connection string(s), semicolon-separated. Format: elasticsearch://<user>:<password>@<host>:9200?alias=dev, or http(s)://<host>:9200?alias=dev for no auth. alias is required.), KAFKA (Kafka connection string(s), semicolon-separated. Format: kafka://<user>:<password>@<broker1>:9092,<broker2>:9092?alias=dev&mechanism=plain — alias is required.), DYNAMODB_REGION (AWS region for DynamoDB. DynamoDB is configured with discrete variables instead of a connection string.), DYNAMODB_ACCESS_KEY_ID (AWS access key ID for DynamoDB.), DYNAMODB_SECRET_ACCESS_KEY (AWS secret access key for DynamoDB.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to DB Gateway

same job, measured the same way
Tenantsdb
by tenantsdb

Multi-tenant database orchestration: isolated Postgres, MySQL, MongoDB, Redis tenants on demand.

answering
I
DB MCP Server
by stucchi

Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.

245 installs/wk local only
Database MCP
by cocaxcode

MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.

139 installs/wk local only
Quarry
by wangggym

Safety-railed database access for agents: Postgres, MySQL, Redis. Read-only by default.

166 installs/wk local only
DBMigratePro Backups
by provydon

Encrypted database backups and restore-to-any-host disaster recovery for MySQL and PostgreSQL.

answering
Fastmcp Sqltools
by atarkowska

A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.

53 installs/wk local only
DataLink
by pilat

MCP server for secure database access (PostgreSQL, MySQL, SQLite)

42 installs/wk local only
DB Connect MCP
by yugui923

Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse

390 installs/wk local only

DB Gateway — questions

Answers built from our own checks of this server.

Why is there no uptime for DB Gateway?
DB Gateway runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package db-gateway was installed 44 times last week.
How do I connect DB Gateway?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls db-gateway straight from npm; nothing to host, nothing to sign up for.
How many people use DB Gateway?
The npm package db-gateway was installed 44 times in the last week. Week over week that is +1232%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is DB Gateway open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.