OpenMeteo MCP Server

by gbrigandi

Not rated
GitHub

About

Access global weather data and forecasts using the OpenMeteo API, including current conditions, historical data, and location search.

Details

Author
gbrigandi
Categories
Cloud Service, Other, API

Setup

Install OpenMeteo MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/gbrigandi/mcp-server-openmeteo

Follow the installation instructions in the repository README, then restart your MCP client.

Access global weather data and forecasts using the OpenMeteo API, including current conditions, historical data, and location search.

A Model Context Protocol (MCP) server that provides access to weather data and forecasts through the OpenMeteo API. This server enables AI assistants to retrieve current weather conditions, forecasts, historical weather data, and search for locations worldwide.

- Current Weather: Get real-time weather conditions including temperature, humidity, precipitation, wind, and atmospheric pressure
- Weather Forecasts: Retrieve detailed weather forecasts for up to 16 days
- Historical Weather: Access historical weather data for analysis and comparison
- Location Search: Find coordinates and details for cities and locations worldwide
- Free API: Uses the free OpenMeteo API with no API key required
- Comprehensive Data: Includes temperature, precipitation, wind, pressure, cloud cover, and weather descriptions
- Smart Formatting: Human-readable weather reports with emojis and clear organization

Option 1: Download Pre-built Binary (Recommended)

Download the latest release from GitHub:
-

Visit the Releases Page: Go tohttps://github.com/gbrigandi/mcp-server-openmeteo/releases

Choose Your Version: Click on the latest release (or the specific version you want)

Download for Your Platform: In the "Assets" section, download the appropriate binary for your system:

- macOS (Apple Silicon):mcp-server-openmeteo-aarch64-apple-darwin
- macOS (Intel):mcp-server-openmeteo-x86_64-apple-darwin
- Linux (64-bit):mcp-server-openmeteo-x86_64-unknown-linux-gnu
- Windows (64-bit):mcp-server-openmeteo-x86_64-pc-windows-msvc.exe

If you prefer to build from source or need the latest development version:

- Rust 1.87 or newer
- Cargo package manager

git clone https://github.com/gbrigandi/mcp-server-openmeteo cd mcp-server-openmeteo cargo build --release

The compiled binary will be available attarget/release/mcp-server-openmeteo.

You can control the logging level using theRUST_LOGenvironment variable:

# Enable debug logging RUST_LOG=debug ./target/release/mcp-server-openmeteo # Enable info logging (default) RUST_LOG=info ./target/release/mcp-server-openmeteo # Disable most logging RUST_LOG=warn ./target/release/mcp-server-openmeteo

Add this server to your Claude Desktop configuration file:

macOS:~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%\Claude\claude_desktop_config.json

{ "mcpServers": { "openmeteo": { "command": "/path/to/mcp-server-openmeteo" } } }

- Save the file
- Restart Claude Desktop
- The OpenMeteo weather tools will be available in your conversations

Get current weather conditions for a specific location. Returns real-time weather data including temperature, humidity, precipitation, wind, and atmospheric conditions.

- latitude(required): Latitude coordinate (-90 to 90)
- longitude(required): Longitude coordinate (-180 to 180)

- Current temperature and "feels like" temperature
- Relative humidity percentage
- Precipitation amount
- Wind speed, direction, and gusts
- Atmospheric pressure (mean sea level)
- Cloud cover percentage
- Weather condition description
- Day/night indicator

{ "latitude": 40.7128, "longitude": -74.0060 }

Get weather forecast for a specific location. Returns detailed forecast data for up to 16 days including daily temperature, precipitation, wind, and weather conditions.

- latitude(required): Latitude coordinate (-90 to 90)
- longitude(required): Longitude coordinate (-180 to 180)
- days(optional): Number of forecast days (1-16, default: 7)

- Daily high and low temperatures
- Weather condition descriptions
- Precipitation amounts
- Maximum wind speeds
- Sunrise and sunset times
- UV index and daylight duration

{ "latitude": 40.7128, "longitude": -74.0060, "days": 5 }

Get historical weather data for a specific location and date range. Returns daily weather statistics including temperature, precipitation, and other meteorological data for analysis.

- latitude(required): Latitude coordinate (-90 to 90)
- longitude(required): Longitude coordinate (-180 to 180)
- start_date(required): Start date in YYYY-MM-DD format
- end_date(required): End date in YYYY-MM-DD format

- Daily temperature statistics (min, max, mean)
- Precipitation totals and averages
- Wind speed and direction data
- Summary statistics for the entire period
- Sample daily data for the first 5 days

{ "latitude": 40.7128, "longitude": -74.0060, "start_date": "2024-01-01", "end_date": "2024-01-31" }

Search for locations by name to get their coordinates and details. Use format "city, country" where country is optional (e.g., "Paris, France" or just "Tokyo"). Returns a list of matching locations with coordinates and other geographic information.

- query(required): Location search query in format "city, country" (country is optional)

- Examples: "Paris, France", "Tokyo", "New York, USA", "London"

- City/location name and country
- Administrative region (state/province)
- Precise coordinates (latitude/longitude)
- Timezone information
- Population data (when available)

{ "query": "Paris, France", "limit": 5 }

All weather data is provided byOpenMeteo, a free weather API that offers:

- High-Quality Data: Based on multiple weather models and observations
- Global Coverage: Worldwide weather data availability
- No API Key Required: Free access without registration
- High Availability: Reliable service with good uptime
- Open Source: Based on open-source weather models
- Real-Time Updates: Current conditions updated regularly
- Historical Archive: Access to historical weather data

- Request Timeout: 30-second timeout for all API requests
- Efficient Requests: Optimized API calls with only necessary parameters
- Error Recovery: Graceful handling of temporary API failures
- Coordinate Validation: Input validation to prevent invalid API requests

This project is licensed under the MIT License - see the LICENSE file for details.

Contributions are welcome! Please feel free to submit a Pull Request. Areas for contribution:

- Additional weather parameters
- Enhanced formatting options
- Performance optimizations
- Additional validation
- Documentation improvements
- Check the existing issues in the repository
- Create a new issue with detailed information about the problem
- Include relevant logs and configuration details
- Provide example coordinates and parameters that cause issues

- Initial release with full MCP server functionality
- Current weather conditions with comprehensive data
- Weather forecasts for up to 16 days
- Historical weather data with statistical summaries
- Location search with geocoding

Fetches precipitation forecast data for a specific location using the Buienradar service.

An MCP server providing weather tools from the National Weather Service (weather.gov) API, built with Spring Boot.

Access weather station data, observations, and forecasts using the WeatherXM PRO API.

Integrates the Korea Meteorological Administration's public weather API to provide climate data.

GribStream MCP is a hosted Model Context Protocol server for weather forecast data. It helps AI agents discover GribStream datasets, resolve exact forecast variables and levels, validate request bodies, and build runnable GribStream Weather API requests for GFS, ECMWF IFS, NBM, HRRR, and other models.

Access meteorological data for Portugal from the IPMA public API using natural language.

62 real-time data tools for AI agents via MCP. Finance, crypto, FMCSA, sanctions, courts, weather, vehicles, cybersecurity. One bearer token, one bill. Free tier available.

Provides accurate Islamic prayer times for locations throughout Malaysia using the waktusolat.app API.

The Meteomatics MCP server allows AI agents to securely access Meteomatics weather data tools.

A production-clean MCP server for the free Open-Meteo weather API (geocoding, forecast, air quality) with SRE-grade rate limiting, backoff, and structured logging.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.