Handles environment configuration for API keys and base URL settings through a .env file.
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
- AsecurityAlicenseAqualityA Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.Last updated -34PythonApache 2.0
- -securityFlicense-qualityA production-ready Model Context Protocol server that provides weather data from OpenWeatherMap API, allowing users to query current weather by city name or coordinates with support for different temperature units.Last updated -Python
- AsecurityAlicenseAqualityA Model Context Protocol server that provides comprehensive weather data and forecasts through the OpenWeatherMap API, enabling AI assistants to access real-time weather information, forecasts, air quality data, and location services.Last updated -11159JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides weather information and forecasts based on user location or address input.Last updated -14TypeScriptMIT License