Information
qweather-mcp
用于 QWeather API 的 MCP 服务器。
该项目通过模型上下文协议(MCP)提供天气信息查询功能。
使用方法
在这里获取您的 API 密钥 here。
通过 Smithery 安装
要通过 Smithery 自动为 Claude Desktop 安装 qweather-mcp:
npx -y @smithery/cli install @overstarry/qweather-mcp --client claude
手动配置
# stdio server
npx -y qweather-mcp
环境变量:
QWEATHER_API_BASE=https://api.qweather.com
QWEATHER_API_KEY=
JSON 配置
\{
"mcpServers": \{
"qweather": \{
"command": "npx",
"args": ["-y", "qweather-mcp"],
"env": \{
"QWEATHER_API_BASE": "",
"QWEATHER_API_KEY": ""
\}
\}
\}
\}
可用工具
lookup-city: 根据名称查找城市信息
get-weather-now: 获取某个地点的当前天气
许可证
MIT。