dbhub vs restheart
Side-by-side comparison to help you pick between these two MCP servers.
dbhub by bytebase | restheart by SoftInstigate | |
|---|---|---|
| Stars | ★ 2,769 | ★ 875 |
| 30d uses | — | — |
| Score | 57 | 54 |
| Official | — | — |
| Categories | DatabaseDeveloper ToolsOps & Infra | DatabaseAI / LLM ToolsDeveloper Tools |
| Language | TypeScript | Java |
| Last commit | 1 mo ago | this month |
dbhub · Summary
A zero-dependency MCP server connecting to multiple databases with token-efficient SQL tools.
restheart · Summary
RESTHeart is a MongoDB backend that provides a native MCP server for AI agents to access data via REST and GraphQL APIs.
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
restheart · Use cases
- AI agent backends for accessing MongoDB data via MCP
- API development without boilerplate code
- Real-time applications with WebSocket and SSE
- Legacy modernization by adding modern APIs to existing MongoDB databases
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"]
}
}
}restheart · Install
Quick Start Options
**Option 1 — RESTHeart Cloud (no install)** Sign up for the fully managed service at [cloud.restheart.com](https://cloud.restheart.com/signup)
**Option 2 — Docker Compose (local)**
curl https://raw.githubusercontent.com/SoftInstigate/restheart/master/docker-compose.yml --output docker-compose.yml && docker compose up --attach restheartDefault credentials: admin / secret
**Option 3 — Native Executables** Download prebuilt binaries for macOS, Linux, and Windows from [docs/native-executables.md](https://github.com/SoftInstigate/restheart/blob/master/docs/native-executables.md)
**Claude Desktop Setup** In Claude Desktop settings, add a custom connector with context URL: https://sophia-api.restheart.com/mcp/restheart/
**Claude Code Setup**
claude mcp add --transport http sophia-restheart https://sophia-api.restheart.com/mcp/restheart