DB Connect MCP

A read-only MCP (Model Context Protocol) server for exploratory data analysis across multiple database systems. This server provides safe, read-only access to PostgreSQL, MySQL, and ClickHouse databases with comprehensive analysis capabilities. Its 10 documented tools cluster into read & search, analyze, sample, run & execute. It runs locally over stdio via the published package.

People connecting database tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-08-25 · ★ 6 · #48 OF 151 MAINTAINED DATABASE · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install DB Connect MCP

before you install - you'll need

Set SSH_HOST, SSH_PORT, SSH_USERNAME, SSH_PRIVATE_KEY_PATH, SSH_PASSWORD before connecting. DATABASE_URL is optional or environment-specific per the README.

Claude Code

claude mcp add yugui923-db-connect-mcp -- uvx db-connect-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "yugui923-db-connect-mcp": {
      "command": "uvx",
      "args": [
        "db-connect-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package db-connect-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.yugui923 is GitHub-verified and matches the repo owner

03 · What DB Connect MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can get database metadata, including the dialect, version, connection details,, list all schemas in the database, list all tables in a schema with metadata, and get detailed information about a table.

Capability map

Tools grouped from the project's README - what DB Connect MCP lets an agent do.

read & search

6 tools - e.g. Get database metadata, including the dialect, version, connection details,; List all schemas in the database.; List all tables in a schema with metadata.

get_database_info · list_schemas · list_tables · describe_table · get_table_relationships · search_objects

Analyze

1 tool - e.g. Analyze a column with statistics and distribution.

analyze_column

Sample

1 tool - e.g. Get a sample of data from a table.

sample_data

run & execute

1 tool - e.g. Execute a read-only SQL query.

execute_query

Explain

1 tool - e.g. Get a database-specific query execution plan.

explain_query

Latest releases

v0.9.2 · 2026-08-25

bump astral-sh/setup-uv from 9.0.0 to 10.0.1 · bump the codeql-actions group across 1 directory with 3 updates · bump version to 0.9.2

v0.9.1 · 2026-08-19

enable live transport coverage for v0.9.1

v0.9.0 · 2026-08-19

add paginated database resources

04 · Who maintains DB Connect MCP

DB Connect MCP is maintained by yugui923. It's the only MCP server we track from this author; the repo dates to Oct 2025.

05 · Facts

category
database - ranked #48 of 151 actively-maintained database servers as of 2026-08-25.
release cadence
6 releases in the last 90 days (latest 2026-08-25)
registry
io.github.yugui923/db-connect-mcp (active, first published 2026-02-02)
packages
pypi:db-connect-mcp

06 · DB Connect MCP FAQ

Is DB Connect MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-25 and it shipped 6 releases in the last 90 days. We re-verify nightly.

What can DB Connect MCP do?

With this server connected, an agent can get database metadata, including the dialect, version, connection details,, list all schemas in the database, list all tables in a schema with metadata, and get detailed information about a table.

How do I install DB Connect MCP?

Run `uvx db-connect-mcp`. The README documents 6 environment variables (DATABASE_URL, SSH_HOST, SSH_PORT…) to set first. Set SSH_HOST, SSH_PORT, SSH_USERNAME, SSH_PRIVATE_KEY_PATH, SSH_PASSWORD before connecting. DATABASE_URL is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does DB Connect MCP run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to DB Connect MCP

More database MCP servers · Open MCP Apps · A2db · Lumen · Aiven MCP · Nutrition MCP

More Python MCP servers · ITASCA MCP Server · YADE MCP Server · Multisim MCP · Ugs MCP · Local Delegate · see all