A simple MCP service that provides current weather and 5-day forecast using the free OpenWeatherMap API.
5.0K
1 Tool
Version 4.43 or later needs to be installed to add the server automatically
About
A simple MCP service that provides current weather and 5-day forecast using the free OpenWeatherMap API. .
Attribute | Details |
---|---|
Docker Image | mcp/openweather |
Author | mschneider82 |
Repository | https://github.com/mschneider82/mcp-openweather |
Dockerfile | https://github.com/mschneider82/mcp-openweather/blob/main/Dockerfile |
Docker Image built by | Docker Inc. |
Docker Scout Health Score | |
Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/openweather --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
Licence | MIT License |
Tools provided by this Server | Short Description |
---|---|
weather | Retrieves current and forecast weather information for a given location. |
weather
Retrieves current and forecast weather information for a given location.
Parameters | Type | Description |
---|---|---|
city | string | The name of the city to get weather for. |
Must be in English. | ||
Example: For Saint Petersburg, use "Saint Petersburg", not "Санкт-Петербург". | ||
lang | string optional | The language for the weather description text. Use standard two-letter language codes (e.g., "en", "es", "zh_CN"). Default: "en". |
units | string optional | The unit for temperature. Use "c" for Celsius, "f" for Fahrenheit, or "k" for Kelvin. Default: "c". |
This tool may perform destructive updates.
This tool interacts with external entities.
{
"mcpServers": {
"openweather": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"OWM_API_KEY",
"mcp/openweather"
],
"env": {
"OWM_API_KEY": "<OWM_API_KEY>"
}
}
}
}
Manual installation
You can install the MCP server using:
Installation for