weather
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-connector-example
A small, read-only MCP server for current weather and daily forecasts from Open-Meteo.
What it does
Uses the official MCP Python SDK's FastMCP and httpx to query https://api.open-meteo.com/v1/forecast. No API key, account, or secrets are needed. Requests only read weather data; there are no write tools.
Coordinates use decimal degrees: latitude from -90 to 90 and longitude from -180 to 180. Responses include the API's resolved coordinates, local timezone, and units. Current conditions are model-based, not a live station observation.
Related MCP server: Weather MCP Server
Quick start (under 5 minutes)
Use Python 3.10 or newer. From this directory:
python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txtOn Windows, activate with .venv\Scripts\activate instead.
Add this entry to your Claude Desktop MCP configuration, replacing both absolute paths with your local paths:
{
"mcpServers": {
"weather": {
"command": "/absolute/path/to/mcp-connector-example/.venv/bin/python",
"args": ["/absolute/path/to/mcp-connector-example/server.py"]
}
}
}On Windows, use the virtual environment's Scripts/python.exe and absolute
Windows paths, escaping backslashes in JSON. Restart the client after saving.
Alternatively, register the same stdio server in Claude Code:
claude mcp add --transport stdio weather -- /absolute/path/to/mcp-connector-example/.venv/bin/python /absolute/path/to/mcp-connector-example/server.pyAsk the client for the weather at latitude 51.5, longitude -0.12.
The client starts the server automatically. For a manual stdio launch, run
python server.py; it waits for MCP messages rather than presenting a prompt.
Tools
get_forecast(latitude, longitude, days=3)— accepts an integer from 1 to 7 days, starting today in the location's timezone. Returns aforecastlist with dates, maximum/minimum temperatures, precipitation totals, and weather codes, plus aunitsdictionary.get_current(latitude, longitude)— returns acurrentobject containing the local timestamp, interval, temperature, relative humidity, apparent temperature, precipitation, weather code, and wind speed, plus aunitsdictionary.
Invalid arguments are rejected before any HTTP request. HTTP failures are reported as tool errors. Weather codes follow Open-Meteo's WMO interpretation.
Settings
The only application environment variable is TIMEOUT_SECONDS: an optional,
finite positive HTTP timeout in seconds, defaulting to 10. Set it in the
server process's environment or its MCP configuration's env object.
The server reads the environment directly and does not load .env files.
Tests
python -m pytestTests mock httpx; they make no network requests.
Demo

GIF to be recorded
Licence
MIT — see LICENSE. Copyright (c) 2026 japple12345.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Current weather and forecast lookup as an agent tool.
Current weather and forecasts for any coordinates, backed b… — paid per call (x402/credits), 1 tools
Read-only airport delay, weather, and 24h forecast tools for AI assistants. Airport-level only.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides weather forecasts and geocoding lookup using free Open-Meteo APIs, enabling LLMs to query real-time weather and multi-day forecasts for any location.1ISC
- FlicenseNot gradedqualityDmaintenanceProvides weather forecast tools using Open-Meteo, enabling users to get current conditions, multi-day forecasts, and umbrella recommendations through natural language queries.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to retrieve real-time weather conditions and 7-10 day forecasts for any location via Open-Meteo, with no API key required.144 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to resolve place names into coordinates and fetch current conditions and multi-day or hourly forecasts, with units, local timezones, and WMO weather descriptions, without requiring an API key.365 npmMIT