weatherport
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
weatherport
weatherport brings OpenWeather to the terminal and to MCP clients. It answers the questions people actually ask of that service: what is it like in a city right now, what is coming over the next five days in three-hour steps, what does the fuller One Call 3.0 view say for a precise point on the map, how clean is the air there, and where exactly is a place name? One binary serves both a command-line interface and a stdio MCP server.
An OpenWeather API key is required for every call. Put it in the
OPENWEATHER_API_KEY environment variable; weatherport sends it
to https://api.openweathermap.org as the appid query
parameter and never prints it. When the variable is missing or
blank, calls fail with an error that names it, before any request
is made. Note that One Call 3.0 needs a separate upstream
subscription in reality, even though it uses the same key.
Units are optional everywhere they apply: standard, metric,
or imperial. Anything else is rejected before a request.
Install
npx @reneturcios/weatherport current Paris --units metricOr run the container image:
docker run -i -e OPENWEATHER_API_KEY ghcr.io/cloudcorprecords/weatherportThe container defaults to the MCP server. Pass CLI arguments to use it as a CLI instead.
Related MCP server: mcp-weather-server
CLI
export OPENWEATHER_API_KEY=<your key>
weatherport current Paris --units metric
weatherport forecast Berlin --units imperial --count 5
weatherport onecall 51.5 -0.12 --units metric
weatherport pollution 51.5 -0.12
weatherport geocode Paris --limit 3
weatherport --versionEach command prints the upstream JSON payload. Exit codes: 0
on success, 1 when a call fails (including a missing
OPENWEATHER_API_KEY or an API error), 2 for usage errors.
MCP server
npx -y @reneturcios/weatherport mcpMCP client configuration:
{
"mcpServers": {
"weatherport": {
"command": "npx",
"args": ["-y", "@reneturcios/weatherport", "mcp"],
"env": { "OPENWEATHER_API_KEY": "..." }
}
}
}Tools
Tool | Input | What it returns |
|
| Current weather for a city. |
|
| 5-day forecast in 3-hour steps. |
|
| One Call 3.0 current, hourly, and daily summaries. |
|
| Current AQI and pollutant components. |
|
| Coordinate matches for a place name. |
Latitude must be in [-90, 90] and longitude in [-180, 180];
out-of-range values are rejected before any request. HTTP
failures surface the status plus OpenWeather's message field
when the upstream JSON provides one.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev # run the CLI from source via tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
NOAA and ECMWF weather forecast MCP for discovery, validation, and GribStream OAuth queries.
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceWraps the OpenWeatherMap API to provide weather data through MCP, enabling AI agents to query current conditions, forecasts, and other weather information via natural language.20 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables MCP clients like Kiro and Claude to access current weather conditions and forecasts for any location using the OpenWeatherMap API.-
- AlicenseNot gradedqualityDmaintenanceIntegrates OpenWeatherMap API with MCP to provide weather data, forecasts, air quality, maps, alerts, and geocoding via natural language.33 npmMIT
- AlicenseAqualityBmaintenanceEnables MCP clients to search for locations, fetch weather forecasts, and retrieve forecast meteogram images through the meteoblue Weather API.311 npm1MIT