- Home
- MCP servers
- MCP Weather Free
MCP Weather Free
- other
0
GitHub Stars
other
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"microagents-mcp-weather-free": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/microagents/mcp-servers.git#subdirectory=mcp-weather-free",
"mcp-weather-free"
]
}
}
}You can run MCP Weather Free to fetch real-time weather data and forecasts via a lightweight MCP server that requires no API key. It exposes current conditions, hourly and daily forecasts, and city-based lookups, all configurable from your MCP client.
How to use
You interact with the weather MCP server through your MCP client, sending requests to retrieve current conditions, hourly forecasts, and daily summaries for a location. You can query by coordinates or by city name, and you can choose units for temperature, wind speed, and precipitation.
How to install
Prerequisites: ensure you have a runtime capable of running MCP servers. You can choose among the two supported installation methods below.
# Option A: Install and run via uvx (recommended)
uvx --from git+https://github.com/microagents/mcp-servers.git#subdirectory=mcp-weather-free mcp-weather-free
# Option B: Install via pip
pip install git+https://github.com/microagents/mcp-servers.git#subdirectory=mcp-weather-free
Additional sections
Configuration notes and usage details for your MCP client are provided below. You can choose between running the server with uvx or with Python, depending on your workflow.
Configuration
Configure your MCP client to load the weather server. The following examples show two common methods you can use.
{
"mcpServers": {
"weather": {
"command": "uvx",
"args": ["--from", "git+https://github.com/microagents/mcp-servers.git#subdirectory=mcp-weather-free", "mcp-weather-free"]
}
}
}
{
"mcpServers": {
"weather": {
"command": "python",
"args": ["-m", "mcp_weather_free"]
}
}
}
Notes on usage and endpoints
The server provides a resource endpoint to fetch formatted current weather for a location: weather://current/{latitude}/{longitude}. Use this endpoint pattern from your MCP client if it supports resource-style calls.
Tools and capabilities
The server exposes functions to retrieve weather data:
get_weather— fetch weather data for specific geographic coordinates with configurable units.get_weather_by_city— fetch weather data by city name with optional country code and unit settings. These tools enable you to obtain current conditions, hourly forecasts, and daily summaries for your chosen location.
Available tools
get_weather
Fetch weather data for specific coordinates including current conditions, with options to set temperature, wind, and precipitation units.
get_weather_by_city
Fetch weather data by city name with optional country code and unit preferences.
weather_endpoint
Access a resource-like endpoint to retrieve formatted current weather for a location.