VS Code extension providing the Weather MCP server (powered by Open-Meteo API) for AI weather queries — forecasts, historical data, air quality, marine, geocoding, elevation, and climate projections
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
A VS Code extension that registers the Weather MCP Server as a first-class MCP server in VS Code. Provides AI assistants (GitHub Copilot, etc.) with real-time access to global weather data (powered by the Open-Meteo API) — forecasts, air quality, marine conditions, and more — directly from your editor.
Fully integrated — appears in VS Code's MCP servers list with automatic start/stop/restart controls. No manual configuration needed.
✨ What You Get
Once installed, AI assistants in VS Code can use 10 weather tools:
Tool
What It Does
🌤️ weather_get_forecast
Up to 16-day forecasts (hourly + daily)
🌡️ weather_get_current
Real-time weather conditions
📜 weather_get_historical
80+ years of weather archive (1940–present)
🌬️ weather_get_air_quality
PM2.5, PM10, ozone, NO₂, pollen
🌊 weather_get_marine
Wave height, period, direction
🔍 weather_geocode_search
Find locations by name
📍 weather_geocode_reverse
Coordinates → location name
⛰️ weather_get_elevation
Elevation data (90m DEM)
📈 weather_get_climate_projection
Climate projections (CMIP6)
🔄 weather_compare_locations
Compare 2–5 locations
📦 Installation
From VS Code Marketplace
Open VS Code
Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
Search for "Weather MCP Server"
Click Install
🚀 Getting Started
Install the extension
Open Copilot Chat (Ctrl+Shift+I / Cmd+Shift+I)
The MCP server starts automatically — you'll see it in the MCP servers list
Ask weather questions:
"What's the weather in Tokyo right now?"
"Compare the weather in New York, London, and Sydney"
"Show me the air quality forecast for Delhi"
"What was the temperature in Paris on July 14, 2023?"
⚙️ Configuration
All settings are optional. Configure via Settings → search for openMeteoMcp:
Setting
Default
Description
openMeteoMcp.baseUrl
https://api.open-meteo.com
Forecast API base URL
openMeteoMcp.geocodingUrl
https://geocoding-api.open-meteo.com
Geocoding API base URL
openMeteoMcp.cacheTtlMs
900000
Cache TTL for forecast data (ms)
openMeteoMcp.histCacheTtlMs
86400000
Cache TTL for historical data (ms)
openMeteoMcp.timeoutMs
15000
HTTP request timeout (ms)
openMeteoMcp.defaultTimezone
auto
Default timezone
openMeteoMcp.temperatureUnit
celsius
celsius or fahrenheit
openMeteoMcp.windSpeedUnit
kmh
kmh, ms, mph, or kn
openMeteoMcp.precipitationUnit
mm
mm or inch
openMeteoMcp.forecastDays
7
Default forecast days (1–16)
openMeteoMcp.apiKey
—
API key for commercial use
Changes take effect after restarting the MCP server (VS Code provides a restart button automatically).