- Home
- MCP servers
- OpenWeather
OpenWeather
- typescript
0
GitHub Stars
typescript
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"projectatlantis-dev-atlantis-open-weather-mcp": {
"command": "uvx",
"args": [
"--from",
"atlantis-open-weather-mcp",
"start-weather-server",
"--api-key",
"your key here"
]
}
}
}You run the OpenWeather MCP Server to fetch current weather and forecasts from OpenWeatherMap and expose them to your MCP clients. It is designed to be started locally and connected via an MCP client, enabling you to retrieve weather data for any supported location using a simple command-line interface wrapped by your MCP setup.
How to use
Start the weather service using the provided runtime command, then query weather data through your MCP client. You will supply a location to get current conditions or a forecast, and you can optionally provide an API key or rely on an environment variable if you choose not to pass it directly.
How to install
Prerequisites: you need Node.js installed on your system so you can run the MCP runtime command. Ensure you have internet access to fetch dependencies if you are setting up a fresh environment.
Step 1: Create the MCP configuration for the weather server using the runtime command provided below. This config tells your MCP client how to launch the weather server locally.
{
"mcpServers": {
"openweather": {
"command": "uvx",
"args": [
"--from",
"atlantis-open-weather-mcp",
"start-weather-server",
"--api-key",
"your key here"
]
}
}
}
Additional notes
If you already have an API key from OpenWeatherMap, include it in the config above where shown. If you prefer not to specify the key directly, you can later supply it via an environment variable in your runtime environment, depending on how your MCP setup reads variables.
Available tools
get_weather
Fetches current weather and a forecast for a specified location using the OpenWeatherMap API.
get_current_weather
Fetches current weather for a specific location using the OpenWeatherMap API.