Skip to main content
Glama
kavingas

Weather MCP Server

by kavingas

Weather MCP Server

An example Model Context Protocol (MCP) server that exposes a get_weather tool, letting any MCP-compatible AI client fetch current temperatures by city name.

How it works

  1. Resolves the city name to coordinates via the Open-Meteo Geocoding API

  2. Fetches the current temperature from the Open-Meteo Forecast API

No API key required — both APIs are free and open.

Related MCP server: Weather MCP Server

Tool

Tool

Description

Input

get_weather

Get current temperature for a city

city (string)

Example response: San Francisco: 14.2°C

Setup

npm install

Running the server

node weather-server.js

The server communicates over stdio using the MCP protocol.

Connecting to Claude Code

The repo includes a .mcp.json file that Claude Code picks up automatically. When you open this directory in Claude Code, the weather-server MCP server is registered and the get_weather tool becomes available.

To connect manually, add the following to your MCP client config:

{
  "mcpServers": {
    "weather-server": {
      "command": "node",
      "args": ["./weather-server.js"]
    }
  }
}

Requirements

  • Node.js 18+ (native fetch required)

  • No external API keys

F
license - not found
Not graded
quality - not tested
D
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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to get current weather information for any city worldwide using the Open-Meteo API. Provides temperature and wind speed data through natural language queries.
    22
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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.
    21
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides weather information using Open-Meteo API without requiring an API key. Supports weather queries by city name or coordinates with customizable temperature units.

View all related MCP servers

Related MCP Connectors

  • Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required

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

  • OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)

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/kavingas/weather-mcp'

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