MCP Weather Server
Used for dependency management and installation of the MCP weather server.
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 Weather Server what's the weather like in Paris today?"
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 Server
A simple Model Context Protocol (MCP) server that provides weather information for any location.
What is MCP?
The Model Context Protocol (MCP) is a standardized way for AI applications and agents to connect with data sources and tools. It allows AI models like Claude to interact with your local system, external services, and custom tools through a standardized interface.
Related MCP server: MCP Weather Server
Features
Get current weather information for any location
Compatible with Claude Desktop and other MCP clients
Uses the free wttr.in weather API (no API key required)
Installation
# Clone the repository
git clone <your-repo-url>
cd mcp-weather-server
# Install dependencies
npm installUsage
Running the server
node index.jsConnecting to Claude Desktop
Open Claude Desktop
Go to Settings > MCP Servers
Add a new server
Select "Custom" and enter the path to your server executable
Set the command to:
node /Users/le-yo/CascadeProjects/mcp-weather-server/index.jsSave and restart Claude Desktop
Example prompts for Claude
Once connected, you can ask Claude to use the weather tool:
"What's the current weather in New York?"
"Tell me the temperature in London right now."
"Is it raining in Tokyo?"
How it works
This server implements the Model Context Protocol to provide a tool that fetches weather data from the wttr.in API. When Claude or another MCP client connects to this server, they can use the get_weather tool to retrieve current weather conditions for any location.
Extending the server
You can extend this server by:
Adding more weather-related tools (forecast, historical data, etc.)
Implementing other MCP features like resources or prompts
Using a different weather API with more features
License
MIT
Available Tools
4 toolsgetHourlyWeatherC
Get hourly weather forecast for a location. Returns weather data hour by hour for the next 24 hours.
Inputs: location, options.
getWeatherC
Get current weather information for a location. Returns weather data including temperature, humidity, and conditions.
Inputs: location, options.
getWeatherForecastB
Get weather forecast for a location. Returns weather forecast for the next few days.
Inputs: location, options.
lookupCityB
Look up city information by name, ID, or coordinates. Returns city ID that can be used with other weather tools.
Inputs: location (required), options.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The tools have some overlap in purpose, particularly getWeather and getWeatherForecast, which could cause confusion about their distinct scopes (current vs. multi-day forecast). However, getHourlyWeather and lookupCity are clearly distinct, and descriptions help clarify the differences between the overlapping tools.
The naming follows a consistent verb_noun pattern (e.g., getHourlyWeather, getWeather, getWeatherForecast, lookupCity), with all tools using camelCase. There is a minor deviation with lookupCity not starting with 'get', but the pattern is still readable and predictable overall.
With 4 tools, the server is well-scoped for a weather domain, covering current, hourly, and forecast data, plus city lookup. Each tool earns its place without feeling excessive or insufficient for the apparent purpose.
The tool surface covers core weather operations (current, hourly, forecast) and city lookup, providing good coverage for typical agent workflows. A minor gap exists in not including historical weather data or alerts, but agents can work around this with the available tools.
Maintenance
Related MCP Connectors
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Related MCP Servers
- AlicenseBqualityBmaintenanceA Model Context Protocol server that enables AI assistants to fetch current weather, forecasts, and search for locations using WeatherAPI service through stdio communication.3MIT
- AlicenseBqualityFmaintenanceA simple Model Context Protocol server that provides real-time weather data to AI agents like GitHub Copilot, allowing users to get current weather information for any city through natural language queries.297MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides weather information using the Open-Meteo API, allowing users to get current weather for specific cities and retrieve weather data for date ranges.Apache 2.0
- AlicenseBqualityDmaintenanceA Model Context Protocol server that retrieves current weather information for any city using the OpenWeatherMap API, designed for integration with Claude Code.113 npm1MIT