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. 178 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 127 · avg 34 · -16% w/w
a month agotoday
178
Installs / week
pypi · db-mcp-server
2
Stars
0 open issues
24 Mar 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 4 d ago · rules 995398eba69f

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

Put your own values in place of <DB_TYPE> (Database type), <DB_DATABASE> (Database name). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: 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)).

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.

85 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)

48 installs/wk local only
Database MCP
by cocaxcode

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

86 installs/wk local only
Postgres
by marcelo-ochoa

MCP server for interacting with PostgreSQL databases

122 installs/wk local only
DB Connect MCP
by yugui923

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

428 installs/wk local only
DBHub
by bytebase

Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

34 959 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 178 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 in the form 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 178 times in the last week. Week over week that is -16%. 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.