Skip to main content
Glama
Leonwjj

Weather MCP Server

by Leonwjj

MCP Server Collections

A Model Context Protocol server that provides weather query capabilities using the free Open-Meteo API — no API key required.

Features

  • get_weather tool — Query current weather by city name or latitude/longitude coordinates

  • weather://current/{lat}/{lon} resource — Access weather data as a resource URI

  • Zero-config — Uses Open-Meteo's free API, no API key or account needed

Related MCP server: Weather MCP Server

Installation

git clone <repo-url> mcps
cd mcps
npm install
npm run build

Usage

Running the server

npm run dev    # Development mode (tsx, no build step)
npm start      # Production mode (requires npm run build first)

MCP Client Configuration

Add to your MCP client configuration (e.g., Claude Code's mcpServers):

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": ["/path/to/mcps/dist/weather/index.js"]
    }
  }
}

Or using the dev script:

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["tsx", "/path/to/mcps/src/weather-mcp/index.ts"]
    }
  }
}

Available Tool

get_weather

Get current weather conditions for a location.

Parameters (provide either a city name OR coordinates):

Parameter

Type

Description

location

string (optional)

City name, e.g. "Berlin", "Tokyo", "San Francisco"

latitude

number (optional)

Latitude coordinate, e.g. 52.52

longitude

number (optional)

Longitude coordinate, e.g. 13.41

Example responses:

🌤 Weather for Berlin, Germany
─────────────────────────
🌔 Temperature:    22.1°C (feels like 21.5°C)
šŸ’§ Humidity:       54%
šŸ’Ø Wind:           12.3 km/h WSW (248°)
☁ Conditions:     Partly cloudy

Available Resource

weather://current/{lat}/{lon}

Returns current weather as a JSON resource for the given coordinates.

API

This server uses Open-Meteo, a free and open-source weather API. No API key is required. The free tier allows up to 10,000 requests per day.

HOW to test

npm run inspector -- node dist/browser-console/index.js

License

ISC

F
license - not found
-
quality - not tested
B
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
    -
    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.
  • A
    license
    -
    quality
    D
    maintenance
    Enables LLMs to retrieve 24-hour weather forecasts and city information through natural language queries using city names or coordinates.
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides live weather data (current conditions, forecasts) and city geocoding through Open-Meteo API, enabling AI assistants to answer weather queries without an API key.
    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.

  • US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.

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/Leonwjj/mcps'

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