mcpbeat Sign in

DB Connect MCP Server

local only

DB Connect MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 667 installs a week from pypi. Last commit 27 Oct 2026.

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

Installs per day peak 481 · avg 91 · -28% w/w
a month agotoday
667
Installs / week
pypi · db-connect-mcp
6
Stars
0 open issues
27 Oct 2026
Last commit
from GitHub
MIT
License
Python

What the code does

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

In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Escalates privileges .devcontainer/start-services.sh:47
if ! runuser -u postgres -- psql -tAc \
Checks whether it runs in a sandbox .devcontainer/verify-requirements.py:300
    if Path("/.dockerenv").exists() and Path.cwd() == Path("/workspace"):
Runs an external command .devcontainer/verify-requirements.py:36
    result = subprocess.run(
Image downloads and pipes straight to shell .devcontainer/Dockerfile:92
RUN curl -fsSL https://mise.run | sh
Image runs as root .devcontainer/Dockerfile:182
# Install the audited service bootstrap after all server packages are present.
USER root

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

Nothing serious here today

Today is the operative word: we check DB Connect MCP 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-connect-mcp -e 'DATABASE_URL=<DATABASE_URL>' -- uvx db-connect-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "db-connect-mcp": {
      "command": "uvx",
      "args": [
        "db-connect-mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.db-connect-mcp]
command = "uvx"
args = ["db-connect-mcp"]
env = { DATABASE_URL = "<DATABASE_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "db-connect-mcp": {
      "command": "uvx",
      "args": [
        "db-connect-mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "db-connect-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "db-connect-mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}

Put your own value in place of <DATABASE_URL> (Database connection URL (e.g., postgresql+asyncpg://user:pass@host:5432/db)). The author’s registry entry marks it as required.

Alternatives to DB Connect MCP

same job, measured the same way
Database MCP
by cocaxcode

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

85 installs/wk local only
DataLink
by pilat

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

31 installs/wk local only
DB MCP Server
by stucchi

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

162 installs/wk local only
PostgreSQL MCP Server
by musaddiq-dev

Python MCP server for PostgreSQL database inspection and querying

104 installs/wk local only
P
Postgres Connector
by martymarkenson

MCP server for querying PostgreSQL databases

56 installs/wk local only
Mysql
by marcelo-ochoa

An MCP server for MySQL databases.

101 installs/wk local only
Fastmcp Sqltools
by atarkowska

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

86 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

DB Connect MCP — questions

Answers built from our own checks of this server.

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