dbhub vs mongodb-mcp-server
Side-by-side comparison to help you pick between these two MCP servers.
dbhub by bytebase | mongodb-mcp-server by mongodb-js | |
|---|---|---|
| Stars | ★ 2,769 | ★ 1,023 |
| 30d uses | — | — |
| Score | 57 | 55 |
| Official | — | — |
| Categories | DatabaseDeveloper ToolsOps & Infra | DatabaseDeveloper ToolsCloud Storage |
| Language | TypeScript | TypeScript |
| Last commit | 1 mo ago | this month |
dbhub · Summary
A zero-dependency MCP server connecting to multiple databases with token-efficient SQL tools.
mongodb-mcp-server · Summary
MongoDB MCP Server connects to MongoDB databases and Atlas clusters, offering tools for database operations and Atlas management.
dbhub · Use cases
- Database exploration and schema inspection for developers
- Secure SQL query execution with safety controls in CI/CD pipelines
- Multi-database management and operations through a unified interface
mongodb-mcp-server · Use cases
- AI agents querying and analyzing MongoDB databases without direct database access
- Automating MongoDB Atlas cluster management through MCP-enabled clients
- Building RAG applications that can access MongoDB data as contextual resources
dbhub · Install
Installation
**Docker:**
docker run --rm --init \ --name dbhub \ --publish 8080:8080 \ bytebase/dbhub \ --transport http \ --port 8080 \ --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"**NPM:**
npx @bytebase/dbhub@latest --transport http --port 8080 --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"**Demo Mode:**
npx @bytebase/dbhub@latest --transport http --port 8080 --demoClaude Desktop Configuration
Add the following to your Claude Desktop configuration:
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": ["@bytebase/dbhub@latest", "--transport", "stdio"]
}
}
}mongodb-mcp-server · Install
Installation
Via NPM (for Claude Desktop)
{
"mcpServers": {
"MongoDB": {
"command": "npx",
"args": ["-y", "mongodb-mcp-server@latest", "--readOnly"],
"env": {
"MDB_MCP_CONNECTION_STRING": "mongodb://localhost:27017/myDatabase"
}
}
}
}Via Docker
{
"mcpServers": {
"MongoDB": {
"command": "docker",
"args": [
"run",
"--rm",
"-e",
"MDB_MCP_READ_ONLY=true",
"-i",
"mongodb/mongodb-mcp-server:latest"
]
}
}
}