Connect Openweathermap to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.
What you can do with the Openweathermap MCP server
Ask your agent in plain language. Each of these maps to a real tool on the server.
Use the get weather map tile tool in Openweathermap
Use the get historical weather tool in Openweathermap
Use the get current weather tool in Openweathermap
Use the get comprehensive weather tool in Openweathermap
Use the get air quality tool in Openweathermap
Use the get weather forecast tool in Openweathermap
Supported Tools
get_weather_map_tile
Get Weather Map Tile
Get a downloadable OpenWeatherMap weather map tile. Supports the five Weather Maps 1.0 layers: temperature, precipitation, clouds, pressure, and wind. Tiles follow the standard slippy map tile format (z/x/y) for integration with mapping libraries like Leaflet or OpenLayers.
get_historical_weather
Get Historical Weather
Retrieve historical weather data for a specific location and date. Supports two modes: **timemachine** returns data for one specific Unix timestamp, and **day summary** returns aggregated data for a specific calendar date. Timestamp data starts on January 1, 1979; daily summaries start on January 2, 1979. Requires One Call API 3.0 subscription.
get_current_weather
Get Current Weather
Retrieve real-time weather conditions for a specific location. Returns temperature, humidity, pressure, wind, visibility, cloud coverage, and weather descriptions. Useful for checking live weather at any coordinates on Earth.
get_one_call_weather
Get Comprehensive Weather
Retrieve comprehensive weather data for a location using the One Call API 3.0: current conditions, minute-by-minute precipitation for 1 hour, hourly forecast for 48 hours, daily forecast for 8 days, and government weather alerts — all in one call. Requires a One Call API 3.0 subscription (includes 1,000 free calls/day).
get_air_quality
Get Air Quality
Retrieve air pollution data for a location, including the Air Quality Index (AQI) and concentrations of polluting gases (CO, NO, NO2, O3, SO2, NH3, PM2.5, PM10). Supports current conditions, 4-day hourly forecast, and historical data from November 27, 2020.
get_forecast
Get Weather Forecast
Retrieve a 5-day weather forecast with 3-hour intervals for a location. Returns up to 40 forecast data points with temperature, humidity, wind, precipitation probability, and weather conditions. Available on free plans.
geocode_location
Geocode Location
Convert between location names and geographic coordinates. Supports **direct geocoding** (name/zip to coordinates) and **reverse geocoding** (coordinates to name). Use this to resolve human-readable location names into lat/lon pairs for other weather API calls, or to identify a location from coordinates.
get_weather_overview
Get Weather Overview
Get a human-readable weather summary for a location, generated using OpenWeather's AI technologies. Returns a concise natural-language description of current and upcoming weather conditions. Requires One Call API 3.0 subscription.
Enable Openweathermap in Metorial. In your Metorial portal, enable the Openweathermap MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
Sign in. Select Add and sign in to load Openweathermap tools.
Enable Openweathermap in Metorial. In your Metorial portal, enable the Openweathermap MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add a custom MCP server. On ChatGPT web, open Plugins, select +, then Add custom MCP server.
Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>), choose OAuth and accept the risk notice.
Create and install the plugin. Select Create as a plugin, install it and sign in to load Openweathermap tools.
Enable Openweathermap in Metorial. In your Metorial portal, enable the Openweathermap MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add Metorial to your MCP config. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
Sign in. Open Customize in the sidebar, find Metorial and sign in to load Openweathermap tools.
{
"mcpServers":{
"metorial":{
"url":"<your-magic-mcp-url>"
}
}
}
Enable Openweathermap in Metorial. In your Metorial portal, enable the Openweathermap MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server over HTTP. Add --scope user to use it in every project.
Sign in. Run /mcp, select Metorial and sign in to load Openweathermap tools.
claude mcp add --transport http metorial <your-magic-mcp-url>
Enable Openweathermap in Metorial. In your Metorial portal, enable the Openweathermap MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
Add the server and sign in. The Codex CLI, IDE extension and ChatGPT desktop app share this config.
Check the connection. Type /mcp in Codex to see Metorial and its Openweathermap tools.
codex mcp add metorial --url <your-magic-mcp-url>
codex mcp login metorial
Run Openweathermap through the Metorial gateway
One governed layer for every app your agents reach, not a separate connector per tool.
Give Openweathermap and every other app to your whole team through one MCP gateway, behind your SSO.
Scope which teams and agents can use Openweathermap tools with role-based access control, and trace every call.
Prefer to run it yourself? Metorial is open source and self-hostable.
Retrieve current weather, five-day forecasts, One Call forecasts and alerts, historical weather, air quality, geocoding results, and downloadable weather map tiles for locations worldwide. Configure temperature units and weather-description language. Some products require a separate OpenWeather subscription.
Frequently asked questions
Common questions about connecting Openweathermap to AI agents with Metorial.
How many tools does the Openweathermap MCP server have?
The Openweathermap MCP server exposes 8 tools, including Get Weather Map Tile, Get Historical Weather, Get Current Weather. Each one is governed and traced through Metorial.
Does the Openweathermap MCP server support triggers?
Openweathermap exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
Which AI clients can use the Openweathermap MCP server?
Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Openweathermap MCP server through the same Metorial URL.
How do I give only some teams access to Openweathermap?
Use role-based access control to decide which teams, users, and agents can use Openweathermap and which of its tools they can call.
Can I self-host the Openweathermap MCP server?
Yes. Metorial is open source, so you can run the Openweathermap MCP server yourself or use the hosted gateway.
Connect Openweathermap to production AI agents
See how Metorial gives your team governed access to Openweathermap, with tracing and security controls built in.