Weather MCP Server logo

Weather MCP Server

by xuezhijian

The Weather MCP Server provides weather forecasts and city information lookup. It allows LLMs to obtain weather information for the next 24 hours and supports querying city information by city name or coordinates.

View on GitHub

Last updated: N/A

What is Weather MCP Server?

The Weather MCP Server is a Model Context Protocol server that provides weather forecasts and city information. It allows Large Language Models (LLMs) to access real-time and future weather data, enhancing their ability to provide contextually relevant responses.

How to use Weather MCP Server?

The server can be installed using uv or pip. After installation, it can be configured within applications like Claude or Zed by specifying the command and arguments needed to run the server. The server exposes the get_24h_weather tool, which accepts a location (city name or coordinates) as input and returns a 24-hour weather forecast.

Key features of Weather MCP Server

  • Provides 24-hour weather forecasts

  • Supports city information lookup by name or coordinates

  • Compatible with Model Context Protocol

  • Easy to install and configure

  • Supports multiple installation methods (uv, pip, docker)

Use cases of Weather MCP Server

  • Enhancing LLM responses with weather information

  • Providing weather forecasts in chatbot applications

  • Integrating weather data into other applications

  • Using weather data for location-based services

FAQ from Weather MCP Server

How do I install the server?

You can install the server using uv or pip. Refer to the installation instructions in the README.

How do I configure the server in Claude?

Add the server configuration to the mcpServers section in Claude's settings. Refer to the README for example configurations.

What parameters does the get_24h_weather tool require?

The get_24h_weather tool requires a location parameter, which can be a city name or coordinates.

How can I debug the server?

You can use the MCP inspector to debug the server. Refer to the debugging instructions in the README.

What license is the server released under?

The server is released under the MIT license.