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 current temperature in London?"
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 standard Model Context Protocol (MCP) server that provides real-time weather forecasts based on city names using the Open-Meteo API.
Features
Geocoding: Automatically converts city names to geographic coordinates (latitude & longitude)
Real-time Weather: Retrieves current temperature, wind speed, and weather codes
MCP Integration: Fully compatible with MCP clients like Claude Desktop
Zero API Keys: Uses the free, open-source Open-Meteo API—no registration required!
Related MCP server: MCP Weather Server
Prerequisites
Node.js >= 18.x
npm or yarn
Installation
Clone the repository:
git clone https://github.com/Yaseen-md/weather-mcp-server.git
cd weather-mcp-serverInstall dependencies:
npm installBuild the server:
npm run buildDevelopment
Run the server directly without building:
npm run devIntegrating with Claude Desktop
To use this weather server with Claude Desktop, you need to configure your claude_desktop_config.json file.
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"weather": {
"command": "node",
"args": [
"C:/path/to/your/weather-mcp-server/build/index.js"
]
}
}
}(Make sure to replace the path with the actual absolute path to your built index.js file.)
Tools Available
get_weather
Fetches the current weather for a specified city.
Input parameters:
city(string): The name of the city (e.g., "Delhi", "Tokyo", "London", "San Francisco")
Returns: Temperature in Celsius, wind speed, and weather code.
License
This project is licensed under the MIT License.
Available Tools
1 toolget_weatherA
Get current weather for a given city
Inputs: city (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The tool's purpose is clear and distinct by default.
The tool name follows a consistent verb_noun pattern (get_weather). With a single tool, there are no naming inconsistencies to evaluate.
One tool feels thin for a weather server, which typically offers multiple data types like forecasts and alerts. However, it is borderline given the narrow 'current weather' scope.
The server only covers current conditions, missing obvious weather domain features such as forecasts, historical data, or alerts. This significantly limits its usefulness for common weather queries.
Maintenance
Related MCP Connectors
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Weather forecast for any city, UV index, sunrise and sunset, pollen and air quality. Free, no key.
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 AI agents like GitHub Copilot to retrieve real-time weather data for any city using the Open-Meteo API, no API key required.9ISC
- AlicenseNot gradedqualityDmaintenanceProvides real-time and historical weather data for any city worldwide, including forecasts, air quality, and marine conditions, using the free Open-Meteo API.13 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables querying current weather, 7-day forecast, UV index, and air quality for any city using the free Open-Meteo API, without requiring an API key.28 npm-