Weather MCP
Weather Forecast Application Using Model Context Protocol (MCP)
overview
This application is an MCP server that uses the Open-Meteo API to retrieve and display weather forecast data. Through the MCP protocol, weather information can be accessed from LLM applications.
function
- Displaying current weather information
- View 3-day weather forecast
- Get location-based weather information
- Access via MCP protocol
set up
- Install dependencies:
- Set environment variables: Create a
.env
file and set the required environment variables.
- Start the MCP server:
- Run the client:
MCP Tools
get_weather
Get current weather information and 3-day forecast for a given city.
Parameters:
city
: The name of the city for which you want to get weather information (e.g. Tokyo, New York)
Example response:
license
MIT
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that provides current weather information and 3-day forecasts for specified cities using the Open-Meteo API.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.Last updated -4PythonApache 2.0
Juhe Weather MCP Serverofficial
-security-license-qualityProvides a Model Context Protocol server that enables large language models to query and retrieve real-time weather forecasts for cities and regions across China.Last updated -Python- AsecurityFlicenseAqualityA Model Context Protocol server that provides AI agents with tools to retrieve weather alerts and detailed forecasts for US locations using the National Weather Service API.Last updated -275TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol server that provides comprehensive weather data querying capabilities based on the Caiyun Weather API, supporting real-time weather, forecasts, and alerts with multi-language support.Last updated -72TypeScript