Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Weather Forecast Server

БесплатноНе проверен

Provides current weather and multi-day forecasts for any location worldwide, integrable with MCP clients like Claude.

GitHubEmbed

Описание

Provides current weather and multi-day forecasts for any location worldwide, integrable with MCP clients like Claude.

README

MseeP.ai Security Assessment Badge

Weather Forecast MCP Server

A Model Context Protocol (MCP) server for retrieving weather information using the wttr.in service.

Overview

This MCP server provides tools for accessing current weather conditions and forecasts for locations worldwide. It can be easily integrated with MCP clients, including Claude and other LLM applications supporting the MCP protocol.

Features

  • Get current weather for any location
  • Get multi-day weather forecasts (up to 3 days)
  • Support for both Chinsee/English and other language location names
  • Easy integration with MCP client applications

Installation

From pip

You can install the MCP Weather Server using uv:

uv pip install weather-forecast-server

Or using pip:

pip install weather-forecast-server

From source

git clone https://github.com/shibing624/mcp-server-weather.git
cd weather-forecast-server
pip install -e .

Usage

Python Demo

from weather_forecast_server import get_weather
print(get_weather('baoding')) # can be "baoding" or "保定"

Running as a standalone MCP server

Run the server with the stdio transport:

uvx weather-forecast-server

or

uv run weather-forecast-server

or

python -m weather_forecast_server

Then, you can use the server with any MCP client that supports stdio transport.

Integrating with Cursor

To add the weather MCP server to Cursor, add stdio MCP with command:

uv run weather-forecast-server

Tools available

  • get_weather - Get current weather conditions for a location (up to 3 days)

Contact

  • Issues and suggestions: GitHub issues
  • Email: [email protected]
  • WeChat: Add me (WeChat ID: xuming624) with the message: "Name-Company-NLP" to join our NLP discussion group.

License

This project is licensed under The Apache License 2.0 and can be used freely for commercial purposes. Please include a link to the weather-forecast-server project and the license in your product description.

Contribute

We welcome contributions to improve this project! Before submitting a pull request, please:

  1. Add appropriate unit tests in the tests directory
  2. Run python -m pytest to ensure all tests pass
  3. Submit your PR with clear descriptions of the changes

Acknowledgements

from github.com/shibing624/weather-forecast-server

Установка Weather Forecast Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/shibing624/weather-forecast-server

FAQ

Weather Forecast Server MCP бесплатный?

Да, Weather Forecast Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Weather Forecast Server?

Нет, Weather Forecast Server работает без API-ключей и переменных окружения.

Weather Forecast Server — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Weather Forecast Server в Claude Desktop, Claude Code или Cursor?

Открой Weather Forecast Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Weather Forecast Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai