db-mcp-server vs time
并排对比,帮你在这两个 MCP server 之间做选择。
db-mcp-server by FreePeak | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 377 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 52 | 77 |
| 官方 | — | ✓ |
| 分类 | 数据库开发者工具AI / LLM 工具 | 效率工具开发者工具沟通协作 |
| 实现语言 | Go | TypeScript |
| 最近提交 | 1 个月前 | 本月 |
db-mcp-server · 概述
多数据库 MCP 服务器,为 AI 助手提供连接 MySQL、PostgreSQL、SQLite 和 Oracle 的标准化 SQL 接口。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
db-mcp-server · 使用场景
- AI 助手同时查询多个数据库进行数据分析
- 自动化数据库模式探索和文档生成
- 在异构数据库环境中进行性能监控和优化
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
db-mcp-server · 安装
安装
Docker 部署
docker pull freepeak/db-mcp-server:latest
docker run -p 9092:9092 \
-v $(pwd)/config.json:/app/my-config.json \
-e TRANSPORT_MODE=sse \
-e CONFIG_PATH=/app/my-config.json \
freepeak/db-mcp-server源码安装
git clone https://github.com/FreePeak/db-mcp-server.git
cd db-mcp-server
make build
./bin/server -t sse -c config.jsonClaude Desktop 集成
添加到 claude_desktop_config.json:
{
"mcpServers": {
"db-mcp-server": {
"command": "path/to/db-mcp-server/server",
"args": ["-t", "stdio", "-c", "/path/to/config.json"]
}
}
}time · 安装
安装选项
**使用 uv(推荐):**
uvx mcp-server-time**使用 PIP:**
pip install mcp-server-time
python -m mcp_server_time**为 Claude Desktop 配置:**
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time"]
}
}
}