Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

AgentSQL vs DBHub

AgentSQL and DBHub are both databases MCP servers. DBHub scores higher (94 vs 70 out of 100). DBHub has more GitHub stars (4k), and AgentSQL was updated more recently (4 days ago). The table compares them side by side.

AgentSQLDBHub
Score70 / 10094 / 100
What it doesAgentSQL is a database security gateway for AI agents that use PostgreSQL or MySQL through MCP. It adds SQL audit, authorization, result masking and write approval. It is for teams that want external AI agents to query data under controlled access.Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
PublisherCommunity: cuipengdbaCommunity: bytebase
GradesMaintenance A, Licence A, Quality CMaintenance A, Licence A, Quality A
npm downloads a weekNot on npm342,756
RunsRemoteLocal
Works withClaude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf, ChatGPTClaude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf
GitHub stars244,034
Last commit1 Dec 202625 Nov 2026
LicenceApache-2.0MIT
Listed since19 Oct 202619 Oct 2026
Install AgentSQLInstall DBHub

Questions

Is AgentSQL or DBHub more popular?

DBHub has more GitHub stars: 4,034.

Can I use AgentSQL and DBHub together?

Yes. AI assistants can load several MCP servers at once. Install both and the assistant picks the right one for each task.