DBHub runs on your own machine — the client starts it, so there is no endpoint to ping. 25 860 installs a week from npm. Last commit 16 Sep 2026.
Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB
We read the source, 21 h ago · rules 3dff92dd89df
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.
return path.join(__dirname, 'toml', name);
'~/.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 places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
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.
claude mcp add dbhub -- npx -y @bytebase/dbhub
{
"mcpServers": {
"dbhub": {
"args": [
"-y",
"@bytebase/dbhub"
],
"command": "npx"
}
}
}
[mcp_servers.dbhub]
command = "npx"
args = ["-y", "@bytebase/dbhub"]
{
"mcpServers": {
"dbhub": {
"args": [
"-y",
"@bytebase/dbhub"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"dbhub": {
"args": [
"-y",
"@bytebase/dbhub"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
DSN (Database connection string (e.g., postgres://user:pass@host:5432/db)), DB_TYPE (Database type: postgres, mysql, mariadb, sqlserver, sqlite), DB_HOST (Database hostname), DB_PORT (Database port), DB_USER (Database username), DB_PASSWORD (Database password), DB_NAME (Database name or SQLite file path), TRANSPORT (Transport mode: stdio or http), PORT (HTTP server port (default: 8080)), ID (Instance identifier for tool names), SSH_HOST (SSH server hostname), SSH_PORT (SSH server port (default: 22)), SSH_USER (SSH username), SSH_PASSWORD (SSH password), SSH_KEY (Path to SSH private key), SSH_PASSPHRASE (SSH key passphrase).
The author declared them in the registry entry; get the values from the project itself.
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite
MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB
Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention
MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
Answers built from our own checks of this server.