
Weather MCP Tool for Claude

2025.04.03
0
TypeScript天气查询多语言支持实时数据位置服务
Weather MCP Tool for Claude 是一个支持韩语和英语的天气信息查询工具,专为Claude AI设计。它能够提供全球城市的实时天气数据,包括温度、天气状态、风速、风向和湿度等详细信息。
View on GitHub
Overview
基本能力
产品定位
Weather MCP Tool for Claude 是一个专为Claude AI设计的天气信息查询工具,支持多语言查询,提供全球城市的实时天气数据。
核心功能
- 支持通过城市名称查询天气信息(韩语/英语)
- 提供实时天气数据
- 详细的天气信息包括:温度、天气状态、风速、风向、湿度
- 与Claude AI无缝集成
适用场景
- 在Claude AI中集成天气查询功能
- 需要实时天气数据的应用开发
- 多语言支持的天气信息查询服务
工具列表
- Open-Meteo Weather API:提供实时天气数据
- Open-Meteo Geocoding API:支持地理位置查询
常见问题解答
无明确常见问题解答部分。
使用教程
使用依赖
需要安装Node.js环境。
安装教程
# 克隆仓库
git clone https://github.com/yourusername/weather-mcp-tool.git
cd weather-mcp-tool
# 安装依赖
npm install
# 构建项目
npm run build
调试方式
在Claude Desktop配置文件中添加以下设置:
{
"mcpServers": {
"weather-server": {
"command": "node",
"args": ["dist/server.js"],
"cwd": "프로젝트_경로"
}
}
}
使用示例:
const result = await weatherApi.execute({
city: "서울"
});
响应示例:
{
"city": "Seoul",
"country": "South Korea",
"weather": {
"temperature": 18.5,
"description": "맑음",
"windSpeed": 2.3,
"windDirection": 180,
"humidity": 65
}
}