dbhub vs datagouv-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
dbhub by bytebase | datagouv-mcp by datagouv | |
|---|---|---|
| Stars | ★ 2,769 | ★ 1,460 |
| 30天用量 | — | — |
| 综合分 | 57 | 55 |
| 官方 | — | — |
| 分类 | 数据库开发者工具运维基建 | AI / LLM 工具数据库搜索 |
| 实现语言 | TypeScript | Python |
| 最近提交 | 1 个月前 | 本月 |
dbhub · 概述
零依赖 MCP 服务器,高效连接多种数据库并提供 SQL 工具。
datagouv-mcp · 概述
法国政府开放数据平台的官方 MCP 服务器,使 AI 聊天机器人能够搜索和分析开放数据。
dbhub · 使用场景
- 开发者进行数据库探索和模式检查
- 在 CI/CD 管道中执行带安全控制的 SQL 查询
- 通过统一界面管理多个数据库和操作
datagouv-mcp · 使用场景
- 询问特定地区的房地产价格
- 检索法国城市最新的人口统计数据
- 通过对话式 AI 搜索和分析公共数据集
dbhub · 安装
安装
**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"**演示模式:**
npx @bytebase/dbhub@latest --transport http --port 8080 --demoClaude Desktop 配置
将以下内容添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"dbhub": {
"command": "npx",
"args": ["@bytebase/dbhub@latest", "--transport", "stdio"]
}
}
}datagouv-mcp · 安装
安装
使用公共托管服务器
推荐使用位于 https://mcp.data.gouv.fr/mcp 的公共实例。
Claude Desktop 配置
在 Claude Desktop 配置文件中添加以下内容:
{
"mcpServers": {
"datagouv": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.data.gouv.fr/mcp"
]
}
}
}使用 Docker 本地安装
git clone git@github.com/datagouv/datagouv-mcp.git
cd datagouv-mcp
docker compose up -d手动安装
# 安装依赖
uv sync
# 复制环境文件
cp .env.example .env
# 启动服务器
uv run main.py