本项目包含基于 Model Context Protocol (MCP) 的天气查询服务,分别用 Go 和 Python 实现,支持通过 MCP 工具获取指定城市的实时天气,适用于 AI 助手、自动化脚本等场景。
Mcp Server Weather is an MCP project maintained in the pangerl/mcp-server repository. The maintainer describes its purpose as “本项目包含基于 Model Context Protocol (MCP) 的天气查询服务,分别用 Go 和 Python 实现,支持通过 MCP 工具获取指定城市的实时天气,适用于 AI 助手、自动化脚本等场景。”. Read the project documentation for the complete scope.
The project provides a local client configuration using python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
The example declares QWEATHER_API_KEY, QWEATHER_API_HOST. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
{
"mcpServers": {
"weather": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "python",
"args": [
"-m",
"pangerl_mcp_server_weather.server"
],
"env": {
"QWEATHER_API_KEY": "YOUR_QWEATHER_API_KEY",
"QWEATHER_API_HOST": "https://xxx.re.qweatherapi.com"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| QWEATHER_API_KEY | Declared in the maintainer’s client configuration. | Check documentation |
| QWEATHER_API_HOST | Declared in the maintainer’s client configuration. | Check documentation |
Provides a command-line and API-based coding assistant utilizing OpenAI APIs, function calling, and streaming.
Provides a production-ready template for building Model Context Protocol (MCP) servers with TypeScript.
Provides air quality data from the World Air Quality Index (AQICN) project.
Pay-per-call tools for agents via x402 (USDC on Base): Korean data, doc-to-Markdown, web utilities.
1trip PULSE: 21-tool AI travel planner. Flights, hotels, visa, safety, weather, 120+ cities.
Weather forecasts from 7Timer. No key required.