A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"weather": {
"env": {
"ACCUWEATHER_API_KEY": "your_api_key_here"
},
"args": [
"-y",
"@timlukahorstmann/mcp-weather"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @timlukahorstmann/mcp-weather against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in maps
A Model Context Protocol (MCP) server providing TomTom's location services, search, routing, and traffic data to AI agents.
Real-time BART departures, trip planning, fares, stations, and advisories.
MCP server for the VesselAPI — maritime vessel tracking, port events, emissions, and navigation data
Fair meeting point discovery for AI agents with isochrone-based travel time fairness
MCP Security Weekly
Get CVE alerts and security updates for Mcp Weather and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API.
You need an AccuWeather API key (free tier available).
Sign up here and create an app to get your key.
Export your API key as an environment variable:
export ACCUWEATHER_API_KEY=your_api_key_here
Then run the MCP Weather server directly with:
npx -y @timlukahorstmann/mcp-weather
Or, for HTTP/REST access via supergateway:
npx -y supergateway --stdio "npx -y @timlukahorstmann/mcp-weather" \
--port 4004 \
--baseUrl http://127.0.0.1:4004 \
--ssePath /messages \
--messagePath /message \
--cors "*" \
--env ACCUWEATHER_API_KEY="$ACCUWEATHER_API_KEY"
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", "@timlukahorstmann/mcp-weather"],
"env": {
"ACCUWEATHER_API_KEY": "your_api_key_here"
}
}
}
}
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:
weather-get_hourlylocation (required): City or location nameunits (optional): "metric" (Celsius, default) or "imperial" (Fahrenheit)weather-get_dailylocation (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).env or your shell)Clone this repository:
git clone https://github.com/TimLukaHorstmann/mcp-weather.git
cd mcp-weather
Install dependencies:
npm install
Get an AccuWeather API key:
Create a .env file with your API key:
ACCUWEATHER_API_KEY=your_api_ke