Weather MCP 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., "@Weather MCP Server what's the weather like in Tokyo right now?"
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.
Weather MCP Server
A Model Context Protocol (MCP) server that provides weather information and system notifications. This server allows Claude (any other MCP client) to fetch current weather data for any city and send native system notifications (for MacOS only) with the weather information.
Features
Get Weather: Fetch current weather conditions for any city worldwide
Send Notifications: Display weather information as native system notifications
Human-readable: Formats weather data in pleasant, conversational language
Related MCP server: Weather Agent MCP Server
Installation
Prerequisites
Node.js (version 16 or higher)
npm or yarn package manager
Setup
Clone or download the project files
git clone <your-repository-url> cd weather-mcpInstall dependencies
npm installTest the server
npm start
Adding to Claude Desktop
To use this MCP server with Claude Desktop, you need to add it to Claude's configuration:
1. Locate Claude's Configuration File
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json2. Add the Weather MCP Server
Edit the configuration file and add your weather MCP server to the mcpServers section:
{
"mcpServers": {
"weather": {
"command": "node",
"args": ["/path/to/your/weather-mcp/index.js"],
"env": {
"OPENWEATHER_API_KEY": "your_api_key_here"
}
}
}
}Important: Replace /path/to/your/weather-mcp/index.js with the actual absolute path to your project's index.js file.
3. Restart Claude Desktop
After updating the configuration file, restart Claude Desktop for the changes to take effect.
Usage
Once installed and configured, you can use the following commands with Claude:
Get Weather Information
"What's the weather in London?"
"Get the current weather for Tokyo"
"Tell me about the weather conditions in Paris"Send Weather Notifications
"Get the weather for Berlin and send it as a notification"
"Send me weather notifications for New York, London, and Tokyo"
"Check the weather in Miami and notify me with pleasant text"Available Functions
weather:get_weather
Fetches current weather conditions for a specified city.
Parameters:
city(string): Name of the city to get weather for
Returns:
Temperature (°C)
Weather condition
Humidity (%)
Wind speed (m/s)
Atmospheric pressure (hPa)
weather:send_notification
Displays a system notification with custom title and message.
Parameters:
title(string): Notification titlemessage(string): Notification message content
Troubleshooting
Common Issues
"Command not found" error
Ensure Node.js is installed and in your PATH
Verify the path to index.js is correct in the configuration
Weather data not loading
Check that your OpenWeatherMap API key is valid
Ensure the API key is properly set in the environment variables
Claude not recognizing the MCP server
Restart Claude Desktop after configuration changes
Check the JSON syntax in claude_desktop_config.json
Verify file permissions on the MCP server files
Debug Mode
To run the server in debug mode with verbose logging:
DEBUG=* npm startAPI Rate Limits
The free OpenWeatherMap API tier includes:
1,000 calls per day
60 calls per minute
For higher usage, consider upgrading to a paid plan.
License
This project is open source and available under the MIT License.
Support
For issues related to:
MCP Protocol: Check the MCP documentation
OpenWeatherMap API: Visit OpenWeatherMap support
Claude Desktop: Contact Anthropic support
Happy weather checking! 🌤️
Available Tools
2 toolsget_weatherC
Get current weather for a city
Inputs: city (required).
send_notificationB
Send a macOS notification with provided weather data
Inputs: title (required), message (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: get_weather retrieves weather data, while send_notification handles macOS notifications. There is no overlap in functionality, making it easy for an agent to choose the right tool for each task.
Both tools follow a consistent verb_noun naming pattern (get_weather and send_notification). The verbs are descriptive and appropriate for their actions, and there are no deviations in style or convention.
With only two tools, the server feels thin for a weather domain. It lacks essential operations like forecasting, historical data, or multi-location queries, which are typical for weather services. The scope is too limited for practical agent use.
The tool surface is severely incomplete for a weather server. It only provides current weather retrieval and notification sending, missing core features like forecasts, alerts, or location-based searches. This will likely cause agent failures when handling common weather-related requests.
Maintenance
Related MCP Connectors
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Provide real-time and forecast weather information for locations in the United States using natura…
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Current weather and forecasts for any coordinates, backed b… — paid per call (x402/credits), 1 tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.ISC
- AlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city using the OpenWeatherMap API. Returns formatted weather data including temperature, humidity, and weather description through natural language queries.MIT
- AlicenseBqualityDmaintenanceEnables users to retrieve current weather information for any city location. Provides a simple interface to fetch weather data through natural language queries.1ISC
- AlicenseNot gradedqualityDmaintenanceProvides current weather information for any city worldwide using the free Open-Meteo API, enabling users to query temperature, wind speed, humidity, and weather conditions through natural language.MIT