weather-mcp MCP Server

A Model Context Protocol (MCP) server for weather data using Spring AI.

Local serverstdio

What is the weather-mcp Server?

weather-mcp is an MCP project maintained in the suraj0223/weather-mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server for weather data using Spring AI”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using <ABSOLUTE_PATH_OF_REPO_ON_LOCAL_MACHINE>/weather/start-mcp-server.sh. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
getWeatherForecastByLocation(latitude: number, longitude: number)
getAlerts(state: string)

How to install the weather-mcp Server

{
  "mcpServers": {
    "weather": {
      "command": "<ABSOLUTE_PATH_OF_REPO_ON_LOCAL_MACHINE>/weather/start-mcp-server.sh"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.