OpenWeather MCP Server
@Zippland
OpenWeather MCP Server について
天气预报 MCP Server for weather forecast
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"weather-mcp": {
"command": "python",
"args": [
"weather_mcp_server.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is OpenWeather MCP Server?
A simple weather forecast MCP (Model Control Protocol) server that provides global weather forecasts and current weather conditions by integrating with the OpenWeatherMap API.
How to use OpenWeather MCP Server?
Install dependencies with pip install mcp-server requests pydantic, obtain a free API key from OpenWeatherMap, then run the server (python weather_mcp_server.py) providing the API key either as an environment variable (OPENWEATHER_API_KEY) or as a parameter when calling the tools. Add the server configuration to your MCP-enabled client.
Key features of OpenWeather MCP Server
- No separate configuration file required; API key via environment variable or parameter.
- Query weather conditions anywhere in the world.
- Provides both current weather and future forecast.
- Detailed info: temperature, humidity, wind speed, etc.
- Supports different time zones via an offset parameter.
Use cases of OpenWeather MCP Server
- Ask an AI assistant “What’s the weather in New York right now?” and receive current conditions.
- Get a multi‑day forecast for a travel destination.
- Integrate real‑time weather data into any MCP‑compatible application.
FAQ from OpenWeather MCP Server
What should I do if I see “No API key provided”?
Set the OPENWEATHER_API_KEY environment variable before starting the server, or provide the api_key parameter when calling get_weather or get_current_weather.
What causes a “Location not found” error?
The location name is incorrect or ambiguous. Try a more precise city name or add a country code, e.g., “Beijing,CN” or “Paris,FR”.
What are the runtime requirements?
Python 3 and the packages mcp-server, requests, and pydantic must be installed via pip.
How is the API key secured?
The key can be stored as an environment variable or passed at runtime; it is never hard‑coded in a configuration file.
Does the server support multiple transport methods?
The README only describes STDIO transport (running as a command‑line process with environment variables). No other transport is mentioned.
「メディアとデザイン」の他のコンテンツ
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.
KiCAD MCP: AI-Assisted PCB Design
mixelpixxKiCAD MCP is a Model Context Protocol (MCP) implementation that enables Large Language Models (LLMs) like Claude to directly interact with KiCAD for printed circuit board design.
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
Design Systems Mcp
southleftI'm your specialized design systems assistant. Ask me about components, tokens, patterns, and best practices.
コメント