weather-mcp-server vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
weather-mcp-server by ezh0v | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 244 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 49 | 77 |
| 官方 | — | ✓ |
| 分类 | weatherAI / LLM 工具开发者工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Go | TypeScript |
| 最近提交 | 3 个月前 | 本月 |
weather-mcp-server · 概述
一个轻量级的 Go 语言 MCP 服务器,为 AI 助手提供实时天气数据。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
weather-mcp-server · 使用场景
- AI 助手在对话中提供天气信息
- 与需要天气数据的生产力工具集成
- 构建具有实时气象数据的感知位置的 AI 应用
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
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-serverfilesystem · 安装
安装
使用 NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}使用 Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code 扩展
点击 README 中的安装按钮直接在 VS Code 中安装。