mcp-weather
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-weatherwhat's the weather in Tokyo?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-weather
A minimal MCP (Model Context Protocol) server exposing weather tools, backed by the free Open-Meteo API. Built as a practice project for MCP + Claude Code.
Tools
get_current_weather({ city })— current temperature, windspeed, and conditions for a city.get_forecast({ city, days? })— daily max/min temperature and conditions fordaysdays (1-7, default 3).
No API key is required.
Related MCP server: Simple Weather MCP
Setup
npm install
npm run buildTest
Runs the unit tests for the pure formatting/mapping logic in src/weatherFormat.ts:
npm testDebug with MCP Inspector
Launches an interactive web UI to call tools directly, without Claude Code:
npm run inspectorUse with Claude Code
This project's .mcp.json registers the server as weather, running node dist/index.js over stdio. Open this project in Claude Code (or restart it here), confirm weather shows as connected (/mcp), and ask a weather-related question — Claude Code will invoke the tools as needed.
Project layout
src/weatherFormat.ts— pure formatting/mapping logic (weather codes, day clamping, text formatting), unit tested.src/openMeteo.ts— thinfetchwrappers around Open-Meteo's geocoding and forecast APIs.src/index.ts— MCP server entrypoint: registersget_current_weatherandget_forecast, connects over stdio.
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
Open-Meteo tabanlı anahtarsız hava durumu tahmin MCP sunucusu.
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides real-time weather data, hourly forecasts, and daily summaries using the free Open-Meteo API with no API key required. It enables users to search for weather conditions by specific coordinates or city names across multiple measurement units.2MIT
- AlicenseNot gradedqualityDmaintenanceA cross-platform MCP server that provides weather forecasts by coordinates, location name, or IP address without requiring API keys. It leverages Open Meteo and OpenStreetMap to deliver fast, single-query weather lookups.MIT
- AlicenseAqualityAmaintenanceA lightweight MCP server for Open-Meteo weather API, providing current weather, forecasts, location search, and more without requiring an API key.610 npmMIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that wraps the Open-Meteo API to provide current weather, forecasts, and historical data for any location without requiring an API key.MIT