Weather Open Meteo
FreeNot checkedProvides hourly and daily weather forecasts using the free Open-Meteo API without requiring an API key.
About
Provides hourly and daily weather forecasts using the free Open-Meteo API without requiring an API key.
README
A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the Open-Meteo API.
Acknowledgment
This project is a fork of the original MCP Weather Server by Tim Luka Horstmann. The original version used AccuWeather API, and this fork has been migrated to use Open-Meteo API to provide free weather data access without API keys.
NPM Package
Available on npm as weather-open-meteo-mcp.
Quick Start
No API key required! Open-Meteo provides free access to weather data for non-commercial use.
Simply run the MCP Weather server directly with:
npx -y weather-open-meteo-mcp
Or, for HTTP/REST access via supergateway:
npx -y supergateway --stdio "npx -y weather-open-meteo-mcp" \
--port 4004 \
--baseUrl http://127.0.0.1:4004 \
--ssePath /messages \
--messagePath /message \
--cors "*"
MCP Server Config Example
For integration with Claude Desktop or other MCP-compatible clients, add this to your config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "weather-open-meteo-mcp"]
}
}
}
Overview
This MCP server allows large language models (like Claude) to access real-time weather data. When integrated with an LLM, it enables the model to:
- Fetch accurate, up-to-date weather forecasts
- Provide hourly weather data for the next 12 hours
- Access daily weather forecasts for up to 15 days
- Display data in both metric (°C) and imperial (°F) units
- View temperature, conditions, precipitation information, and other weather details
Available Tools
Hourly Weather Forecast
- Tool name:
weather-get_hourly - Provides hourly forecasts for the next 12 hours
- Parameters:
location(required): City or location nameunits(optional): "metric" (Celsius, default) or "imperial" (Fahrenheit)
Daily Weather Forecast
- Tool name:
weather-get_daily - Provides daily forecasts for up to 15 days
- Parameters:
location(required): City or location namedays(optional): Number of forecast days (1, 5, 10, or 15; default is 5)units(optional): "metric" (Celsius, default) or "imperial" (Fahrenheit)
Prerequisites
- Node.js ≥18
- pnpm (recommended) or npm
Setup
Clone this repository:
git clone https://github.com/adrianR84/Weather-Open-Meteo-MCP.git cd mcp-weatherInstall dependencies:
Using pnpm (recommended):
pnpm installOr using npm:
npm installBuild the project:
npm run build
Usage with Claude Desktop
Configure Claude Desktop to use this MCP server:
- Open Claude Desktop
- Go to Settings > Developer > Edit Config
- Add the following to your
claude_desktop_config.json:
{ "mcpServers": { "weather": { "command": "npx", "args": ["-y", "weather-open-meteo-mcp"] } } }Restart Claude Desktop
In a new conversation, enable the MCP server by clicking the plug icon and selecting "weather"
Now you can ask Claude for weather forecasts, such as:
- "What's the hourly weather forecast for New York City?"
- "Give me the 5-day forecast for London."
- "What will the weather be like in Tokyo this week in Fahrenheit?"
- "Will it rain in San Francisco tomorrow?"
Development
- Install dev dependencies:
pnpm install - Lint your code:
pnpm run lint - Build:
pnpm run build - Run tests:
pnpm test - Start in dev mode:
pnpm run dev
(You can also use npm instead of pnpm if preferred)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request to adrianR84/Weather-Open-Meteo-MCP.
Future Enhancements
We're always looking to improve the MCP Weather Server. Here are some features we're considering for future releases:
- Extended Hourly Forecasts: Beyond 12 hours, e.g., 24 or 48 hours.
- Weather Alerts: Integration with severe weather alerts.
- Location Autocomplete: Enhanced location searching with autocomplete suggestions.
- Historical Weather Data: Access to past weather conditions.
If you have ideas for other features, feel free to open an issue!
License
This project is licensed under the MIT License - see the LICENSE file for details.
Install Weather Open Meteo in Claude Desktop, Claude Code & Cursor
unyly install weather-open-meteo-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add weather-open-meteo-mcp -- npx -y weather-open-meteo-mcpFAQ
Is Weather Open Meteo MCP free?
Yes, Weather Open Meteo MCP is free — one-click install via Unyly at no cost.
Does Weather Open Meteo need an API key?
No, Weather Open Meteo runs without API keys or environment variables.
Is Weather Open Meteo hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Weather Open Meteo in Claude Desktop, Claude Code or Cursor?
Open Weather Open Meteo on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Weather Open Meteo with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
