這是一個基於Model Context Protocol (MCP)的天氣資訊服務器,使用OpenWeatherMap API提供即時天氣資訊和天氣預報功能。
mcp-server-weather is an MCP project maintained in the kennykang7012/mcp-server-weather repository. The maintainer describes its purpose as “這是一個基於Model Context Protocol (MCP)的天氣資訊服務器,使用OpenWeatherMap API提供即時天氣資訊和天氣預報功能。”. Read the project documentation for the complete scope.
The project provides a local client configuration using uv. 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 OPENWEATHER_API_KEY. 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": {
"command": "uv",
"args": [
"--directory",
".",
"run",
"main.py"
],
"description": "天氣資訊伺服器 - 取得當前天氣和天氣預報",
"env": {
"OPENWEATHER_API_KEY": "YOUR_OPENWEATHER_API_KEY"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| OPENWEATHER_API_KEY | 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.