Skip to main content
Glama
Yaseen-md

Weather MCP Server

by Yaseen-md

Weather MCP Server

CI License: MIT

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: Weather MCP Server

Prerequisites

  • Node.js >= 18.x

  • npm or yarn

Installation

  1. Clone the repository:

git clone https://github.com/Yaseen-md/weather-mcp-server.git
cd weather-mcp-server
  1. Install dependencies:

npm install
  1. Build the server:

npm run build

Development

Run the server directly without building:

npm run dev

Integrating 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.

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
  • F
    license
    B
    quality
    D
    maintenance
    Enables real-time weather information and forecasts using the Open-Meteo API. Provides current weather conditions and forecast data for any location specified by latitude and longitude coordinates.
    1
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time and historical weather data for any city worldwide, including forecasts, air quality, and marine conditions, using the free Open-Meteo API.
    21
    MIT

View all related MCP servers

Related MCP Connectors

  • Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

  • Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yaseen-md/weather-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server