weather-mcp-server vs time
并排对比,帮你在这两个 MCP server 之间做选择。
weather-mcp-server by ezh0v | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 244 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 49 | 77 |
| 官方 | — | ✓ |
| 分类 | weatherAI / LLM 工具开发者工具 | 效率工具开发者工具沟通协作 |
| 实现语言 | Go | TypeScript |
| 最近提交 | 3 个月前 | 本月 |
weather-mcp-server · 概述
一个轻量级的 Go 语言 MCP 服务器,为 AI 助手提供实时天气数据。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
weather-mcp-server · 使用场景
- AI 助手在对话中提供天气信息
- 与需要天气数据的生产力工具集成
- 构建具有实时气象数据的感知位置的 AI 应用
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
weather-mcp-server · 安装
安装
Claude Desktop 配置
将服务器添加到您的 Claude 配置中:
{
"mcpServers": {
"weather-mcp-server": {
"command": "/path/to/weather-mcp-server",
"env": {
"WEATHER_API_KEY": "your-api-key"
}
}
}
}从源代码构建
go build -o weather-mcp-server ./cmd/weather-mcp-serverDocker
docker build -t weather-mcp-server .
docker run -e WEATHER_API_KEY=your-api-key -d --name weather-mcp-server -p 8000:8000 weather-mcp-servertime · 安装
安装选项
**使用 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"]
}
}
}