Open-Meteo MCP Server
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.
open-meteo-mcp
An MCP server that gives Claude, ChatGPT, Cursor or any MCP-capable AI agent live weather data from Open-Meteo. Free, no API key, works out of the box.
It's a small, complete example of how I build MCP servers for clients: a typed API client, tools designed so the model knows when to use them, input validation, clear error messages, and tests that run without network access.
Tools
Tool | What the AI can do with it |
| Turn "Debrecen" or "Lisbon" into coordinates, country and timezone |
| Current temperature, feels-like, humidity, precipitation, wind |
| Daily forecast for 1–16 days: conditions, min/max, rain amount and chance |
Example: ask "Do I need an umbrella in Debrecen tomorrow?" and Claude calls search_location → get_forecast and answers from real data.
Related MCP server: open-meteo-mcp-server
Install
Requires uv.
git clone https://github.com/szabioe1/open-meteo-mcp
cd open-meteo-mcp
uv syncClaude Code
claude mcp add open-meteo -- uv --directory /path/to/open-meteo-mcp run open-meteo-mcpClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"open-meteo": {
"command": "uv",
"args": ["--directory", "/path/to/open-meteo-mcp", "run", "open-meteo-mcp"]
}
}
}Over HTTP (remote agents)
uv run open-meteo-mcp --http # Streamable HTTP on http://localhost:8000/mcpDesign notes
API client separate from the MCP layer (
client.pyvsserver.py): the client can be tested and reused on its own, and the MCP layer stays thin.Validation in the schema: latitude, longitude, day count and result count have bounds, so bad input is rejected before any HTTP call and the model sees exactly what's allowed.
Errors the model can act on: API and network failures become MCP tool errors with a readable reason ("No place found matching 'X'. Try a different spelling…") instead of stack traces.
Human-readable output: WMO weather codes are translated to text, and units are attached to values.
Tests
uv run pytestThe tests start the real server in-process and call it through an MCP client. Open-Meteo is mocked with httpx.MockTransport, so they're fast and need no network access.
Need one for your own tools?
I build custom MCP servers that connect AI agents to your API, database, CRM or internal docs, and I set up Claude Code for teams. Contact me on Fiverr.
License
MIT. Weather data © Open-Meteo, CC BY 4.0.
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
Weather MCP — wraps Open-Meteo API (free, no auth)
Weather, code search, currency & Solana trust scoring as MCP tools. Free, no API key needed.
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides current weather and multi-day forecasts for any location worldwide, integrable with MCP clients like Claude.5Apache 2.0
- AlicenseNot gradedqualityBmaintenanceGeocode places, fetch global weather forecasts, ERA5 historical climate, marine conditions, air quality, and terrain elevation via MCP. Provides 11 tools over STDIO or Streamable HTTP.367 npm13Apache 2.0
- AlicenseAqualityCmaintenanceEnables users to geocode city names and retrieve current weather conditions plus a 1–7 day forecast through a public weather API, with no API key required, for MCP clients such as Claude Desktop or Cursor.42MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to fetch global current conditions, air quality (PM2.5, PM10, O₃, NO₂, SO₂, CO, US/EU AQI), UV index, wind, sunrise/sunset and 1–16 day forecasts with optional hourly rows via Open-Meteo, no API key needed. Returns a localized human-readable summary plus complete JSON, resolving locations by city name, coordinates, or public IP over stdio MCP.MIT