MCP Weather Free
An 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.
README
MCP Weather Free
A Model Context Protocol (MCP) server that provides weather data using the free Open-Meteo API. No API key required!
Features
- Current Weather: Get real-time weather conditions including temperature, humidity, wind speed, and weather descriptions
- Hourly Forecast: 24-hour weather forecast with hourly updates
- Daily Forecast: 7-day weather forecast with daily summaries
- City Search: Look up weather by city name with automatic geocoding
- Multiple Units: Support for different temperature (Celsius/Fahrenheit), wind speed (km/h, m/s, mph, knots), and precipitation (mm, inch) units
Installation
Using uvx (recommended)
uvx --from git+https://github.com/microagents/mcp-servers.git#subdirectory=mcp-weather-free mcp-weather-free
Using pip
pip install git+https://github.com/microagents/mcp-servers.git#subdirectory=mcp-weather-free
Configuration
Add the following to your MCP client configuration:
For Claude Desktop
Update your claude_desktop_config.json:
{
"mcpServers": {
"weather": {
"command": "uvx",
"args": ["--from", "git+https://github.com/microagents/mcp-servers.git#subdirectory=mcp-weather-free", "mcp-weather-free"]
}
}
}
For other MCP clients
{
"mcpServers": {
"weather": {
"command": "python",
"args": ["-m", "mcp_weather_free"]
}
}
}
Available Tools
get_weather
Get weather data for specific coordinates.
Parameters:
latitude(float, required): Latitude of the locationlongitude(float, required): Longitude of the locationlocation_name(string, optional): Display name for the locationtemperature_unit(string, optional): "celsius" (default) or "fahrenheit"wind_speed_unit(string, optional): "kmh" (default), "ms", "mph", or "kn"precipitation_unit(string, optional): "mm" (default) or "inch"
Example:
Get weather for latitude: 40.7128, longitude: -74.0060
get_weather_by_city
Get weather data by city name.
Parameters:
city(string, required): Name of the citycountry_code(string, optional): 2-letter country code (e.g., "US", "GB")temperature_unit(string, optional): "celsius" (default) or "fahrenheit"wind_speed_unit(string, optional): "kmh" (default), "ms", "mph", or "kn"precipitation_unit(string, optional): "mm" (default) or "inch"
Example:
Get weather for city: "New York"
Resources
The server also provides a resource endpoint:
weather://current/{latitude}/{longitude}- Get formatted current weather for a location
Response Format
Weather data includes:
- Location information: coordinates, timezone, elevation
- Current conditions: temperature, humidity, wind, weather description
- Hourly forecast: Next 24 hours of weather data
- Daily forecast: Next 7 days of weather summaries
License
This project is licensed under the MIT License.
Credits
Weather data provided by Open-Meteo - free weather API with no API key required.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.