How to integrate OpenWeatherMap using MCP
Real-time and forecast weather data. This guide creates an MCP server from Arthur's OpenWeatherMap template — tools preconfigured against https://api.openweathermap.org/data/2.5 — and finishes by sharing the server's MCP swagger documentation.
Steps
Open the Secrets vault and create a secret named
OPENWEATHERMAP_API_KEYholding your API key. Sign up for a free API key at openweathermap.org.


Go to the REST API Templates gallery and search for OpenWeatherMap.


Click Use template on the OpenWeatherMap card to open the server-creation dialog.


Review the server name and select
OPENWEATHERMAP_API_KEYin the credential field — the dialog only accepts vault secrets, and it lists every tool that will be created.


Click Create server. Arthur creates the server, applies the authentication, and generates all the tools.





Open the server's Tools tab to review the generated tools.

Open the server's Connect section and click Share the MCP swagger documentation — Arthur generates the public documentation link and QR code for this server.



Confirm it worked
The server appears with 3 preconfigured tool(s): get_current_weather, get_forecast, get_weather_by_coords. The Connect section offers the MCP swagger documentation — a shareable page with setup instructions for any AI client.
Good to know
- Get current weather, hourly and 5-day forecasts for any city in the world. Requires a free API key.
- This integration requires a credential (api-key). Get one at https://home.openweathermap.org/users/sign_up.
- Official API documentation: https://openweathermap.org/api
- Editing a tool later never changes the template — templates are starting points, and the server is fully yours after creation.
Related
Tutorial video