OpenWeather MCP Server
@Zippland
About OpenWeather MCP Server
天气预报 MCP Server for weather forecast
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"weather-mcp": {
"command": "python",
"args": [
"weather_mcp_server.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
Frequently asked questions
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.
Basic information
More Media & Design MCP servers

Uwear.ai
Uwear.aiRun complete AI fashion photoshoots from ChatGPT, Claude, or Codex. Turn flat-lay, packshot, and mannequin product images into catalog-ready on-model photos and video with saved art direction, automatic QA, and catalog-s
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube
百度地图 MCP Server
baidu-mapsBaidu Map MCP Server
SVGator
SVGatorDrive your SVGator account from any AI assistant. Prompt an animation, get an editable project back, and export it as SVG, Lottie, GIF, MP4, and more, then open it in the editor to finish by hand.
Floors.live — Event Floor Plan & Seating Designer
HakolsoundMCP server for Floors.live — design event floor plans, manage guest lists, and run intelligent seating assignments from Claude, ChatGPT, or Cursor. 32 tools.
Comments