Dbhub MCP Server
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
Dbhub is an open-source mcp server by bytebase, written mainly in TypeScript, with 3,763 GitHub stars and the MIT license. Its code was last updated Oct 26, 2026. The latest npm release is @bytebase/dbhub 1.6.1, published Nov 11, 2026, with 76,877 downloads last week.
Scan summary: scanned Nov 5, 2026 at commit 280c0ed. Seen able to read environment and secrets, connect to the internet. 3 published advisories for its package. Scan policy
How to install Dbhub
Built from the start command in the project's README: npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable". Check the README for required keys or settings.
claude mcp add dbhub -- npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"@bytebase/dbhub@latest",
"--transport",
"http",
"--port",
"8080",
"--dsn",
"\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""
]
}
}
}{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"@bytebase/dbhub@latest",
"--transport",
"http",
"--port",
"8080",
"--dsn",
"\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""
]
}
}
}code --add-mcp '{"name":"dbhub","command":"npx","args":["@bytebase/dbhub@latest","--transport","http","--port","8080","--dsn","\"postgres://user:password@localhost:5432/dbname?sslmode=disable\""]}'What Dbhub can touch
- Our checks did not find this. The tool may still do it.Run shell commandsNot seen in this scan
- Our checks did not find this. The tool may still do it.Run dynamic codeNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or write filesNot seen in this scan
- Seen in this scan, either in the code or while it ran.Read environment and secretsFound in the code by our scan
- Our checks did not find this. The tool may still do it.Control a web browserNot seen in this scan
- Not checked directly. Its own description suggests it does this.Connect to databasesLikely, from its own description
- Our checks did not find this. The tool may still do it.Read or send messagesNot seen in this scan
- Our checks did not find this. The tool may still do it.Touch money or tradingNot seen in this scan
- Seen in this scan, either in the code or while it ran.Connect to the internetFound in the code by our scan
"Not seen" means our checks did not find it, and the tool may still do it. Covers commit 280c0ed, Nov 5, 2026. See the scan policy.
Before you install Dbhub
AgenticMart scanned Dbhub on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What it can access
- An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.
- Based on its description and topics, it likely needs to connect to a database.
Before you install
- Give it a read-only database user unless it must write.
- Pin the version you reviewed instead of always installing the latest release.
- Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
- Maintained by bytebase on GitHub, 3,763 stars and 329 forks. Popularity is not proof of safety.
- Last code change: Oct 26, 2026.
- Open-source license: MIT.
Published advisories for @bytebase/dbhub
From the OSV database, for this npm package. Check that your installed version is past any fix.
- CVE-2026-61742DBHub HTTP transport DNS rebinding allows unauthenticated browser-origin SQL executionFixed in 0.22.5.
- CVE-2026-61789DBHub: MySQL and MariaDB comment interpretation bypasses read-only SQL validationFixed in 0.22.6.
- CVE-2026-61788@bytebase/dbhub's read-only mode does not prevent database writesFixed in 0.22.6.
Dbhub is an open-source mcp server by bytebase, written mainly in TypeScript. Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
At a glance
- Stars
- 3.8k
- Forks
- 329
- Language
- TypeScript
- License
- MIT
- Created
- Mar 2025
- Last update
- Oct 26, 2026
- Type
- MCP Server
- Price
- Free
Topics
Questions about Dbhub
What is Dbhub?
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
Who maintains Dbhub?
Dbhub is maintained by bytebase on GitHub (bytebase/dbhub). AgenticMart lists it from public repository data.
Is Dbhub safe to use?
AgenticMart scanned Dbhub on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What license does Dbhub use?
It is published under the MIT license.
Dbhub alternatives
View more →Similar mcp servers in Database Management, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Dbhub (this page) bytebase | 3.8k | MIT | Oct 26, 2026 | Scanned, no flagged issues |
| Codebase Memory MCP DeusData | 48k | MIT | Nov 1, 2026 | Scanned, see report |
| Xerj xerj-org | 19k | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| MCP Toolbox googleapis | 17k | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| Nightingale ccfos | 13k | Apache-2.0 | Oct 30, 2026 | Scanned, no flagged issues |
| Postgres MCP crystaldba | 3.4k | MIT | Aug 17, 2026 | Scanned, no flagged issues |