Weather MCP
Handles environment configuration for API keys and base URL settings through a .env file.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCPwhat's the weather forecast for Tokyo this weekend?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: Weather MCP Server
function
Displaying current weather information
View 3-day weather forecast
Get location-based weather information
Access via MCP protocol
set up
Install dependencies:
pip install -e .Set environment variables: Create a
.envfile and set the required environment variables.
MCP_API_KEY=your_api_key_here
MCP_BASE_URL=http://localhost:8000Start the MCP server:
python -m app.serverRun the client:
python -m app.clientMCP 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:
{
"location": {
"name": "東京",
"country": "日本",
"latitude": 35.6895,
"longitude": 139.6917,
"timezone": "Asia/Tokyo"
},
"current": {
"temperature": 22.5,
"feels_like": 23.1,
"humidity": 65,
"wind_speed": 3.2,
"wind_direction": 180,
"precipitation": 0,
"condition": "晴れ",
"weather_code": 1
},
"forecast": [
{
"date": "2023-04-10",
"max_temp": 24.5,
"min_temp": 15.2,
"precipitation": 0,
"condition": "晴れ",
"sunrise": "05:30",
"sunset": "18:15"
},
...
]
}license
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Open-Meteo tabanlı anahtarsız hava durumu tahmin MCP sunucusu.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.8343 PyPI60Apache 2.0
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides weather information and forecasts based on user location or address input.67 npm8MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides real-time weather data and forecasts for any city.17 npmISC
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables natural language weather queries for global cities, integrating with OpenWeather API to provide real-time weather information in an easy-to-read format.1-