Weather MCP Server — Forecast, Historical & Air Quality
Pricing
from $5.00 / 1,000 mcp tool calls
Weather MCP Server — Forecast, Historical & Air Quality
MCP server exposing current weather, multi-day forecasts, historical weather, and air quality data as agent-callable tools. Connect Claude, Cursor, ChatGPT, n8n, or any MCP-compatible agent to live weather data worldwide. No API key required.
Pricing
from $5.00 / 1,000 mcp tool calls
Rating
0.0
(0)
Developer
Muhammad Afzal
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 hours ago
Last modified
Categories
Share
Weather MCP Server — Current, Forecast, Historical & Air Quality for AI Agents
MCP server exposing 4 weather tools for AI agents. Connect Claude, Cursor, ChatGPT, n8n, OpenAI Agents SDK, or any MCP-compatible client to live weather data worldwide. No API key required.
What it does
This Actor runs a Model Context Protocol (MCP) server in Standby mode on the Apify platform. It exposes four agent-callable tools that fetch weather data from the free Open-Meteo API (no API key, commercially licensed):
| Tool | What it returns |
|---|---|
get_current_weather | Current temperature, feels-like, humidity, precipitation, cloud cover, pressure, wind speed/direction/gusts, day/night flag, weather description, and a one-line summary |
get_weather_forecast | 1–16 day forecast with per-day high/low temp, feels-like, precipitation, rain, snowfall, precipitation probability, wind, sunrise/sunset, UV index; optional hourly breakdown |
get_historical_weather | Historical weather observations for any date range — per-day temp, precipitation, wind, sunshine duration |
get_air_quality | Current air quality — PM10, PM2.5, CO, NO₂, SO₂, O₃, UV index, European AQI, US AQI, and category label (Good/Moderate/Unhealthy/etc.) |
Use cases
- AI assistants querying current weather and multi-day forecasts for user-specified locations
- Travel and trip planning agents that need up-to-date conditions and short-term forecasts
- Logistics and supply chain automation checking weather along routes
- Agriculture and field-operations planning (frost risk, irrigation windows)
- Air quality monitoring and health advisory applications
- LLM-driven planning workflows that require weather context during reasoning
- n8n / Make / Zapier integrations for weather-triggered automations
How to use
Connect to Claude, Cursor, or any MCP client
Add the server to your MCP client configuration:
{"mcpServers": {"weather-mcp-server": {"url": "https://muhammadafzal--weather-mcp-server.apify.actor/mcp","headers": {"Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"}}}}
Get your Apify API token from the Apify Console → Account → Integrations.
Call tools programmatically
Each tool accepts either a city name (location) or direct coordinates (latitude + longitude):
get_current_weather(location="London")get_weather_forecast(location="Tokyo", forecastDays=5, includeHourly=true)get_historical_weather(location="Berlin", startDate="2024-01-01", endDate="2024-01-31")get_air_quality(location="Delhi")
Pricing
This Actor uses pay-per-event pricing:
| Event | Price |
|---|---|
| Actor Start | $0.00005 per event (one per GB of memory, minimum one) |
| MCP Tool Call | $0.005 per tool invocation |
Typical cost: A single weather lookup costs ~$0.005. A week of daily weather checks for 10 cities = ~$0.35.
Data sources
- Open-Meteo Forecast API — free, no API key, commercially licensed
- Open-Meteo Historical Weather API — archive data from 1940 onwards
- Open-Meteo Air Quality API — CAMS-based air quality data
- Open-Meteo Geocoding API — city name → coordinates (OpenStreetMap-based)
No API keys, no logins, no rate limits beyond fair use.
Technical details
- Language: Python 3.12
- Framework: FastMCP + uvicorn
- Transport: Streamable HTTP (MCP standard)
- Mode: Standby (always-ready, auto-scales with demand)
- Endpoint:
https://muhammadafzal--weather-mcp-server.apify.actor/mcp
Input
In Standby/MCP mode, tool calls are made through the /mcp endpoint — the Actor input is only used for batch-mode connectivity tests.
| Field | Type | Default | Description |
|---|---|---|---|
| defaultLocation | string | "" | City name for batch-mode test |
| defaultLatitude | number | 0 | Latitude for batch-mode test |
| defaultLongitude | number | 0 | Longitude for batch-mode test |
Output
Each tool call returns a structured JSON object. The dataset also stores each tool call result for auditing.
Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools
Apify gives you access to the raw data, APIs, webhooks, and automation tools you need to build data pipelines. Export to JSON, CSV, Excel, or send to Google Sheets, Airtable, or any webhook via integrations.
Support
Found a bug or have a feature request? Open an issue on the Apify Store page.