dbhub vs pg-aiguide
并排对比,帮你在这两个 MCP server 之间做选择。
dbhub by bytebase | pg-aiguide by timescale | |
|---|---|---|
| Stars | ★ 2,769 | ★ 1,729 |
| 30天用量 | — | — |
| 综合分 | 57 | 55 |
| 官方 | — | — |
| 分类 | 数据库开发者工具运维基建 | 数据库开发者工具AI / LLM 工具 |
| 实现语言 | TypeScript | Python |
| 最近提交 | 1 个月前 | 本月 |
dbhub · 概述
零依赖 MCP 服务器,高效连接多种数据库并提供 SQL 工具。
pg-aiguide · 概述
MCP 服务器提供 PostgreSQL 专业知识、语义搜索和 AI 编码工具最佳实践。
dbhub · 使用场景
- 开发者进行数据库探索和模式检查
- 在 CI/CD 管道中执行带安全控制的 SQL 查询
- 通过统一界面管理多个数据库和操作
pg-aiguide · 使用场景
- 改进 AI 编码助手中的 PostgreSQL 代码生成
- 提供 PostgreSQL 文档的语义搜索
- 实现数据库模式设计的最佳实践
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"]
}
}
}pg-aiguide · 安装
安装选项
**作为 MCP 服务器:** 将公共 MCP 服务器添加到客户端配置中:
{
"mcpServers": {
"pg-aiguide": {
"url": "https://mcp.tigerdata.com/docs"
}
}
}**作为 Claude 插件:**
claude plugin marketplace add timescale/pg-aiguide
claude plugin install pg@aiguide**使用 npx skills:**
npx skills add timescale/pg-aiguide --skill postgres