- Home
- MCP servers
- Weather
Weather
- other
0
GitHub Stars
other
Language
4 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": {
"ropon-mcp_weather": {
"command": "uvx",
"args": [
"mcp-server-weather"
],
"env": {
"YOUR_TOKEN": "<YOUR_TOKEN>"
}
}
}
}The Weather MCP Server provides a weather forecast service and city information lookup via a Model Context Protocol server. It lets language models obtain the next 24 hours of weather data and query city information by name or coordinates, enabling rich, real-time weather-aware interactions.
How to use
You connect to the Weather MCP Server through an MCP client and call the available tool to fetch the next 24 hours of weather for a given location. The primary tool is get_24h_weather, which accepts a location as input. Use it to answer user questions about upcoming conditions for specified cities or coordinates, and to retrieve city details when needed.
How to install
Prerequisites: Python (for running the server directly), or an MCP runner that supports stdio connections such as uvx, or Docker for containerized execution.
Option 1: Run with uvx (recommended)
Install and run methods
If you prefer to run the MCP server locally without containers, you can use one of these commands directly.
{
"mcpServers": {
"weather": {
"command": "uvx",
"args": ["mcp-server-weather"]
}
}
}
Docker-based run
You can run the Weather MCP Server in Docker using the following configuration.
{
"mcpServers": {
"weather": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/weather"]
}
}
}
Available tools
get_24h_weather
Fetches the weather forecast for the next 24 hours for a given location, accepting city name or coordinates as input.