Weather MCP Server

by ropon

Not rated
GitHub

About

Query 24-hour weather forecasts and city information by city name or coordinates.

Details

Author
ropon
Categories
Search, Other, API

Setup

Install Weather MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/ropon/mcp_weather

Follow the installation instructions in the repository README, then restart your MCP client.

一个提供天气预报和城市信息查询功能的Model Context Protocol服务器。该服务器允许LLMs获取未来24小时的天气信息,并支持通过城市名称、经纬度等方式查询城市信息。

- get_24h_weather- 获取未来24小时的天气预报。

- 必需参数:

- location(string): 城市名称或经纬度(例如,北京或116.41,39.92)

使用uv时无需特定安装。我们将使用uvx直接运行mcp-server-weather

"mcpServers": { "weather": { "command": "uvx", "args": ["mcp-server-weather"] } }
"mcpServers": { "weather": { "command": "docker", "args": ["run", "-i", "--rm", "mcp/weather"] } }
"mcpServers": { "weather": { "command": "python", "args": ["-m", "mcp_server_weather"] } }
"context_servers": [ "mcp-server-weather": { "command": "uvx", "args": ["mcp-server-weather"] } ],
"context_servers": { "mcp-server-weather": { "command": "python", "args": ["-m", "mcp_server_weather"] } },
{ "name": "get_24h_weather", "arguments": { "location": "广州 天河" } }
{ "location": "广州 天河", "forecast": "未来24小时的天气信息..." }
npx @modelcontextprotocol/inspector uvx mcp-server-weather
cd path/to/servers/src/weather npx @modelcontextprotocol/inspector uv run mcp-server-weather

我们鼓励对mcp-server-weather的贡献,以帮助扩展和改进其功能。无论是添加新的天气相关工具、增强现有功能,还是改进文档,你的输入都很有价值。

有关其他MCP服务器和实现模式的示例,请参见:https://github.com/modelcontextprotocol/servers

欢迎提交拉取请求!随时贡献新想法、错误修复或增强功能,以使mcp-server-weather更加强大和实用。

mcp-server-weather根据MIT许可证授权。这意味着你可以自由使用、修改和分发软件,但需遵守MIT许可证的条款和条件。有关详细信息,请参阅项目存储库中的LICENSE文件。

Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.

Provides real-time weather forecasts and alerts using the National Weather Service API.

Integrates the Korea Meteorological Administration's public weather API to provide climate data.

Fetches precipitation forecast data for a specific location using the Buienradar service.

GribStream MCP is a hosted Model Context Protocol server for weather forecast data. It helps AI agents discover GribStream datasets, resolve exact forecast variables and levels, validate request bodies, and build runnable GribStream Weather API requests for GFS, ECMWF IFS, NBM, HRRR, and other models.

Access meteorological data for Portugal from the IPMA public API using natural language.

62 real-time data tools for AI agents via MCP. Finance, crypto, FMCSA, sanctions, courts, weather, vehicles, cybersecurity. One bearer token, one bill. Free tier available.

Provides accurate Islamic prayer times for locations throughout Malaysia using the waktusolat.app API.

The Meteomatics MCP server allows AI agents to securely access Meteomatics weather data tools.

Access global weather data and forecasts using the OpenMeteo API, including current conditions, historical data, and location search.

A production-clean MCP server for the free Open-Meteo weather API (geocoding, forecast, air quality) with SRE-grade rate limiting, backoff, and structured logging.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.