mcpbeat Sign in

DB MCP Server

local only

DB MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 245 installs a week from pypi. Last commit 24 Mar 2026.

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

Installs per day peak 144 · avg 37 · +41% w/w
a month agotoday
245
Installs / week
pypi · db-mcp-server
2
Stars
0 open issues
24 Mar 2026
Last commit
0 releases in 90 days
MIT
License
Python

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

Name looks like a popular package wb-mcp-server
db-mcp-server похож на wb-mcp-server
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Touches key and credential files server.json:84
          "description": "Path to SSH private key (e.g. ~/.ssh/id_rsa)",

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch DB MCP Server and you get told the day something new turns up.

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 -- uvx db-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "db": {
      "args": [
        "db-mcp-server"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.db]
command = "uvx"
args = ["db-mcp-server"]
.cursor/mcp.json
{
  "mcpServers": {
    "db": {
      "args": [
        "db-mcp-server"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "db": {
      "args": [
        "db-mcp-server"
      ],
      "command": "uvx"
    }
  }
}

This one needs environment variables set before it will start: DB_TYPE (Database type), DB_DATABASE (Database name), DB_MODE (Access mode), DB_HOST (Database host (MySQL/PostgreSQL)), DB_PORT (Database port (MySQL: 3306, PostgreSQL: 5432)), DB_USER (Database user (MySQL default: root, PostgreSQL default: postgres)), DB_PASSWORD (Database password (MySQL/PostgreSQL, optional)), DB_URL (MongoDB connection URL (required for MongoDB, e.g. mongodb://...)), SSH_HOST (SSH bastion host for tunneling (MySQL/PostgreSQL only)), SSH_PORT (SSH port), SSH_USER (SSH username (default: current OS user)), SSH_KEY (Path to SSH private key (e.g. ~/.ssh/id_rsa)), SSH_PASSWORD (SSH password (if no key provided)). The author declared them in the registry entry; get the values from the project itself.

Alternatives to DB MCP Server

same job, measured the same way
Fastmcp Sqltools
by atarkowska

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

53 installs/wk local only
MCP Database Server
by souhar-dya

MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.

local only
Dbmcp
by haymon

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention

local only
DataLink
by pilat

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

42 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
Postgres
by marcelo-ochoa

MCP server for interacting with PostgreSQL databases

34 installs/wk local only
DB Connect MCP
by yugui923

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

390 installs/wk local only
DBHub
by bytebase

Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

25 860 installs/wk local only

DB MCP Server — questions

Answers built from our own checks of this server.

Why is there no uptime for DB MCP Server?
DB MCP Server 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 pypi package db-mcp-server was installed 245 times last week.
How do I connect DB MCP Server?
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-mcp-server straight from pypi; nothing to host, nothing to sign up for.
How many people use DB MCP Server?
The pypi package db-mcp-server was installed 245 times in the last week. Week over week that is +41%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is DB MCP Server open source?
Yes — it is published under the MIT licence, written in Python and 2 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.