Skip to content
MCP server
Registry

DBHub MCP Server

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

DBHub scores 63 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Databases. GitHub shows 3,994 stars. Package registries report about 150,632 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by bytebaseMITTypeScript4K stars
Trust score
63Good
Trust score 63 of 100, Good

Good trust

63 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 63 comes from

0 + 20 + 20 + 10 + 10 + 3 = 63. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity20 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 20 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "bytebase-dbhub": {      "command": "npx",      "args": [        "-y",        "@bytebase/dbhub@2.1.0"      ],      "env": {        "DSN": "YOUR_DSN",        "DB_TYPE": "",        "DB_HOST": "",        "DB_PORT": "",        "DB_USER": "",        "DB_PASSWORD": "YOUR_DB_PASSWORD",        "DB_NAME": "",        "TRANSPORT": "",        "PORT": "",        "ID": "",        "SSH_HOST": "",        "SSH_PORT": "",        "SSH_USER": "",        "SSH_PASSWORD": "YOUR_SSH_PASSWORD",        "SSH_KEY": "",        "SSH_PASSPHRASE": "YOUR_SSH_PASSPHRASE",        "SSH_AUTH_SOCK": ""      }    }  }}

Environment variables

NameRequiredNotes
DSNSecretOptionalDatabase connection string (e.g., postgres://user:pass@host:5432/db)
DB_TYPEOptionalDatabase type: postgres, mysql, mariadb, sqlserver, oracle, clickhouse, sqlite
DB_HOSTOptionalDatabase hostname
DB_PORTOptionalDatabase port
DB_USEROptionalDatabase username
DB_PASSWORDSecretOptionalDatabase password
DB_NAMEOptionalDatabase name or SQLite file path
TRANSPORTOptionalTransport mode: stdio or http
PORTOptionalHTTP server port (default: 8080)
IDOptionalInstance identifier for tool names
SSH_HOSTOptionalSSH server hostname
SSH_PORTOptionalSSH server port (default: 22)
SSH_USEROptionalSSH username
SSH_PASSWORDSecretOptionalSSH password
SSH_KEYOptionalPath to SSH private key
SSH_PASSPHRASESecretOptionalSSH key passphrase
SSH_AUTH_SOCKOptionalPath to SSH agent socket

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

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

Frequently asked questions

What is DBHub MCP Server?

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

How do I install DBHub MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. DBHub MCP Server runs locally from the npm package @bytebase/dbhub with the command npx -y @bytebase/dbhub@2.1.0.

Is DBHub MCP Server free and open source?

Yes. DBHub MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does DBHub MCP Server support remote (HTTP) connections?

No remote endpoint is listed for DBHub MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is DBHub MCP Server's trust score calculated?

DBHub MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server