Openweather MCP Server
A weather query MCP service based on the OpenWeatherMap API, providing global real - time weather and forecasting functions, supporting API key configuration through environment variables or parameters.
rating : 2.5 points
downloads : 12
What is the OpenWeather MCP Server?
The OpenWeather MCP Server is a simple weather forecasting server based on the Model Control Protocol (MCP), which can provide current weather conditions and future weather predictions worldwide.How to use the OpenWeather MCP Server?
By setting the API key and specifying the location, you can easily obtain weather information for any location globally.Applicable scenarios
Suitable for application scenarios that require real-time weather data, such as weather forecasting services, travel planning, travel arrangements, etc.Main features
Global weather querySupports querying the current weather and future predictions anywhere on Earth.
Multiple weather informationProvides detailed weather information, including temperature, humidity, wind speed, etc.
Time zone supportAutomatically adjusts the time display according to the user's time zone.
Advantages and limitations
Advantages
No need for a separate configuration file. Pass the API key directly through environment variables or parameters.
Supports multi - language and internationalized weather queries.
Provides detailed weather data for easy integration into other systems.
Limitations
Requires a valid OpenWeatherMap API key to run.
Has a certain dependence on the network connection.
How to use
Register an OpenWeatherMap account
Visit the OpenWeatherMap official website and register an account to obtain an API key.
Install dependencies
Ensure that the Python environment is installed and run the following command to install the required libraries: `pip install mcp - server requests pydantic`.
Start the server
Run the script to start the MCP server.
Usage examples
Query the current weather in New YorkGet the current weather in New York by calling the get_current_weather function.
Query the weather forecast for the next three days in BeijingGet the weather forecast for the next three days in Beijing by calling the get_weather function.
Frequently Asked Questions
How to obtain an API key?
What if the entered location name is incorrect?
Does it support custom time zone offsets?
Related resources
OpenWeatherMap official website
Register an account and obtain an API key.
GitHub project repository
View the source code and more examples.
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
100
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
153
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
839
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
574
5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
761
4.8 points