weather-mcp-server
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-mcp-serverWhat's the weather in Tokyo for the next 3 days?"
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.
openmeteo-mcp
An MCP server wrapping the Open-Meteo geocoding and forecast APIs. No API key required.
Install
pip install git+https://github.com/ariz-ahmad/weather-mcp-serverRelated MCP server: Weather MCP
Run
Stdio (default, for local agent clients):
openmeteo-mcpSSE (for remote/hosted clients):
openmeteo-mcp sse
# serves on http://localhost:8000/sseTool reference
Tool | Args | Returns |
|
|
|
|
|
|
|
|
|
Resource
weather://{city} — read-only current-conditions summary for a city, e.g. weather://Tokyo.
Prompt
weather_report(city: str) — template that asks an agent to produce a short, friendly
3-day weather report for a city using get_weather_by_city.
Connect from an Agents SDK client
from agents import Agent, Runner
from agents.mcp import MCPServerStdio, MCPServerStdioParams
async with MCPServerStdio(
name="Weather Tools",
params=MCPServerStdioParams(command="openmeteo-mcp", args=[]),
) as weather_server:
agent = Agent(
name="Weather Assistant",
instructions="Use the weather tools to answer the user's question.",
mcp_servers=[weather_server],
)
result = await Runner.run(agent, "What's the weather in Tokyo this week?")
print(result.final_output)See client_stdio_test.py and client_sse_test.py for full runnable examples of each
transport.
Development
git clone https://github.com/ariz-ahmad/weather-mcp-server
cd weather-mcp-server
pip install -e ".[dev]"
pytest -vtests/test_tools.py calls the tool functions directly against the real Open-Meteo
API. tests/test_server.py launches the installed console script as a real MCP
stdio server and checks it advertises the right tools/resources/prompts over the
wire — both run in CI on every push with no API key required.
Package layout
src/openmeteo_mcp/server.py # FastMCP server: tools, resource, prompt
tests/ # protocol- and tool-level tests, no LLM needed
client_stdio_test.py # Agents SDK client demo (needs OPENAI_API_KEY)
client_sse_test.py # same, over SSEThis 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.
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
Open-Meteo tabanlı anahtarsız hava durumu tahmin MCP sunucusu.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides real-time weather data, hourly forecasts, and daily summaries using the free Open-Meteo API with no API key required. It enables users to search for weather conditions by specific coordinates or city names across multiple measurement units.2MIT
- AlicenseNot gradedqualityDmaintenanceA MCP server for querying real-time weather information for any city worldwide using the free Open-Meteo API, supporting CLI and integration with AI clients like Claude and Cursor.15 npmMIT
- FlicenseNot gradedqualityDmaintenanceA production-ready MCP server that provides real-time weather information, forecasts, and alerts to LLM clients using the Open-Meteo API, with support for 26+ global cities, dual transport (STDIO/HTTP), and Docker deployment.-
- AlicenseNot gradedqualityDmaintenanceMCP server for Open-Meteo free weather APIs, offering 16 tools for forecast, historical, air quality, marine, flood, ensemble, climate, seasonal, and scheduled data collection with no API key required.68 npmMIT