Skip to main content
Glama

Weather MCP Server1

A simple Model Context Protocol (MCP) server that exposes a get_weather tool. It fetches real-time weather for any GPS coordinates using the free Open-Meteo API — no API key required.

Tool

get_weather

Fetches current temperature, feels-like temperature, humidity, and wind speed for a given location.

Inputs:

  • latitude (number) — latitude coordinate of the target location

  • longitude (number) — longitude coordinate of the target location

Related MCP server: weather-mcp-server

Setup

git clone https://github.com/tarunmalpani/mcp-weather.git
cd mcp-weather
npm install

Usage

This server communicates over stdio, so it's meant to be launched by an MCP-compatible client, not run standalone.

Claude Code

Add a .mcp.json file in your project root (replace cwd with the absolute path where you cloned this repo):

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["tsx", "server.ts"],
      "cwd": "/absolute/path/to/mcp-weather"
    }
  }
}

Claude Desktop

Add the same mcpServers block to your claude_desktop_config.json (Settings → Developer → Edit Config).

After saving the config, restart the client. The get_weather tool will be available automatically.

Development

Run the server directly (useful for testing it starts without errors):

npm start
Install Server
A
license - permissive license
A
quality
-
maintenance - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

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

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